Lines Matching refs:src_ring
420 sw_index = pipe->src_ring->sw_index; in ath12k_ce_completed_send_next()
421 nentries_mask = pipe->src_ring->nentries_mask; in ath12k_ce_completed_send_next()
423 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath12k_ce_completed_send_next()
435 skb = pipe->src_ring->skb[sw_index]; in ath12k_ce_completed_send_next()
437 pipe->src_ring->skb[sw_index] = NULL; in ath12k_ce_completed_send_next()
440 pipe->src_ring->sw_index = sw_index; in ath12k_ce_completed_send_next()
597 pipe->src_ring = ring; in ath12k_ce_alloc_pipe()
656 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
658 sw_index = pipe->src_ring->sw_index; in ath12k_ce_send()
663 num_used = pipe->src_ring->nentries - sw_index + in ath12k_ce_send()
677 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
678 nentries_mask = pipe->src_ring->nentries_mask; in ath12k_ce_send()
680 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath12k_ce_send()
705 pipe->src_ring->skb[write_index] = skb; in ath12k_ce_send()
706 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath12k_ce_send()
837 if (pipe->src_ring) { in ath12k_ce_init_pipes()
838 ret = ath12k_ce_init_ring(ab, pipe->src_ring, i, in ath12k_ce_init_pipes()
847 pipe->src_ring->write_index = 0; in ath12k_ce_init_pipes()
848 pipe->src_ring->sw_index = 0; in ath12k_ce_init_pipes()
895 if (pipe->src_ring) { in ath12k_ce_free_pipes()
898 pipe->src_ring->nentries * desc_sz + in ath12k_ce_free_pipes()
900 pipe->src_ring->base_addr_owner_space, in ath12k_ce_free_pipes()
901 pipe->src_ring->base_addr_ce_space); in ath12k_ce_free_pipes()
902 kfree(pipe->src_ring); in ath12k_ce_free_pipes()
903 pipe->src_ring = NULL; in ath12k_ce_free_pipes()