![]() |
Samsung Internal API reference
2.0
|
User-space driver API declarations. More...
Go to the source code of this file.
Data Structures | |
| struct | fops |
| Structure that contains file operations callbacks supported by the driver. If user wants the driver to carry out some additional action, then handlers should be assigned to the appropariate callbacks. More... | |
| struct | usr_drv_info |
| Structure that contains information describing the driver. More... | |
Functions | |
| int | TEES_InitDriver (char *name, struct fops *fops, unsigned int drvid, struct usr_drv_info **info) |
Register user driver within namespace system under name, using mask of file operations fops and drvid of served asset. More... | |
| int | TEES_FiniDriver (struct usr_drv_info *info) |
| Allow to release driver that was registered by using struct usr_drv_info. More... | |
| int | TEES_RegisterDriver (char *name, struct fops *fops, unsigned int drvid, struct usr_drv_info **info) _deprecated_ |
Register user driver within namespace system under name, using mask of file operations fops and drvid of served asset. More... | |
| int | TEES_ReleaseDriver (struct usr_drv_info **info) _deprecated_ |
| Allow to release driver that was registered by using struct usr_drv_info. More... | |
| int | TEES_CompleteRequest (struct drv_info *filp, long ret) |
| Complete deferred request(read, write, etc.) to driver. More... | |
| void * | TEES_AcquireUserBuffer (struct drv_info *filp, uint64_t addr, const size_t size, int prot) |
| Get shared mapped area to use as buffer. More... | |
| int | TEES_ReleaseUserBuffer (const void *addr, const size_t size) |
| Deletes the shared mapped area for the specified address range. More... | |
User-space driver API declarations.