Home
last modified time | relevance | path

Searched refs:usb_device_handle_t (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.6.0/components/usb/private_include/
Dusbh.h72 typedef void (*usbh_ctrl_xfer_cb_t)(usb_device_handle_t dev_hdl, urb_t *urb, void *arg);
80 typedef void (*usbh_event_cb_t)(usb_device_handle_t dev_hdl, usbh_event_t usbh_event, void *arg);
191 esp_err_t usbh_dev_open(uint8_t dev_addr, usb_device_handle_t *dev_hdl);
201 esp_err_t usbh_dev_close(usb_device_handle_t dev_hdl);
225 esp_err_t usbh_dev_get_addr(usb_device_handle_t dev_hdl, uint8_t *dev_addr);
235 esp_err_t usbh_dev_get_info(usb_device_handle_t dev_hdl, usb_device_info_t *dev_info);
246 esp_err_t usbh_dev_get_desc(usb_device_handle_t dev_hdl, const usb_device_desc_t **dev_desc_ret);
258 esp_err_t usbh_dev_get_config_desc(usb_device_handle_t dev_hdl, const usb_config_desc_t **config_de…
267 esp_err_t usbh_dev_submit_ctrl_urb(usb_device_handle_t dev_hdl, urb_t *urb);
286 esp_err_t usbh_ep_alloc(usb_device_handle_t dev_hdl, usbh_ep_config_t *ep_config, hcd_pipe_handle_t…
[all …]
Dusb_private.h28 usb_device_handle_t device_handle;
/hal_espressif-3.6.0/components/usb/include/usb/
Dusb_host.h70 usb_device_handle_t dev_hdl; /**< The handle of the device that was gone */
250 …device_open(usb_host_client_handle_t client_hdl, uint8_t dev_addr, usb_device_handle_t *dev_hdl_re…
264 esp_err_t usb_host_device_close(usb_host_client_handle_t client_hdl, usb_device_handle_t dev_hdl);
312 esp_err_t usb_host_device_info(usb_device_handle_t dev_hdl, usb_device_info_t *dev_info);
330 esp_err_t usb_host_get_device_descriptor(usb_device_handle_t dev_hdl, const usb_device_desc_t **dev…
345 esp_err_t usb_host_get_active_config_descriptor(usb_device_handle_t dev_hdl, const usb_config_desc_…
362 esp_err_t usb_host_interface_claim(usb_host_client_handle_t client_hdl, usb_device_handle_t dev_hdl…
376 esp_err_t usb_host_interface_release(usb_host_client_handle_t client_hdl, usb_device_handle_t dev_h…
390 esp_err_t usb_host_endpoint_halt(usb_device_handle_t dev_hdl, uint8_t bEndpointAddress);
405 esp_err_t usb_host_endpoint_flush(usb_device_handle_t dev_hdl, uint8_t bEndpointAddress);
[all …]
Dusb_types_stack.h46 typedef struct usb_device_handle_s * usb_device_handle_t; typedef
134 usb_device_handle_t device_handle; /**< Device handle */
/hal_espressif-3.6.0/components/usb/
Dusbh.c428 …p_usbh_obj->constant.ctrl_xfer_cb((usb_device_handle_t)dev_obj, urb, p_usbh_obj->constant.ctrl_xfe… in usbh_process()
442 …p_usbh_obj->constant.event_cb((usb_device_handle_t)dev_obj, USBH_EVENT_DEV_GONE, p_usbh_obj->const… in usbh_process()
457 …p_usbh_obj->constant.event_cb((usb_device_handle_t)NULL, USBH_EVENT_DEV_ALL_FREE, p_usbh_obj->cons… in usbh_process()
469 …p_usbh_obj->constant.event_cb((usb_device_handle_t)dev_obj, USBH_EVENT_DEV_NEW, p_usbh_obj->consta… in usbh_process()
524 esp_err_t usbh_dev_open(uint8_t dev_addr, usb_device_handle_t *dev_hdl) in usbh_dev_open()
552 *dev_hdl = (usb_device_handle_t)found_dev_obj; in usbh_dev_open()
563 esp_err_t usbh_dev_close(usb_device_handle_t dev_hdl) in usbh_dev_close()
639 esp_err_t usbh_dev_get_addr(usb_device_handle_t dev_hdl, uint8_t *dev_addr) in usbh_dev_get_addr()
652 esp_err_t usbh_dev_get_info(usb_device_handle_t dev_hdl, usb_device_info_t *dev_info) in usbh_dev_get_info()
681 esp_err_t usbh_dev_get_desc(usb_device_handle_t dev_hdl, const usb_device_desc_t **dev_desc_ret) in usbh_dev_get_desc()
[all …]
Dusb_host.c83 usb_device_handle_t dev_hdl;
281 static void ctrl_xfer_callback(usb_device_handle_t dev_hdl, urb_t *urb, void *arg) in ctrl_xfer_callback()
294 static void dev_event_callback(usb_device_handle_t dev_hdl, usbh_event_t usbh_event, void *arg) in dev_event_callback()
794 …device_open(usb_host_client_handle_t client_hdl, uint8_t dev_addr, usb_device_handle_t *dev_hdl_re… in usb_host_device_open()
800 usb_device_handle_t dev_hdl; in usb_host_device_open()
827 esp_err_t usb_host_device_close(usb_host_client_handle_t client_hdl, usb_device_handle_t dev_hdl) in usb_host_device_close()
892 esp_err_t usb_host_device_info(usb_device_handle_t dev_hdl, usb_device_info_t *dev_info) in usb_host_device_info()
902 esp_err_t usb_host_get_device_descriptor(usb_device_handle_t dev_hdl, const usb_device_desc_t **dev… in usb_host_get_device_descriptor()
908 esp_err_t usb_host_get_active_config_descriptor(usb_device_handle_t dev_hdl, const usb_config_desc_… in usb_host_get_active_config_descriptor()
918 static esp_err_t endpoint_alloc(usb_device_handle_t dev_hdl, const usb_ep_desc_t *ep_desc, interfac… in endpoint_alloc()
[all …]
Dhub.c152 usb_device_handle_t dev_hdl; /**< Handle of device being enumerated */
179usb_device_handle_t root_dev_hdl; //Indicates if an enumerated device is connected to the root p…
268 usb_device_handle_t enum_dev_hdl; in enum_stage_start()
587 usb_device_handle_t dev_hdl = enum_ctrl->dev_hdl; in enum_stage_cleanup()
/hal_espressif-3.6.0/components/usb/test/usb_host/
Dtest_usb_host_async.c257 usb_device_handle_t client0_dev_hdl;
258 usb_device_handle_t client1_dev_hdl;
266 usb_device_handle_t dummy_dev_hdl;
Dmsc_client_async_enum.c51 usb_device_handle_t dev_hdl;
Dctrl_client_async_seq.c58 usb_device_handle_t dev_hdl;
Dmsc_client_async_seq.c55 usb_device_handle_t dev_hdl;
Dmsc_client_async_dconn.c56 usb_device_handle_t dev_hdl;
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/private_include/
Dmsc_common.h39 usb_device_handle_t handle;
/hal_espressif-3.6.0/examples/peripherals/usb/host/usb_host_lib/main/
Dclass_driver.c26 usb_device_handle_t dev_hdl;
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/
Dmsc_host.c200 usb_device_handle_t device; in is_mass_storage_device()
232 static msc_device_t *find_msc_device(usb_device_handle_t device_handle) in find_msc_device()
Dmsc_scsi_bot.c252 usb_device_handle_t dev = device->handle; in clear_feature()
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/
Dcdc_acm_host.c115 usb_device_handle_t dev_hdl; // USB device handle
234 static esp_err_t cdc_acm_reset_transfer_endpoint(usb_device_handle_t dev_hdl, usb_transfer_t *trans… in cdc_acm_reset_transfer_endpoint()
365 usb_device_handle_t current_device; in cdc_acm_find_and_open_usb_device()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dusb_host.rst232 usb_device_handle_t dev_hdl;