Home
last modified time | relevance | path

Searched refs:u_platform_device (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/drivers/core/base/include/drivers/platform/
A Du_platform_bus.h15 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 Ddevicevfs.h77 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 Ddevice.c28 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 Dwdg_dev.c123 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 Du_platform_bus.c58 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 Dadc_dev.c111 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 Dpwm_dev.c140 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 Dgpio_dev.c256 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 Dtimer_dev.c174 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 Dflash_dev.c210 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 Dvfs_wifi_drv.c247 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 Di2c_dev.c328 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 Ddevice_vfs_core.c31 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 Dspi_dev.c471 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 Duart_dev.c514 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()

Completed in 23 milliseconds