| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Functions
driver.h File Reference

User-space driver API declarations. More...

Go to the source code of this file.

## Functions
int | TEES_InitDriver (char *name, struct fops *fops, unsigned int drvid, struct usr_drv_info **info)
| Register user driver in /dev/ directory under `name`, using mask of file operations `fops` and `drvid` of served asset. More...
int | TEES_RegisterIoctlDesc (struct usr_drv_info *info, unsigned int cmd, struct ioctl_desc *desc)
| Register an ioctl() cmd for driver. 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 in /dev/ directory 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. this API can not be used in read()/write() cmd for driver. More...
int | TEES_ReleaseUserBuffer (const void *addr, const size_t size)
| Deletes the shared mapped area for the specified address range. More...

## Detailed Description

User-space driver API declarations.

Copyright
  (C) 2012-2019, Samsung Electronics Co., Ltd.