Home
last modified time | relevance | path

Searched refs:num_isoc_packets (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.4.0/components/usb/
Dusb_private.c11 urb_t *urb_alloc(size_t data_buffer_size, size_t header_size, int num_isoc_packets) in urb_alloc() argument
13 …ap_caps_calloc(1, sizeof(urb_t) + (sizeof(usb_isoc_packet_desc_t) * num_isoc_packets), MALLOC_CAP_… in urb_alloc()
23 dummy_transfer->num_isoc_packets = num_isoc_packets; in urb_alloc()
Dusb_host.c1228 if (transfer->num_isoc_packets <= 0) { in transfer_check()
1236 for (int i = 0; i < transfer->num_isoc_packets; i++) { in transfer_check()
1262 esp_err_t usb_host_transfer_alloc(size_t data_buffer_size, int num_isoc_packets, usb_transfer_t **t… in usb_host_transfer_alloc() argument
1264 urb_t *urb = urb_alloc(data_buffer_size, 0, num_isoc_packets); in usb_host_transfer_alloc()
Dhcd.c1767 for (int pkt_idx = 0; pkt_idx < urb->transfer.num_isoc_packets; pkt_idx++) { in _pipe_cmd_flush()
2151 int total_num_desc = transfer->num_isoc_packets * interval; in _buffer_fill_isoc()
2156 for (int pkt_idx = 0; pkt_idx < transfer->num_isoc_packets; pkt_idx++) { in _buffer_fill_isoc()
2159 if (pkt_idx == transfer->num_isoc_packets - 1) { in _buffer_fill_isoc()
2420 for (int pkt_idx = 0; pkt_idx < transfer->num_isoc_packets; pkt_idx++) { in _buffer_parse_isoc()
2626 if (urb->transfer.num_isoc_packets == 0) { in hcd_urb_abort()
2631 for (int i = 0; i < urb->transfer.num_isoc_packets; i++) { in hcd_urb_abort()
/hal_espressif-3.4.0/components/usb/private_include/
Dusb_private.h34 int num_isoc_packets; member
74 urb_t *urb_alloc(size_t data_buffer_size, size_t header_size, int num_isoc_packets);
/hal_espressif-3.4.0/components/usb/test/hcd/
Dtest_hcd_common.c255 urb_t *test_hcd_alloc_urb(int num_isoc_packets, size_t data_buffer_size) in test_hcd_alloc_urb() argument
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()
265 transfer_dummy->num_isoc_packets = num_isoc_packets; in test_hcd_alloc_urb()
Dtest_hcd_common.h112 urb_t *test_hcd_alloc_urb(int num_isoc_packets, size_t data_buffer_size);
/hal_espressif-3.4.0/components/usb/include/usb/
Dusb_types_stack.h140 …const int num_isoc_packets; /**< Only relevant to Isochronous. Number of servi… member
Dusb_host.h437 esp_err_t usb_host_transfer_alloc(size_t data_buffer_size, int num_isoc_packets, usb_transfer_t **t…