/AliOS-Things-master/components/drivers/core/base/include/drivers/platform/ |
A D | u_platform_bus.h | 15 typedef struct u_platform_device { struct 29 int (*init)(struct u_platform_device *_dev); argument 30 int (*deinit)(struct u_platform_device *_dev); 31 int (*pm)(struct u_platform_device *dev, u_pm_ops_t state); 34 int (*probe)(struct u_platform_device *); 35 int (*remove)(struct u_platform_device *); 36 void (*shutdown)(struct u_platform_device *); 37 int (*suspend)(struct u_platform_device *, /*u_pm_ops_t*/int state); 38 int (*resume)(struct u_platform_device *); 48 static inline void *u_platform_get_user_data(const struct u_platform_device *pdev) in u_platform_get_user_data() [all …]
|
/AliOS-Things-master/components/drivers/core/base/include/devicevfs/ |
A D | devicevfs.h | 77 int (*init)(struct u_platform_device *_dev); 78 int (*deinit)(struct u_platform_device *_dev); 79 int (*pm)(struct u_platform_device *dev, u_pm_ops_t state); 82 int (*probe)(struct u_platform_device *); 83 int (*remove)(struct u_platform_device *); 84 void (*shutdown)(struct u_platform_device *); 85 int (*suspend)(struct u_platform_device *, int /*pm_message_t */state); 86 int (*resume)(struct u_platform_device *);
|
/AliOS-Things-master/components/drivers/core/base/device/ |
A D | device.c | 28 static int bridge_device_probe (struct u_platform_device *pdev) { in bridge_device_probe() 33 static int bridge_device_remove (struct u_platform_device *pdev) { in bridge_device_remove() 38 static void bridge_device_shutdown (struct u_platform_device *pdev) { in bridge_device_shutdown() 43 static int bridge_device_suspend (struct u_platform_device *pdev, int /*pm_message_t */state) { in bridge_device_suspend() 48 static int bridge_device_resume (struct u_platform_device *pdev) { in bridge_device_resume() 53 int bridge_device_init (struct u_platform_device *pdev) { in bridge_device_init() 57 int bridge_device_deinit (struct u_platform_device *pdev) { in bridge_device_deinit() 61 int bridge_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in bridge_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/watchdog/src/ |
A D | wdg_dev.c | 123 int wdg_device_probe (struct u_platform_device *pdev) { in wdg_device_probe() 130 int wdg_device_remove (struct u_platform_device *pdev) { in wdg_device_remove() 135 void wdg_device_shutdown (struct u_platform_device *pdev) { in wdg_device_shutdown() 140 int wdg_device_suspend (struct u_platform_device *pdev, u_pm_ops_t state) { in wdg_device_suspend() 145 int wdg_device_resume (struct u_platform_device *pdev) { in wdg_device_resume()
|
/AliOS-Things-master/components/drivers/core/base/platform/ |
A D | u_platform_bus.c | 58 struct u_platform_device *dev = to_u_platform_device(_dev); in u_platform_bus_init() 92 struct u_platform_device *dev = to_u_platform_device(_dev); in u_platform_bus_deinit() 117 struct u_platform_device *dev = to_u_platform_device(_dev); in u_platform_bus_pm() 146 struct u_platform_device *pdev = to_u_platform_device(dev); in u_platform_bus_match()
|
/AliOS-Things-master/components/drivers/peripheral/adc/src/ |
A D | adc_dev.c | 111 int adc_device_init (struct u_platform_device *pdev) { in adc_device_init() 118 int adc_device_deinit (struct u_platform_device *pdev) { in adc_device_deinit() 123 int adc_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in adc_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/pwm/src/ |
A D | pwm_dev.c | 140 int pwm_device_init (struct u_platform_device *pdev) { in pwm_device_init() 147 int pwm_device_deinit (struct u_platform_device *pdev) { in pwm_device_deinit() 152 int pwm_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in pwm_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/gpio/src/ |
A D | gpio_dev.c | 256 int gpio_device_init (struct u_platform_device *pdev) { in gpio_device_init() 263 int gpio_device_deinit (struct u_platform_device *pdev) { in gpio_device_deinit() 268 int gpio_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in gpio_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/timer/src/ |
A D | timer_dev.c | 174 int timer_device_init (struct u_platform_device *pdev) { in timer_device_init() 181 int timer_device_deinit (struct u_platform_device *pdev) { in timer_device_deinit() 186 int timer_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in timer_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/flash/src/ |
A D | flash_dev.c | 210 int flash_device_init (struct u_platform_device *pdev) { in flash_device_init() 226 int flash_device_deinit (struct u_platform_device *pdev) { in flash_device_deinit() 231 int flash_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in flash_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/wifi/src/ |
A D | vfs_wifi_drv.c | 247 int wifi_device_init (struct u_platform_device *pdev) { in wifi_device_init() 259 int wifi_device_deinit (struct u_platform_device *pdev) { in wifi_device_deinit() 264 int wifi_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in wifi_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/i2c/src/ |
A D | i2c_dev.c | 328 int i2c_device_init (struct u_platform_device *pdev) { in i2c_device_init() 335 int i2c_device_deinit (struct u_platform_device *pdev) { in i2c_device_deinit() 340 int i2c_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in i2c_device_pm()
|
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/ |
A D | device_vfs_core.c | 31 struct u_platform_device *pdev; 42 int (*real_init)(struct u_platform_device *pdev); 43 int (*real_probe)(struct u_platform_device *pdev); 701 static int _device_vfs_init(struct u_platform_device *pdev) { in _device_vfs_init() 723 struct u_platform_device *pdev = NULL; in aos_dev_reg_with_flag() 761 pdev = (struct u_platform_device *)malloc(sizeof(*pdev)); in aos_dev_reg_with_flag()
|
/AliOS-Things-master/components/drivers/peripheral/spi/src/ |
A D | spi_dev.c | 471 int spi_device_init (struct u_platform_device *pdev) { in spi_device_init() 478 int spi_device_deinit (struct u_platform_device *pdev) { in spi_device_deinit() 483 int spi_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in spi_device_pm()
|
/AliOS-Things-master/components/drivers/peripheral/uart/src/ |
A D | uart_dev.c | 514 int uart_device_init (struct u_platform_device *pdev) { in uart_device_init() 524 int uart_device_deinit (struct u_platform_device *pdev) { in uart_device_deinit() 529 int uart_device_pm (struct u_platform_device *pdev, u_pm_ops_t state) { in uart_device_pm()
|