Samsung Internal API reference  2.0
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 
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.
User-space driver API declarations.
Structure that contains file operations callbacks supported by the driver. If user wants the driver t...
Definition: fops.h:64
Structure that contains information describing the driver.
Definition: fops.h:90
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.
int TEES_UDF_RegisterIoctlDesc(struct usr_drv_info *info, unsigned int cmd, const struct ioctl_desc *desc)
Register an ioctl() cmd for UDF driver.
Structure that template for ioctl() parameters parsing.
Definition: tbt.h:75
int TEES_UDF_FiniDriver(struct usr_drv_info *info)
This function is used to de-initialize and stop UDF driver.