/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | usbd.c | 17 usbd_stat_t usbd_hal_init(void *pdev) in usbd_hal_init() 29 usbd_stat_t usbd_hal_deinit(void *pdev) in usbd_hal_deinit() 41 usbd_stat_t usbd_hal_start(void *pdev) in usbd_hal_start() 53 usbd_stat_t usbd_hal_stop(void *pdev) in usbd_hal_stop() 98 void usbd_hal_set_address(void *pdev, uint8_t address) in usbd_hal_set_address() 125 void usbd_hal_ep0_read(void *pdev) in usbd_hal_ep0_read() 146 uint32_t usbd_hal_get_ep0_read_result(void *pdev, uint8_t *buffer) in usbd_hal_get_ep0_read_result() 160 void usbd_hal_ep0_write(void *pdev, uint8_t *buffer, uint32_t size) in usbd_hal_ep0_write() 180 void usbd_hal_ep0_stall(void *pdev) in usbd_hal_ep0_stall() 268 void usbd_hal_stall_endpoint(void *pdev, uint8_t endpoint) in usbd_hal_stall_endpoint() [all …]
|
/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/epoll/src/ |
A D | device.c | 37 epoll_dev_t *pdev = NULL; in lwip_epoll_notify() local 69 epoll_dev_t *pdev = NULL; in vfs_epoll_notify() local 142 epoll_dev_t *pdev = malloc(sizeof(epoll_dev_t)); in epoll_open() local 190 epoll_dev_t *pdev = file->f_arg; in epoll_close() local 241 static int epoll_control(epoll_dev_t *pdev, epoll_ctl_data_t *data) in epoll_control() 320 static int epoll_waitting(epoll_dev_t *pdev, epoll_wait_data_t *data) in epoll_waitting() 431 epoll_dev_t *pdev = f->f_arg; in epoll_ioctl() local
|
/AliOS-Things-master/components/epoll/example/ |
A D | test_device.c | 40 event_dev_t *pdev = (event_dev_t *)aos_malloc(sizeof * pdev); in event_open() local 51 event_dev_t *pdev = file->f_arg; in event_close() local 73 event_dev_t *pdev = f->f_arg; in _event_write() local 133 event_dev_t *pdev = f->f_arg; in event_read() local 167 event_dev_t *pdev = f->f_arg; in event_poll() local
|
/AliOS-Things-master/components/select/example/ |
A D | test_device.c | 40 event_dev_t *pdev = (event_dev_t *)aos_malloc(sizeof * pdev); in event_open() local 51 event_dev_t *pdev = file->f_arg; in event_close() local 73 event_dev_t *pdev = f->f_arg; in _event_write() local 133 event_dev_t *pdev = f->f_arg; in event_read() local 167 event_dev_t *pdev = f->f_arg; in event_poll() local
|
/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/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/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/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/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/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/core/base/include/drivers/platform/ |
A D | u_platform_bus.h | 48 static inline void *u_platform_get_user_data(const struct u_platform_device *pdev) in u_platform_get_user_data() 53 static inline void u_platform_set_user_data(struct u_platform_device *pdev, in u_platform_set_user_data()
|
/AliOS-Things-master/components/drivers/core/base/platform/ |
A D | u_platform_bus.c | 146 struct u_platform_device *pdev = to_u_platform_device(dev); in u_platform_bus_match() local 258 void u_platform_device_del(u_platform_device_t *pdev) { in u_platform_device_del()
|
/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()
|
/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_udev.c | 300 static void get_caps(struct udev_device *dev, struct udev_device *pdev, const char *attr, unsigned … in get_caps() 334 struct udev_device *pdev; in guess_device_class() local
|
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/ |
A D | device_vfs_core.c | 31 struct u_platform_device *pdev; member 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() local
|