Lines Matching refs:buffer_inflight
406 dma_buffer_block_t *buffer_inflight = pipe->buffers[pipe->multi_buffer_control.rd_idx]; in _buffer_check_done() local
407 return (buffer_inflight->flags.ctrl.cur_stg == 2); in _buffer_check_done()
2300 dma_buffer_block_t *buffer_inflight = pipe->buffers[pipe->multi_buffer_control.rd_idx]; in _buffer_exec_cont() local
2303 assert(buffer_inflight->flags.ctrl.cur_stg != 2); in _buffer_exec_cont()
2304 if (buffer_inflight->flags.ctrl.cur_stg == 0) { //Just finished control stage in _buffer_exec_cont()
2305 if (buffer_inflight->flags.ctrl.data_stg_skip) { in _buffer_exec_cont()
2309 …buffer_inflight->flags.ctrl.cur_stg = 2; //Skip over the null descriptor representing the skipp… in _buffer_exec_cont()
2312 next_dir_is_in = buffer_inflight->flags.ctrl.data_stg_in; in _buffer_exec_cont()
2314 buffer_inflight->flags.ctrl.cur_stg = 1; in _buffer_exec_cont()
2317 …next_dir_is_in = !buffer_inflight->flags.ctrl.data_stg_in; //Status stage is always the opposite … in _buffer_exec_cont()
2319 buffer_inflight->flags.ctrl.cur_stg = 2; in _buffer_exec_cont()
2324 …usbh_hal_chan_activate(pipe->chan_obj, buffer_inflight->xfer_desc_list, XFER_LIST_LEN_CTRL, buffer… in _buffer_exec_cont()