Home
last modified time | relevance | path

Searched refs:sdrv (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/drivers/core/base/include/devicevfs/
A Ddevicevfs.h100 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 …s_devs_reg(struct subsys_dev *sdev[], int size, subsys_file_ops_t *sfops, struct subsys_drv* sdrv);
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/
A Ddevice_vfs_core.c803 if (sdrv) { in aos_dev_reg_with_flag()
805 pdrv->init = (void *)sdrv->init; in aos_dev_reg_with_flag()
806 pdrv->deinit = (void *)sdrv->deinit; in aos_dev_reg_with_flag()
807 pdrv->pm = (void *)sdrv->pm; in aos_dev_reg_with_flag()
810 pdrv->probe = (void *)sdrv->probe; in aos_dev_reg_with_flag()
811 pdrv->remove = (void *)sdrv->remove; in aos_dev_reg_with_flag()
812 pdrv->suspend = (void *)sdrv->suspend; in aos_dev_reg_with_flag()
813 pdrv->resume = (void *)sdrv->resume; in aos_dev_reg_with_flag()
814 pdrv->shutdown = (void *)sdrv->shutdown; in aos_dev_reg_with_flag()
975 ret = aos_dev_reg(sdev[i], sfops, sdrv); in aos_devs_reg()
[all …]

Completed in 28 milliseconds