Searched refs:urb_t (Results 1 – 15 of 15) sorted by relevance
/hal_espressif-3.6.0/components/usb/ |
D | usb_private.c | 11 urb_t *urb_alloc(size_t data_buffer_size, size_t header_size, int num_isoc_packets) in urb_alloc() 13 …urb_t *urb = heap_caps_calloc(1, sizeof(urb_t) + (sizeof(usb_isoc_packet_desc_t) * num_isoc_packet… in urb_alloc() 31 void urb_free(urb_t *urb) in urb_free()
|
D | usb_host.c | 281 static void ctrl_xfer_callback(usb_device_handle_t dev_hdl, urb_t *urb, void *arg) in ctrl_xfer_callback() 591 urb_t *urb = hcd_urb_dequeue(ep_obj->constant.pipe_hdl); in _handle_pending_ep() 746 urb_t *urb = TAILQ_FIRST(&client_obj->dynamic.done_ctrl_xfer_tailq); in usb_host_client_handle_events() 1264 urb_t *urb = urb_alloc(data_buffer_size, 0, num_isoc_packets); in usb_host_transfer_alloc() 1277 urb_t *urb = __containerof(transfer, urb_t, transfer); in usb_host_transfer_free() 1289 urb_t *urb_obj = __containerof(transfer, urb_t, transfer); in usb_host_transfer_submit() 1336 urb_t *urb_obj = __containerof(transfer, urb_t, transfer); in usb_host_transfer_submit_control()
|
D | hcd.c | 188 urb_t *urb; 1758 urb_t *urb; in _pipe_cmd_flush() 2186 urb_t *urb = TAILQ_FIRST(&pipe->pending_urb_tailq); in _buffer_fill() 2508 urb_t *urb = buffer_to_parse->urb; in _buffer_parse() 2540 esp_err_t hcd_urb_enqueue(hcd_pipe_handle_t pipe_hdl, urb_t *urb) in hcd_urb_enqueue() 2578 urb_t *hcd_urb_dequeue(hcd_pipe_handle_t pipe_hdl) in hcd_urb_dequeue() 2581 urb_t *urb; in hcd_urb_dequeue() 2610 esp_err_t hcd_urb_abort(urb_t *urb) in hcd_urb_abort()
|
D | hub.c | 150 …urb_t *urb; /**< URB used for enumeration control transfers. Max data length o… 412 urb_t *dequeued_enum_urb = hcd_urb_dequeue(enum_ctrl->pipe); in enum_stage_transfer_check() 877 urb_t *enum_urb = urb_alloc(sizeof(usb_setup_packet_t) + ENUM_CTRL_TRANSFER_MAX_DATA_LEN, 0, 0); in hub_install()
|
D | usbh.c | 425 urb_t *urb = hcd_urb_dequeue(dev_obj->constant.default_pipe); in usbh_process() 715 esp_err_t usbh_dev_submit_ctrl_urb(usb_device_handle_t dev_hdl, urb_t *urb) in usbh_dev_submit_ctrl_urb()
|
/hal_espressif-3.6.0/components/usb/test/hcd/ |
D | test_hcd_ctrl.c | 53 urb_t *urb_list[NUM_URBS]; 73 urb_t *urb = hcd_urb_dequeue(default_pipe); 97 urb_t *urb = hcd_urb_dequeue(default_pipe); 148 urb_t *urb_list[NUM_URBS]; 177 urb_t *urb = hcd_urb_dequeue(default_pipe); 206 urb_t *urb = hcd_urb_dequeue(default_pipe); 254 urb_t *urb_list[NUM_URBS]; 281 urb_t *urb = hcd_urb_dequeue(default_pipe);
|
D | test_hcd_bulk.c | 21 urb_t *urb = test_hcd_alloc_urb(0, sizeof(usb_setup_packet_t)); in mock_msc_reset_req() 71 urb_t *urb_cbw = test_hcd_alloc_urb(0, sizeof(mock_msc_bulk_cbw_t)); 72 urb_t *urb_data = test_hcd_alloc_urb(0, TEST_NUM_SECTORS_PER_XFER * MOCK_MSC_SCSI_SECTOR_SIZE); 73 …urb_t *urb_csw = test_hcd_alloc_urb(0, sizeof(mock_msc_bulk_csw_t) + (mock_msc_scsi_bulk_in_ep_des…
|
D | test_hcd_isoc.c | 58 urb_t *urb_list[NUM_URBS]; 80 urb_t *urb = hcd_urb_dequeue(isoc_out_pipe); 140 urb_t *urb_list[NUM_URBS]; 179 urb_t *urb = hcd_urb_dequeue(isoc_out_pipe);
|
D | test_hcd_common.c | 255 urb_t *test_hcd_alloc_urb(int num_isoc_packets, size_t data_buffer_size) in test_hcd_alloc_urb() 258 …urb_t *urb = heap_caps_calloc(1, sizeof(urb_t) + (num_isoc_packets * sizeof(usb_isoc_packet_desc_t… in test_hcd_alloc_urb() 269 void test_hcd_free_urb(urb_t *urb) in test_hcd_free_urb() 280 urb_t *urb = test_hcd_alloc_urb(0, sizeof(usb_setup_packet_t) + 256); in test_hcd_enum_device()
|
D | test_hcd_common.h | 112 urb_t *test_hcd_alloc_urb(int num_isoc_packets, size_t data_buffer_size); 119 void test_hcd_free_urb(urb_t *urb);
|
D | test_hcd_port.c | 53 urb_t *urb_list[NUM_URBS]; 87 urb_t *urb = hcd_urb_dequeue(default_pipe); 200 urb_t *urb_list[NUM_URBS]; 231 urb_t *urb = hcd_urb_dequeue(default_pipe);
|
D | test_hcd_intr.c | 54 urb_t *urb_list[NUM_URBS]; 70 urb_t *urb = hcd_urb_dequeue(intr_pipe);
|
/hal_espressif-3.6.0/components/usb/private_include/ |
D | usb_private.h | 50 typedef struct urb_s urb_t; typedef 74 urb_t *urb_alloc(size_t data_buffer_size, size_t header_size, int num_isoc_packets); 81 void urb_free(urb_t *urb);
|
D | hcd.h | 499 esp_err_t hcd_urb_enqueue(hcd_pipe_handle_t pipe_hdl, urb_t *urb); 511 urb_t *hcd_urb_dequeue(hcd_pipe_handle_t pipe_hdl); 524 esp_err_t hcd_urb_abort(urb_t *urb);
|
D | usbh.h | 72 typedef void (*usbh_ctrl_xfer_cb_t)(usb_device_handle_t dev_hdl, urb_t *urb, void *arg); 267 esp_err_t usbh_dev_submit_ctrl_urb(usb_device_handle_t dev_hdl, urb_t *urb);
|