| Samsung Internal API reference 2.0

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

- File List
- Globals

udf.h
Go to the documentation of this file.
1
9 #pragma once
10
11 #include <driver.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
26 DSO_EXPORT int TEES_UDF_InitDriver(char *name,
27 struct fops *fops,
28 unsigned int drvid,
29 struct usr_drv_info **info);
39 DSO_EXPORT int TEES_UDF_Init_FS_Driver(char *name,
40 struct fops *fops,
41 unsigned int drvid,
42 struct usr_drv_info **info);
43
50 DSO_EXPORT int TEES_UDF_FiniDriver(struct usr_drv_info *info);
51
95 DSO_EXPORT int TEES_UDF_RegisterIoctlDesc(struct usr_drv_info *info,
96 unsigned int cmd,
97 const struct ioctl_desc *desc);
98
99 #ifdef __cplusplus
100 }
101 #endif
102
TEES_UDF_InitDriver
int TEES_UDF_InitDriver(char *name, struct fops *fops, unsigned int drvid, struct usr_drv_info **info)
This function is used to initialize and register UDF driver.
driver.h
User-space driver API declarations.
fops
Structure that contains file operations callbacks supported by the driver. If user wants the driver t...
Definition: fops.h:64
usr_drv_info
Structure that contains information describing the driver.
Definition: fops.h:90
TEES_UDF_Init_FS_Driver
int TEES_UDF_Init_FS_Driver(char *name, struct fops *fops, unsigned int drvid, struct usr_drv_info **info)
This function is used to initialize and register UDF FS driver.
TEES_UDF_RegisterIoctlDesc
int TEES_UDF_RegisterIoctlDesc(struct usr_drv_info *info, unsigned int cmd, const struct ioctl_desc *desc)
Register an ioctl() cmd for UDF driver.
ioctl_desc
Structure that template for ioctl() parameters parsing.
Definition: tbt.h:75
TEES_UDF_FiniDriver
int TEES_UDF_FiniDriver(struct usr_drv_info *info)
This function is used to de-initialize and stop UDF driver.