Lines Matching refs:write_index
269 unsigned int write_index; in ath11k_ce_rx_buf_enqueue_pipe() local
276 write_index = ring->write_index; in ath11k_ce_rx_buf_enqueue_pipe()
297 ring->skb[write_index] = skb; in ath11k_ce_rx_buf_enqueue_pipe()
298 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath11k_ce_rx_buf_enqueue_pipe()
299 ring->write_index = write_index; in ath11k_ce_rx_buf_enqueue_pipe()
693 unsigned int write_index, sw_index; in ath11k_ce_send() local
705 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
709 if (write_index >= sw_index) in ath11k_ce_send()
710 num_used = write_index - sw_index; in ath11k_ce_send()
713 write_index; in ath11k_ce_send()
726 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
754 pipe->src_ring->skb[write_index] = skb; in ath11k_ce_send()
755 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath11k_ce_send()
756 write_index); in ath11k_ce_send()
914 pipe->src_ring->write_index = 0; in ath11k_ce_init_pipes()
931 pipe->dest_ring->write_index = 0; in ath11k_ce_init_pipes()
945 pipe->status_ring->write_index = 0; in ath11k_ce_init_pipes()