Lines Matching refs:multi_buffer_control

250     } multi_buffer_control;  member
343 if (pipe->num_urb_pending > 0 && pipe->multi_buffer_control.buffer_num_to_fill > 0) { in _buffer_can_fill()
373 …if (!pipe->multi_buffer_control.buffer_is_executing && pipe->multi_buffer_control.buffer_num_to_ex… in _buffer_can_exec()
406 dma_buffer_block_t *buffer_inflight = pipe->buffers[pipe->multi_buffer_control.rd_idx]; in _buffer_check_done()
432 dma_buffer_block_t *buffer_done = pipe->buffers[pipe->multi_buffer_control.rd_idx]; in _buffer_done()
437 pipe->multi_buffer_control.rd_idx++; in _buffer_done()
438 pipe->multi_buffer_control.buffer_num_to_exec--; in _buffer_done()
439 pipe->multi_buffer_control.buffer_num_to_parse++; in _buffer_done()
440 pipe->multi_buffer_control.buffer_is_executing = 0; in _buffer_done()
452 if (pipe->multi_buffer_control.buffer_num_to_parse > 0) { in _buffer_can_parse()
1866 pipe->multi_buffer_control.buffer_num_to_fill = NUM_BUFFERS; in hcd_pipe_alloc()
1913 HCD_CHECK_FROM_CRIT(!pipe->multi_buffer_control.buffer_is_executing in hcd_pipe_free()
2192 assert(pipe->multi_buffer_control.buffer_num_to_exec <= NUM_BUFFERS); in _buffer_fill()
2193 dma_buffer_block_t *buffer_to_fill = pipe->buffers[pipe->multi_buffer_control.wr_idx]; in _buffer_fill()
2206 if (pipe->multi_buffer_control.buffer_num_to_exec == 0) { in _buffer_fill()
2223 … uint32_t prev_buffer_idx = (pipe->multi_buffer_control.wr_idx - 1) & (NUM_BUFFERS - 1); in _buffer_fill()
2246 pipe->multi_buffer_control.wr_idx++; in _buffer_fill()
2247 pipe->multi_buffer_control.buffer_num_to_fill--; in _buffer_fill()
2248 pipe->multi_buffer_control.buffer_num_to_exec++; in _buffer_fill()
2253 …assert(pipe->multi_buffer_control.rd_idx != pipe->multi_buffer_control.wr_idx || pipe->multi_buffe… in _buffer_exec()
2254 dma_buffer_block_t *buffer_to_exec = pipe->buffers[pipe->multi_buffer_control.rd_idx]; in _buffer_exec()
2292 pipe->multi_buffer_control.buffer_is_executing = 1; in _buffer_exec()
2300 dma_buffer_block_t *buffer_inflight = pipe->buffers[pipe->multi_buffer_control.rd_idx]; in _buffer_exec_cont()
2473 assert(pipe->multi_buffer_control.buffer_num_to_parse > 0); in _buffer_parse()
2474 dma_buffer_block_t *buffer_to_parse = pipe->buffers[pipe->multi_buffer_control.fr_idx]; in _buffer_parse()
2516 pipe->multi_buffer_control.fr_idx++; in _buffer_parse()
2517 pipe->multi_buffer_control.buffer_num_to_parse--; in _buffer_parse()
2518 pipe->multi_buffer_control.buffer_num_to_fill++; in _buffer_parse()
2523 int cur_num_to_mark_done = pipe->multi_buffer_control.buffer_num_to_exec; in _buffer_flush_all()
2528 int cur_num_to_parse = pipe->multi_buffer_control.buffer_num_to_parse; in _buffer_flush_all()
2594 …&& pipe->multi_buffer_control.buffer_num_to_exec == 0 && pipe->multi_buffer_control.buffer_num_to_… in hcd_urb_dequeue()