Lines Matching refs:write_index
318 unsigned int write_index; in ath12k_ce_rx_buf_enqueue_pipe() local
325 write_index = ring->write_index; in ath12k_ce_rx_buf_enqueue_pipe()
346 ring->skb[write_index] = skb; in ath12k_ce_rx_buf_enqueue_pipe()
347 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath12k_ce_rx_buf_enqueue_pipe()
348 ring->write_index = write_index; in ath12k_ce_rx_buf_enqueue_pipe()
730 unsigned int write_index, sw_index; in ath12k_ce_send() local
742 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
746 if (write_index >= sw_index) in ath12k_ce_send()
747 num_used = write_index - sw_index; in ath12k_ce_send()
750 write_index; in ath12k_ce_send()
763 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
791 pipe->src_ring->skb[write_index] = skb; in ath12k_ce_send()
792 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath12k_ce_send()
793 write_index); in ath12k_ce_send()
933 pipe->src_ring->write_index = 0; in ath12k_ce_init_pipes()
950 pipe->dest_ring->write_index = 0; in ath12k_ce_init_pipes()
964 pipe->status_ring->write_index = 0; in ath12k_ce_init_pipes()