Lines Matching refs:dest_ring
275 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_buf_enqueue_pipe()
327 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe()
381 sw_index = pipe->dest_ring->sw_index; in ath11k_ce_completed_recv_next()
382 nentries_mask = pipe->dest_ring->nentries_mask; in ath11k_ce_completed_recv_next()
402 *skb = pipe->dest_ring->skb[sw_index]; in ath11k_ce_completed_recv_next()
403 pipe->dest_ring->skb[sw_index] = NULL; in ath11k_ce_completed_recv_next()
406 pipe->dest_ring->sw_index = sw_index; in ath11k_ce_completed_recv_next()
677 pipe->dest_ring = ring; in ath11k_ce_alloc_pipe()
804 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_pipe_cleanup()
939 if (pipe->dest_ring) { in ath11k_ce_init_pipes()
940 ret = ath11k_ce_init_ring(ab, pipe->dest_ring, i, in ath11k_ce_init_pipes()
949 pipe->rx_buf_needed = pipe->dest_ring->nentries ? in ath11k_ce_init_pipes()
950 pipe->dest_ring->nentries - 2 : 0; in ath11k_ce_init_pipes()
952 pipe->dest_ring->write_index = 0; in ath11k_ce_init_pipes()
953 pipe->dest_ring->sw_index = 0; in ath11k_ce_init_pipes()
999 if (pipe->dest_ring) { in ath11k_ce_free_pipes()
1001 ce_ring = pipe->dest_ring; in ath11k_ce_free_pipes()
1003 pipe->dest_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
1007 kfree(pipe->dest_ring); in ath11k_ce_free_pipes()
1008 pipe->dest_ring = NULL; in ath11k_ce_free_pipes()