Home
last modified time | relevance | path

Searched defs:pdev (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dusbd.c17 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 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/epoll/src/
A Ddevice.c37 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 Dtest_device.c40 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 Dtest_device.c40 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 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/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/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/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/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/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/core/base/include/drivers/platform/
A Du_platform_bus.h48 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 Du_platform_bus.c146 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 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()
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_udev.c300 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 Ddevice_vfs_core.c31 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

Completed in 44 milliseconds