Lines Matching refs:write_index
216 unsigned int write_index; in ath11k_ce_rx_buf_enqueue_pipe() local
223 write_index = ring->write_index; in ath11k_ce_rx_buf_enqueue_pipe()
244 ring->skb[write_index] = skb; in ath11k_ce_rx_buf_enqueue_pipe()
245 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath11k_ce_rx_buf_enqueue_pipe()
246 ring->write_index = write_index; in ath11k_ce_rx_buf_enqueue_pipe()
639 unsigned int write_index, sw_index; in ath11k_ce_send() local
651 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
655 if (write_index >= sw_index) in ath11k_ce_send()
656 num_used = write_index - sw_index; in ath11k_ce_send()
659 write_index; in ath11k_ce_send()
672 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
700 pipe->src_ring->skb[write_index] = skb; in ath11k_ce_send()
701 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath11k_ce_send()
702 write_index); in ath11k_ce_send()
860 pipe->src_ring->write_index = 0; in ath11k_ce_init_pipes()
877 pipe->dest_ring->write_index = 0; in ath11k_ce_init_pipes()
891 pipe->status_ring->write_index = 0; in ath11k_ce_init_pipes()