Home
last modified time | relevance | path

Searched refs:OsalCdev (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_cdev.c41 struct OsalCdev { struct
51 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevOpen() argument
61 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevRelease()
71 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevRead()
81 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevWrite()
91 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevSeek()
101 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevIoctl()
111 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevPoll()
128 struct OsalCdev *cdev = OsalMemCalloc(sizeof(struct OsalCdev)); in OsalAllocCdev()
164 void OsalFreeCdev(struct OsalCdev *cdev) in OsalFreeCdev()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_cdev.c36 struct OsalCdev { struct
158 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevSeek()
164 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevRead()
170 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevWrite()
176 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevPoll()
182 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevIoctl()
188 struct OsalCdev* dev = container_of(inode->i_cdev, struct OsalCdev, cdev); in OsalCdevOpen()
194 struct OsalCdev* dev = container_of(inode->i_cdev, struct OsalCdev, cdev); in OsalCdevRelease()
214 struct OsalCdev* cdev = OsalMemCalloc(sizeof(struct OsalCdev)); in OsalAllocCdev()
253 void OsalFreeCdev(struct OsalCdev* cdev) in OsalFreeCdev()
[all …]
/ohos5.0/drivers/hdf_core/framework/include/osal/
H A Dosal_cdev.h22 struct OsalCdev;
31 int (*open)(struct OsalCdev *cdev, struct file *filep);
32 int (*release)(struct OsalCdev *cdev, struct file *filep);
35 struct OsalCdev *OsalAllocCdev(const struct OsalCdevOps *fops);
36 int OsalRegisterCdev(struct OsalCdev *cdev, const char *name, unsigned int mode, void *priv);
37 void OsalUnregisterCdev(struct OsalCdev *cdev);
38 void OsalFreeCdev(struct OsalCdev *cdev);
40 void *OsalGetCdevPriv(struct OsalCdev *cdev);
/ohos5.0/drivers/hdf_core/framework/core/adapter/vnode/include/
H A Dhdf_vnode_adapter.h16 struct OsalCdev;
23 struct OsalCdev *cdev;
/ohos5.0/drivers/hdf_core/framework/core/adapter/vnode/src/
H A Dhdf_vnode_adapter.c648 int HdfVNodeAdapterOpen(struct OsalCdev *cdev, struct file *filep) in HdfVNodeAdapterOpen()
700 static int HdfVNodeAdapterClose(struct OsalCdev *cdev, struct file *filep) in HdfVNodeAdapterClose()