|
| void | osal_pm_lowpower_enter (void) |
| | Invoke the low-power callback function of all devices.
|
| |
| void | osal_pm_lowpower_exit (void) |
| | Invoke the low-power-exit callback function of all devices.
|
| |
| osal_dev * | osal_dev_create (const char *name) |
| | Returns a pointer of the osal_dev type for which memory is applied.
|
| |
| int | osal_dev_destroy (osal_dev *dev) |
| | Free the dev's memory.
|
| |
| int | osal_dev_register (osal_dev *dev) |
| | register device.
|
| |
| void | osal_dev_unregister (osal_dev *dev) |
| | unregister device.
|
| |
| void | osal_device_set_async (unsigned int minor) |
| | Set the device to wake up asynchronously.
|
| |
| void | osal_poll_wait (osal_poll *table, osal_wait *wait) |
| | Adds the current process to the wait list specified by the wait parameter.
|
| |
| void | osal_notify_poll (osal_wait *wait) |
| | Wakes up the current process from the wait list specified by the wait parameter.
|
| |
| int | osal_remap_pfn_range (osal_vm *vm, unsigned long addr, unsigned long pfn, unsigned long size) |
| | remap kernel memory to userspace.
|
| |
| int | osal_try_to_freeze (void) |
| | try to freeze the current task.
|
| |
| int | osal_set_freezable (void) |
| | make current task freezable and try to freeze the current task.
|
| |
| int | osal_kobject_uevent_env (osal_dev *dev, osal_kobject_action action, char *envp[]) |
| | send an uevent with environmental data.
|
| |
| int | osal_fasync_helper (int fd, void *filp, int mode, void **fapp) |
| | Setting up the character device driver's fasync queue.
|
| |
| void | osal_fasync_notify (void **fapp, int sig, int band) |
| | Send asynchronous notifications.
|
| |
| void | osal_pgprot_noncached (osal_vm *vm) |
| | get nocached prot_page.
|
| |
| void | osal_pgprot_cached (osal_vm *vm) |
| | get cached prot_page.
|
| |
| void | osal_pgprot_writecombine (osal_vm *vm) |
| | get writecombine prot_page.
|
| |
| void | osal_smccc_smc (const osal_smccc_info *info, osal_smccc_res *res) |
| | make SMC calls.
|
| |
| int | osal_opendev (const char *path, int flag,...) |
| | open_device.
|
| |
| int | osal_closedev (int fd) |
| | close device.
|
| |
| int | osal_readdev (int fd, void *buf, unsigned long count) |
| | read device.
|
| |
| int | osal_writedev (int fd, const void *buf, unsigned long count) |
| | write device.
|
| |
| int | osal_ioctldev (int fd, unsigned int cmd,...) |
| | Perform other operations on the device.
|
| |
| int | osal_init (void) |
| | osal linux userspace init.
|
| |
| void | osal_exit (void) |
| | osal linux userspace exit.
|
| |