Lines Matching refs:write_index
277 unsigned int write_index; in ath11k_ce_rx_buf_enqueue_pipe() local
284 write_index = ring->write_index; in ath11k_ce_rx_buf_enqueue_pipe()
305 ring->skb[write_index] = skb; in ath11k_ce_rx_buf_enqueue_pipe()
306 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath11k_ce_rx_buf_enqueue_pipe()
307 ring->write_index = write_index; in ath11k_ce_rx_buf_enqueue_pipe()
717 unsigned int write_index, sw_index; in ath11k_ce_send() local
729 write_index = pipe->src_ring->write_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()
737 write_index; in ath11k_ce_send()
750 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
778 pipe->src_ring->skb[write_index] = skb; in ath11k_ce_send()
779 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath11k_ce_send()
780 write_index); in ath11k_ce_send()
935 pipe->src_ring->write_index = 0; in ath11k_ce_init_pipes()
952 pipe->dest_ring->write_index = 0; in ath11k_ce_init_pipes()
966 pipe->status_ring->write_index = 0; in ath11k_ce_init_pipes()