Lines Matching refs:write_index
228 unsigned int write_index; in ath12k_ce_rx_buf_enqueue_pipe() local
235 write_index = ring->write_index; in ath12k_ce_rx_buf_enqueue_pipe()
256 ring->skb[write_index] = skb; in ath12k_ce_rx_buf_enqueue_pipe()
257 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath12k_ce_rx_buf_enqueue_pipe()
258 ring->write_index = write_index; in ath12k_ce_rx_buf_enqueue_pipe()
644 unsigned int write_index, sw_index; in ath12k_ce_send() local
656 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
660 if (write_index >= sw_index) in ath12k_ce_send()
661 num_used = write_index - sw_index; in ath12k_ce_send()
664 write_index; in ath12k_ce_send()
677 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
705 pipe->src_ring->skb[write_index] = skb; in ath12k_ce_send()
706 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath12k_ce_send()
707 write_index); in ath12k_ce_send()
847 pipe->src_ring->write_index = 0; in ath12k_ce_init_pipes()
864 pipe->dest_ring->write_index = 0; in ath12k_ce_init_pipes()
878 pipe->status_ring->write_index = 0; in ath12k_ce_init_pipes()