Lines Matching refs:src_ring
468 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next()
469 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_completed_send_next()
471 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_completed_send_next()
483 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next()
485 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next()
488 pipe->src_ring->sw_index = sw_index; in ath11k_ce_completed_send_next()
665 pipe->src_ring = ring; in ath11k_ce_alloc_pipe()
727 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
729 sw_index = pipe->src_ring->sw_index; in ath11k_ce_send()
734 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
748 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
749 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_send()
751 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_send()
776 pipe->src_ring->skb[write_index] = skb; in ath11k_ce_send()
777 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath11k_ce_send()
923 if (pipe->src_ring) { in ath11k_ce_init_pipes()
924 ret = ath11k_ce_init_ring(ab, pipe->src_ring, i, in ath11k_ce_init_pipes()
933 pipe->src_ring->write_index = 0; in ath11k_ce_init_pipes()
934 pipe->src_ring->sw_index = 0; in ath11k_ce_init_pipes()
985 if (pipe->src_ring) { in ath11k_ce_free_pipes()
987 ce_ring = pipe->src_ring; in ath11k_ce_free_pipes()
989 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
993 kfree(pipe->src_ring); in ath11k_ce_free_pipes()
994 pipe->src_ring = NULL; in ath11k_ce_free_pipes()