Home
last modified time | relevance | path

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

/AliOS-Things-master/components/drivers/core/base/devicevfs/src/
A Ddevice_vfs_core.c454 if (!fops || !(fops->open)) { in u_device_rpc_open()
455 ddkc_err("invalid fops:%p, or open:%p\n", fops, fops ? fops->open : NULL); in u_device_rpc_open()
473 if (fops->open) { in u_device_rpc_open()
593 fops = dev_n->fops; in u_device_rpc_close()
763 fops = (subsys_file_ops_t *)malloc(sizeof(*fops)); in aos_dev_reg_with_flag()
777 memset(fops, 0, sizeof(*fops)); in aos_dev_reg_with_flag()
844 memcpy(fops, sfops, sizeof(*fops)); in aos_dev_reg_with_flag()
867 dev_n->fops = fops; in aos_dev_reg_with_flag()
932 if (fops) { in aos_dev_reg_with_flag()
933 free(fops); in aos_dev_reg_with_flag()
[all …]
/AliOS-Things-master/components/drivers/core/base/core/
A Du_cdev.c52 int u_cdev_init(u_cdev_t *dev, /*struct u_file_operations*/void *fops) { in u_cdev_init() argument
54 if (!dev || !fops) { in u_cdev_init()
55 cdev_err("invalid dev:%p or fops:%p\r\n", dev, fops); in u_cdev_init()
62 if (dev->ops != fops) { in u_cdev_init()
63 cdev_err("dev->ops:%p != fops:%p, ignore\r\n", dev->ops, fops); in u_cdev_init()
71 dev->ops = fops; in u_cdev_init()
75 cdev_dbg("dev:%p init done, id:%d, fops:%p\r\n", dev, dev->dev_id, fops); in u_cdev_init()
/AliOS-Things-master/components/drivers/core/base/include/drivers/char/
A Du_device.h74 struct file_operations *fops; member
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/
A Ddwc_otg_pcd.h190 const struct dwc_otg_pcd_function_ops *fops; member
A Ddwc_otg_hcd_if.h142 struct dwc_otg_hcd_function_ops *fops);
A Ddwc_otg_pcd_if.h156 const struct dwc_otg_pcd_function_ops *fops);
A Ddwc_otg_hcd.h354 struct dwc_otg_hcd_function_ops *fops; member
/AliOS-Things-master/components/drivers/core/base/device/
A Ddevice.c79 static int aos_device_bridge_reg(const char *name, subsys_file_ops_t *fops, aos_device_t udata) in aos_device_bridge_reg() argument
109 ret = aos_dev_reg(ppsdev, fops, &bridge_device_drv); in aos_device_bridge_reg()
/AliOS-Things-master/components/drivers/core/base/include/device/
A Daos_device.h124 const struct file_ops *fops; member

Completed in 19 milliseconds