Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 158) sorted by relevance

1234567

/AliOS-Things-master/components/drivers/peripheral/wifi/src/
A Dwifi.c13 #define WIFI_DRIVER(dev) ((wifi_driver_t *)dev->drv_ops) argument
15 int hal_wifi_init(netdev_t *dev) in hal_wifi_init()
28 int hal_wifi_deinit(netdev_t *dev) in hal_wifi_deinit()
84 int hal_wifi_set_mode(netdev_t *dev, wifi_mode_t mode) in hal_wifi_set_mode()
119 int hal_wifi_cancel_connect(netdev_t *dev) in hal_wifi_cancel_connect()
141 int hal_wifi_get_mac_addr(netdev_t *dev, uint8_t *mac) in hal_wifi_get_mac_addr()
207 int hal_wifi_disconnect(netdev_t *dev) in hal_wifi_disconnect()
251 int hal_wifi_stop_monitor(netdev_t *dev) in hal_wifi_stop_monitor()
306 int hal_wifi_start_mgnt_monitor(netdev_t *dev) in hal_wifi_start_mgnt_monitor()
317 int hal_wifi_stop_mgnt_monitor(netdev_t *dev) in hal_wifi_stop_mgnt_monitor()
[all …]
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/
A Daudio_rtos.c17 static int pcm_open(void *dev) in pcm_open()
71 static int pcm_hw_prepare(void *dev) in pcm_hw_prepare()
106 static int pcm_start(void *dev) in pcm_start()
133 static int pcm_readi(void *dev, audio_xferi_t *xbuf) in pcm_readi()
191 int pcm_drain(void *dev) in pcm_drain()
203 int pcm_pause(void *dev, int enable) in pcm_pause()
223 int pcm_suspend(void *dev) in pcm_suspend()
243 int pcm_resume(void *dev) in pcm_resume()
263 int pcm_stop(void *dev) in pcm_stop()
291 int pcm_close(void *dev) in pcm_close()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dwifi_port.c47 netdev_t* dev; member
245 static int haas1000_wifi_init(netdev_t *dev) in haas1000_wifi_init()
273 static int haas1000_wifi_deinit(netdev_t *dev) in haas1000_wifi_deinit()
312 static int start_ap(netdev_t *dev, in start_ap()
343 static int stop_ap(netdev_t *dev) in stop_ap()
415 static int get_ip_stat(netdev_t *dev, in get_ip_stat()
578 static int disconnect_station(netdev_t *dev) in disconnect_station()
586 static int disconnect_soft_ap(netdev_t *dev) in disconnect_soft_ap()
591 static int haas1000_wifi_disconnect(netdev_t *dev) in haas1000_wifi_disconnect()
663 static int haas1000_wifi_start_monitor(netdev_t *dev) in haas1000_wifi_start_monitor()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Dwifi_port.c29 int haas200_wifi_init(netdev_t *dev) in haas200_wifi_init()
44 int haas200_wifi_deinit(netdev_t *dev) in haas200_wifi_deinit()
49 int haas200_wifi_set_mode(netdev_t *dev, wifi_mode_t mode) in haas200_wifi_set_mode()
54 int haas200_wifi_get_mode(netdev_t *dev, wifi_mode_t *devode) in haas200_wifi_get_mode()
64 int haas200_wifi_cancel_connect(netdev_t *dev) in haas200_wifi_cancel_connect()
79 int haas200_wifi_get_mac_addr(netdev_t *dev, uint8_t *devac) in haas200_wifi_get_mac_addr()
385 int haas200_wifi_disconnect(netdev_t *dev) in haas200_wifi_disconnect()
501 int haas200_wifi_stop_monitor(netdev_t *dev) in haas200_wifi_stop_monitor()
522 int haas200_wifi_set_channel(netdev_t *dev, int channel) in haas200_wifi_set_channel()
663 int haas200_wifi_start_mgnt_monitor(netdev_t *dev) in haas200_wifi_start_mgnt_monitor()
[all …]
A Dwifi_port_ref.c45 netdev_t* dev; member
243 static int haas1000_wifi_init(netdev_t *dev) in haas1000_wifi_init()
271 static int haas1000_wifi_deinit(netdev_t *dev) in haas1000_wifi_deinit()
367 static int get_ip_stat(netdev_t *dev, in get_ip_stat()
530 static int disconnect_station(netdev_t *dev) in disconnect_station()
538 static int disconnect_soft_ap(netdev_t *dev) in disconnect_soft_ap()
543 static int haas1000_wifi_disconnect(netdev_t *dev) in haas1000_wifi_disconnect()
615 static int haas1000_wifi_start_monitor(netdev_t *dev) in haas1000_wifi_start_monitor()
629 static int haas1000_wifi_stop_monitor(netdev_t *dev) in haas1000_wifi_stop_monitor()
676 static int start_ap(netdev_t *dev, in start_ap()
[all …]
/AliOS-Things-master/components/drivers/core/base/src/
A Ddevice.c24 static void device_forbid_removal(aos_dev_t *dev) in device_forbid_removal()
29 static void device_allow_removal(aos_dev_t *dev) in device_allow_removal()
34 static void device_wait_removal(aos_dev_t *dev) in device_wait_removal()
75 static void insert_device(aos_dev_t *dev) in insert_device()
94 static void remove_device(aos_dev_t *dev) in remove_device()
100 static aos_status_t add_to_vfs(aos_dev_t *dev) in add_to_vfs()
115 static void remove_from_vfs(aos_dev_t *dev) in remove_from_vfs()
130 aos_status_t aos_dev_register(aos_dev_t *dev) in aos_dev_register()
181 aos_dev_t *dev; in aos_dev_unregister() local
225 aos_status_t aos_dev_ref(aos_dev_ref_t *ref, aos_dev_t *dev) in aos_dev_ref()
[all …]
/AliOS-Things-master/components/drivers/core/base/device/
A Ddevice.c142 int aos_device_register(aos_device_t dev,
176 int aos_device_unregister(aos_device_t dev)
270 void aos_device_destroy(aos_device_t dev)
289 int aos_device_init(aos_device_t dev)
324 int aos_device_open(aos_device_t dev, uint16_t oflag)
383 int aos_device_close(aos_device_t dev)
422 size_t aos_device_read(aos_device_t dev,
455 size_t aos_device_write(aos_device_t dev,
487 int aos_device_control(aos_device_t dev, int cmd, void *arg)
513 int aos_device_set_rx_indicate(aos_device_t dev,
[all …]
A Dvfs_adapter.c13 aos_device_t dev = NULL; in _device_open() local
34 aos_device_t dev = NULL; in _device_close() local
56 aos_device_t dev = NULL; in _device_read() local
84 aos_device_t dev = NULL; in _device_write() local
111 aos_device_t dev = NULL; in _device_ioctl() local
132 aos_device_t dev = NULL; in _device_lseek() local
/AliOS-Things-master/components/ucamera/src/device/wifi/
A Dwifi_camera.c24 static void wifi_camera_delete(ucamera_device_t *dev) in wifi_camera_delete()
34 int32_t wifi_camera_init(ucamera_device_t *dev) in wifi_camera_init()
50 int32_t wifi_camera_uninit(ucamera_device_t *dev) in wifi_camera_uninit()
58 int32_t wifi_camera_connect(ucamera_device_t *dev) in wifi_camera_connect()
72 void wifi_camera_disconnect(ucamera_device_t *dev) in wifi_camera_disconnect()
81 frame_buffer_t *wifi_camera_get_frame(ucamera_device_t *dev) in wifi_camera_get_frame()
/AliOS-Things-master/components/a2sa/src/driver/core/
A Dcontrol.c99 static int audio_ctl_add(ctrl_device_t *dev, struct audio_kcontrol *kcontrol) in audio_ctl_add()
149 int audio_add_controls(ctrl_device_t *dev, const struct audio_kcontrol_new *controls, int num_contr… in audio_add_controls()
166 static struct audio_kcontrol *audio_ctl_find_numid(ctrl_device_t *dev, unsigned int numid) in audio_ctl_find_numid()
182 static struct audio_kcontrol *audio_ctl_find_id(ctrl_device_t *dev, struct audio_ctl_elem_id *id) in audio_ctl_find_id()
211 int audio_ctl_card_info(ctrl_device_t *dev, struct audio_ctl_card_info *info) in audio_ctl_card_info()
225 int audio_ctl_elem_list(ctrl_device_t *dev, struct audio_ctl_elem_list *list) in audio_ctl_elem_list()
297 int audio_ctl_elem_info(ctrl_device_t *dev, struct audio_ctl_elem_info *info) in audio_ctl_elem_info()
322 int audio_ctl_elem_read(ctrl_device_t *dev, struct audio_ctl_elem_value *value) in audio_ctl_elem_read()
347 int audio_ctl_elem_write(ctrl_device_t *dev, struct audio_ctl_elem_value *value) in audio_ctl_elem_write()
372 int audio_ctl_tlv_ioctl(ctrl_device_t *dev, struct audio_ctl_tlv *tlv, int op_flag) in audio_ctl_tlv_ioctl()
A Daudio.c25 audio_device_t *dev = NULL; in audio_pcm_open() local
49 audio_device_t *dev = NULL; in audio_pcm_close() local
81 audio_device_t *dev = NULL; in audio_pcm_ioctl() local
157 audio_device_t *dev = NULL; in audio_ctrl_open() local
186 audio_device_t *dev = NULL; in audio_ctrl_close() local
219 audio_device_t *dev = NULL; in audio_ctrl_ioctl() local
347 int audio_unregister_device(audio_device_t *dev) in audio_unregister_device()
A Dcontrol_dev.c13 ctrl_device_t *dev = NULL; in audio_ctrl_device_new() local
28 int audio_ctrl_device_free(ctrl_device_t *dev) in audio_ctrl_device_free()
/AliOS-Things-master/components/drivers/core/base/core/
A Du_bus.c60 u_device_t *dev = NULL; in u_bus_dump() local
105 int u_bus_add_device(struct u_device *dev) { in u_bus_add_device()
123 int u_bus_del_device(struct u_device *dev) { in u_bus_del_device()
160 static int u_driver_bind_device(struct u_driver *drv, struct u_device *dev) { in u_driver_bind_device()
178 static int u_device_unbind_driver(struct u_device *dev) { in u_device_unbind_driver()
196 static int u_driver_init_device(struct u_driver *drv, struct u_device *dev) in u_driver_init_device()
244 static int u_driver_match_device(struct u_driver *drv, struct u_device *dev) in u_driver_match_device()
268 int u_bus_try_init_device(struct u_device *dev) { in u_bus_try_init_device()
332 u_device_t *dev = NULL; in u_bus_attach_driver() local
619 u_device_t *dev = NULL; in u_bus_detach_driver() local
[all …]
A Du_device.c39 int u_device_dump(struct u_device *dev) { in u_device_dump()
60 int u_device_initialize(struct u_device *dev) { in u_device_initialize()
97 int u_device_add(struct u_device *dev) { in u_device_add()
159 int u_device_register(struct u_device *dev) { in u_device_register()
176 int u_device_is_registered(struct u_device *dev) { in u_device_is_registered()
413 int u_device_del(struct u_device *dev) { in u_device_del()
456 int u_device_unregister(struct u_device *dev) { in u_device_unregister()
/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() local
92 struct u_platform_device *dev = to_u_platform_device(_dev); in u_platform_bus_deinit() local
117 struct u_platform_device *dev = to_u_platform_device(_dev); in u_platform_bus_pm() local
145 static int u_platform_bus_match(struct u_device *dev, struct u_driver *drv) { in u_platform_bus_match()
164 int u_platform_device_register(u_platform_device_t *dev) { in u_platform_device_register()
234 int u_platform_device_unregister(u_platform_device_t *dev) { in u_platform_device_unregister()
/AliOS-Things-master/components/amp/components/at/src/
A Dhal_at_dev.c9 static int at_init_uart(void *dev) in at_init_uart()
18 static int at_recvfrom_uart(void *dev, void *data, uint32_t expect_size, in at_recvfrom_uart()
28 static int at_sendto_uart(void *dev, void *data, uint32_t size, in at_sendto_uart()
38 static int at_deinit_uart(void *dev) in at_deinit_uart()
A Dat.c78 at_dev_t *dev = NULL; in at_scan_for_callback() local
155 at_dev_t *dev = NULL; in at_getc() local
545 at_dev_t *dev = NULL; in stop_at_worker() local
563 at_dev_t *dev = NULL; in at_worker_task_add() local
584 at_dev_t *dev = NULL; in at_worker_task_del() local
654 at_dev_t *dev; in deinit_dev() local
721 at_dev_t *dev = NULL; in init_dev() local
968 at_dev_t *dev = NULL; in at_send_no_reply() local
1013 at_dev_t *dev = NULL; in at_read() local
1059 at_dev_t *dev = NULL; in at_send_wait_reply() local
[all …]
/AliOS-Things-master/components/SDL2/src/hidapi/linux/
A Dhid.c118 hid_device *dev = (hid_device *)calloc(1, sizeof(hid_device)); in new_hid_device() local
148 static wchar_t *copy_udev_string(struct udev_device *dev, const char *udev_name) in copy_udev_string()
272 static int is_bluetooth(hid_device *dev) in is_bluetooth()
708 hid_device *dev = NULL; in hid_open_path() local
756 int HID_API_EXPORT hid_write(hid_device *dev, const unsigned char *data, size_t length) in hid_write()
812 int HID_API_EXPORT hid_read(hid_device *dev, unsigned char *data, size_t length) in hid_read()
817 int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock) in hid_set_nonblocking()
839 int HID_API_EXPORT hid_get_feature_report(hid_device *dev, unsigned char *data, size_t length) in hid_get_feature_report()
859 void HID_API_EXPORT hid_close(hid_device *dev) in hid_close()
873 int HID_API_EXPORT_CALL hid_get_product_string(hid_device *dev, wchar_t *string, size_t maxlen) in hid_get_product_string()
[all …]
/AliOS-Things-master/components/SDL2/src/hidapi/libusb/
A Dhid.c174 hid_device *dev = (hid_device*) calloc(1, sizeof(hid_device)); in new_hid_device() local
184 static void free_hid_device(hid_device *dev) in free_hid_device()
329 static uint16_t get_first_language(libusb_device_handle *dev) in get_first_language()
376 static wchar_t *get_usb_string(libusb_device_handle *dev, uint8_t idx) in get_usb_string()
441 static char *make_path(libusb_device *dev, int interface_number) in make_path()
572 libusb_device *dev; in hid_enumerate() local
788 hid_device *dev = (hid_device *)transfer->user_data; in read_callback() local
855 hid_device *dev = (hid_device *)param; in read_thread() local
959 hid_device *dev = NULL; in hid_open_path() local
1259 int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock) in hid_set_nonblocking()
[all …]
/AliOS-Things-master/components/SDL2/src/hidapi/mac/
A Dhid.c127 struct hid_device_ *dev; member
136 hid_device *dev = (hid_device*)calloc(1, sizeof(hid_device)); in new_hid_device() local
157 static void free_hid_device(hid_device *dev) in free_hid_device()
479 IOHIDDeviceRef dev = device_array[i]; in hid_enumerate() local
600 hid_device *dev = (hid_device *)context; in hid_report_callback() local
647 hid_device *dev = (hid_device *)context; in perform_signal_callback() local
653 hid_device *dev = (hid_device *)param; in read_thread() local
718 hid_device *dev = NULL; in hid_open_path() local
984 int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock) in hid_set_nonblocking()
1030 void HID_API_EXPORT hid_close(hid_device *dev) in hid_close()
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmachine_hw_spi.c39 spi_dev_t dev; member
49 spi_dev_t *dev = &self->dev; in machine_hw_spi_deinit_internal() local
56 spi_dev_t *dev = &self->dev; in machine_hw_spi_init_internal() local
80 spi_dev_t *dev = &self->dev; in machine_hw_spi_deinit() local
91 spi_dev_t *dev = &self->dev; in machine_hw_spi_transfer() local
121 spi_dev_t *dev = &self->dev; in machine_hw_spi_print() local
134 spi_dev_t *dev = &self->dev; in machine_hw_spi_init() local
220 spi_dev_t *dev = &self->dev; in machine_hw_spi_make_new() local
A Dmachine_hw_i2c.c45 i2c_dev_t dev; member
54 i2c_dev_t *dev = &self->dev; in mp_machine_hw_i2c_init() local
65 i2c_dev_t *dev = &self->dev; in mp_machine_hw_i2c_deinit() local
73 i2c_dev_t *dev = &self->dev; in mp_machine_hw_i2c_transfer() local
104 i2c_dev_t *dev = &self->dev; in mp_machine_hw_i2c_write() local
125 i2c_dev_t *dev = &self->dev; in mp_machine_hw_i2c_read() local
149 i2c_dev_t *dev = &self->dev; in machine_hw_i2c_print() local
160 i2c_dev_t *dev = &self->dev; in machine_hw_i2c_init() local
250 i2c_dev_t *dev = &self->dev; in machine_hw_i2c_make_new() local
/AliOS-Things-master/components/ucamera/src/
A Ducamera_service.c21 ucamera_device_t *dev = ucamera_device_init(dev_name); in ucamera_service_init() local
40 ucamera_device_t *dev = ucamera_get_device(); in ucamera_service_uninit() local
60 ucamera_device_t *dev = ucamera_get_device(); in ucamera_service_get_frame() local
/AliOS-Things-master/components/netmgr/src/
A Dnetmgr_nbiot.c27 aos_dev_t *dev = node->dev; in netmgr_nbiot_unprovision() local
39 aos_dev_t *dev = node->dev; in netmgr_nbiot_info() local
80 aos_dev_t *dev = node->dev; in netmgr_nbiot_service() local
103 aos_dev_t *dev = node->dev; in netmgr_nbiot_reset() local
/AliOS-Things-master/components/SDL2/src/hidapi/windows/
A Dhid.c183 hid_device *dev = (hid_device*) calloc(1, sizeof(hid_device)); in new_hid_device() local
200 static void free_hid_device(hid_device *dev) in free_hid_device()
646 hid_device *dev; in hid_open_path() local
711 static int hid_write_timeout(hid_device *dev, const unsigned char *data, size_t length, int millise… in hid_write_timeout()
777 int HID_API_EXPORT HID_API_CALL hid_write(hid_device *dev, const unsigned char *data, size_t length) in hid_write()
853 int HID_API_EXPORT HID_API_CALL hid_read(hid_device *dev, unsigned char *data, size_t length) in hid_read()
858 int HID_API_EXPORT HID_API_CALL hid_set_nonblocking(hid_device *dev, int nonblock) in hid_set_nonblocking()
876 int HID_API_EXPORT HID_API_CALL hid_get_feature_report(hid_device *dev, unsigned char *data, size_t… in hid_get_feature_report()
925 void HID_API_EXPORT HID_API_CALL hid_close(hid_device *dev) in hid_close()
946 int HID_API_EXPORT_CALL HID_API_CALL hid_get_product_string(hid_device *dev, wchar_t *string, size_… in hid_get_product_string()
[all …]

Completed in 57 milliseconds

1234567