Lines Matching refs:dest_ring
277 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_buf_enqueue_pipe()
329 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe()
383 sw_index = pipe->dest_ring->sw_index; in ath11k_ce_completed_recv_next()
384 nentries_mask = pipe->dest_ring->nentries_mask; in ath11k_ce_completed_recv_next()
400 *skb = pipe->dest_ring->skb[sw_index]; in ath11k_ce_completed_recv_next()
401 pipe->dest_ring->skb[sw_index] = NULL; in ath11k_ce_completed_recv_next()
404 pipe->dest_ring->sw_index = sw_index; in ath11k_ce_completed_recv_next()
675 pipe->dest_ring = ring; in ath11k_ce_alloc_pipe()
802 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_pipe_cleanup()
937 if (pipe->dest_ring) { in ath11k_ce_init_pipes()
938 ret = ath11k_ce_init_ring(ab, pipe->dest_ring, i, in ath11k_ce_init_pipes()
947 pipe->rx_buf_needed = pipe->dest_ring->nentries ? in ath11k_ce_init_pipes()
948 pipe->dest_ring->nentries - 2 : 0; in ath11k_ce_init_pipes()
950 pipe->dest_ring->write_index = 0; in ath11k_ce_init_pipes()
951 pipe->dest_ring->sw_index = 0; in ath11k_ce_init_pipes()
997 if (pipe->dest_ring) { in ath11k_ce_free_pipes()
999 ce_ring = pipe->dest_ring; in ath11k_ce_free_pipes()
1001 pipe->dest_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
1005 kfree(pipe->dest_ring); in ath11k_ce_free_pipes()
1006 pipe->dest_ring = NULL; in ath11k_ce_free_pipes()