Searched refs:sfops (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/drivers/core/base/include/devicevfs/ |
A D | devicevfs.h | 100 int aos_dev_reg(struct subsys_dev *sdev, subsys_file_ops_t *sfops, struct subsys_drv* sdrv); 113 int aos_remote_dev_reg(struct subsys_dev *sdev, subsys_file_ops_t *sfops, struct subsys_drv* sdrv); 127 int aos_devs_reg(struct subsys_dev *sdev[], int size, subsys_file_ops_t *sfops, struct subsys_drv* …
|
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/ |
A D | device_vfs_core.c | 717 int aos_dev_reg_with_flag (struct subsys_dev *sdev, subsys_file_ops_t *sfops, struct subsys_drv* sd… in aos_dev_reg_with_flag() argument 730 if (!sfops || !sdev || !sdev->node_name) { in aos_dev_reg_with_flag() 731 … ddkc_err("invalid sfops:%p, sdev:%p or name:%p\r\n", sfops, sdev, sdev ? sdev->node_name : NULL); in aos_dev_reg_with_flag() 844 memcpy(fops, sfops, sizeof(*fops)); in aos_dev_reg_with_flag() 970 int aos_devs_reg(struct subsys_dev *sdev[], int size, subsys_file_ops_t *sfops, struct subsys_drv* … in aos_devs_reg() argument 975 ret = aos_dev_reg(sdev[i], sfops, sdrv); in aos_devs_reg() 1080 int aos_dev_reg(struct subsys_dev *sdev, subsys_file_ops_t *sfops, struct subsys_drv* sdrv) { in aos_dev_reg() argument 1081 return aos_dev_reg_with_flag(sdev, sfops, sdrv, false); in aos_dev_reg() 1095 int aos_remote_dev_reg(struct subsys_dev *sdev, subsys_file_ops_t *sfops, struct subsys_drv* sdrv) { in aos_remote_dev_reg() argument 1096 return aos_dev_reg_with_flag(sdev, sfops, sdrv, true); in aos_remote_dev_reg()
|
Completed in 4 milliseconds