Lines Matching refs:sw_index
20902 unsigned int sw_index; in qwx_ce_completed_send_next() local
20910 sw_index = pipe->src_ring->sw_index; in qwx_ce_completed_send_next()
20923 ctx = pipe->src_ring->per_transfer_context[sw_index]; in qwx_ce_completed_send_next()
20926 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in qwx_ce_completed_send_next()
20927 pipe->src_ring->sw_index = sw_index; in qwx_ce_completed_send_next()
21699 pipe->src_ring->sw_index = 0; in qwx_ce_init_pipes()
21716 pipe->dest_ring->sw_index = 0; in qwx_ce_init_pipes()
21730 pipe->status_ring->sw_index = 0; in qwx_ce_init_pipes()
21910 unsigned int sw_index; in qwx_ce_completed_recv_next() local
21917 sw_index = pipe->dest_ring->sw_index; in qwx_ce_completed_recv_next()
21940 pipe->dest_ring->per_transfer_context[sw_index]; in qwx_ce_completed_recv_next()
21943 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in qwx_ce_completed_recv_next()
21944 pipe->dest_ring->sw_index = sw_index; in qwx_ce_completed_recv_next()
22032 unsigned int write_index, sw_index; in qwx_ce_send() local
22051 sw_index = pipe->src_ring->sw_index; in qwx_ce_send()
22053 if (write_index >= sw_index) in qwx_ce_send()
22054 num_used = write_index - sw_index; in qwx_ce_send()
22056 num_used = pipe->src_ring->nentries - sw_index + in qwx_ce_send()