Home
last modified time | relevance | path

Searched refs:fops (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_cdev.c42 struct file_operations_vfs fops; member
117 fops->seek = src->seek != NULL ? OsalCdevSeek : NULL; in AssignFileOps()
118 fops->read = src->read != NULL ? OsalCdevRead : NULL; in AssignFileOps()
119 fops->write = src->write != NULL ? OsalCdevWrite : NULL; in AssignFileOps()
120 fops->poll = src->poll != NULL ? OsalCdevPoll : NULL; in AssignFileOps()
121 fops->ioctl = src->ioctl != NULL ? OsalCdevIoctl : NULL; in AssignFileOps()
122 fops->open = src->open != NULL ? OsalCdevOpen : NULL; in AssignFileOps()
126 struct OsalCdev *OsalAllocCdev(const struct OsalCdevOps *fops) in OsalAllocCdev() argument
133 AssignFileOps(&cdev->fops, fops); in OsalAllocCdev()
134 cdev->opsImpl = fops; in OsalAllocCdev()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_cdev.c39 struct file_operations fops; member
135 cdev_init(&cdev->cdev, &cdev->fops); in RegisterDev()
200 fops->llseek = src->seek != NULL ? OsalCdevSeek : NULL; in AssignFileOps()
201 fops->read = src->read != NULL ? OsalCdevRead : NULL; in AssignFileOps()
202 fops->write = src->write != NULL ? OsalCdevWrite : NULL; in AssignFileOps()
203 fops->poll = src->poll != NULL ? OsalCdevPoll : NULL; in AssignFileOps()
205 fops->open = src->open != NULL ? OsalCdevOpen : NULL; in AssignFileOps()
206 fops->release = src->release != NULL ? OsalCdevRelease : NULL; in AssignFileOps()
212 struct OsalCdev* OsalAllocCdev(const struct OsalCdevOps* fops) in OsalAllocCdev() argument
219 AssignFileOps(&cdev->fops, fops); in OsalAllocCdev()
[all …]
/ohos5.0/drivers/hdf_core/framework/include/osal/
H A Dosal_cdev.h35 struct OsalCdev *OsalAllocCdev(const struct OsalCdevOps *fops);
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
H A Dmipi_tx_dev.c79 dev->fops = ops; in RegisterDevice()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/
H A Dmipi_csi_dev.c95 dev->fops = ops; in RegisterDevice()
/ohos5.0/docs/zh-cn/device-dev/porting/
H A Dporting-dayu200-on_standard-demo.md1752 else if (vdev->fops->compat_ioctl32)
1753 ret = vdev->fops->compat_ioctl32(file, cmd, arg);
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-dayu200-on_standard-demo.md1765 else if (vdev->fops->compat_ioctl32)
1766 ret = vdev->fops->compat_ioctl32(file, cmd, arg);