Lines Matching refs:sw_index
374 unsigned int sw_index; in ath11k_ce_completed_recv_next() local
381 sw_index = pipe->dest_ring->sw_index; in ath11k_ce_completed_recv_next()
402 *skb = pipe->dest_ring->skb[sw_index]; in ath11k_ce_completed_recv_next()
403 pipe->dest_ring->skb[sw_index] = NULL; in ath11k_ce_completed_recv_next()
405 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_recv_next()
406 pipe->dest_ring->sw_index = sw_index; in ath11k_ce_completed_recv_next()
463 unsigned int sw_index; in ath11k_ce_completed_send_next() local
470 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next()
485 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next()
487 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next()
489 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_send_next()
490 pipe->src_ring->sw_index = sw_index; in ath11k_ce_completed_send_next()
717 unsigned int write_index, sw_index; in ath11k_ce_send() local
731 sw_index = pipe->src_ring->sw_index; in ath11k_ce_send()
733 if (write_index >= sw_index) in ath11k_ce_send()
734 num_used = write_index - sw_index; in ath11k_ce_send()
736 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
936 pipe->src_ring->sw_index = 0; in ath11k_ce_init_pipes()
953 pipe->dest_ring->sw_index = 0; in ath11k_ce_init_pipes()
967 pipe->status_ring->sw_index = 0; in ath11k_ce_init_pipes()