Searched refs:fops (Results 1 – 9 of 9) sorted by relevance
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/ |
A D | device_vfs_core.c | 454 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 D | u_cdev.c | 52 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 D | u_device.h | 74 struct file_operations *fops; member
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ |
A D | dwc_otg_pcd.h | 190 const struct dwc_otg_pcd_function_ops *fops; member
|
A D | dwc_otg_hcd_if.h | 142 struct dwc_otg_hcd_function_ops *fops);
|
A D | dwc_otg_pcd_if.h | 156 const struct dwc_otg_pcd_function_ops *fops);
|
A D | dwc_otg_hcd.h | 354 struct dwc_otg_hcd_function_ops *fops; member
|
/AliOS-Things-master/components/drivers/core/base/device/ |
A D | device.c | 79 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 D | aos_device.h | 124 const struct file_ops *fops; member
|
Completed in 19 milliseconds