Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dhcd.c136 #define NUM_BUFFERS 2 macro
236 dma_buffer_block_t *buffers[NUM_BUFFERS]; //Double buffering scheme
1847 dma_buffer_block_t *buffers[NUM_BUFFERS] = {0}; in hcd_pipe_alloc()
1852 for (int i = 0; i < NUM_BUFFERS; i++) { in hcd_pipe_alloc()
1863 for (int i = 0; i < NUM_BUFFERS; i++) { in hcd_pipe_alloc()
1866 pipe->multi_buffer_control.buffer_num_to_fill = NUM_BUFFERS; in hcd_pipe_alloc()
1900 for (int i = 0; i < NUM_BUFFERS; i++) { in hcd_pipe_alloc()
1924 for (int i = 0; i < NUM_BUFFERS; i++) { in hcd_pipe_free()
2192 assert(pipe->multi_buffer_control.buffer_num_to_exec <= NUM_BUFFERS); in _buffer_fill()
2223 … uint32_t prev_buffer_idx = (pipe->multi_buffer_control.wr_idx - 1) & (NUM_BUFFERS - 1); in _buffer_fill()