Lines Matching refs:src_ring

506 	sw_index = pipe->src_ring->sw_index;  in ath12k_ce_completed_send_next()
507 nentries_mask = pipe->src_ring->nentries_mask; in ath12k_ce_completed_send_next()
509 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath12k_ce_completed_send_next()
521 skb = pipe->src_ring->skb[sw_index]; in ath12k_ce_completed_send_next()
523 pipe->src_ring->skb[sw_index] = NULL; in ath12k_ce_completed_send_next()
526 pipe->src_ring->sw_index = sw_index; in ath12k_ce_completed_send_next()
683 pipe->src_ring = ring; in ath12k_ce_alloc_pipe()
742 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
744 sw_index = pipe->src_ring->sw_index; in ath12k_ce_send()
749 num_used = pipe->src_ring->nentries - sw_index + in ath12k_ce_send()
763 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
764 nentries_mask = pipe->src_ring->nentries_mask; in ath12k_ce_send()
766 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath12k_ce_send()
791 pipe->src_ring->skb[write_index] = skb; in ath12k_ce_send()
792 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath12k_ce_send()
923 if (pipe->src_ring) { in ath12k_ce_init_pipes()
924 ret = ath12k_ce_init_ring(ab, pipe->src_ring, i, in ath12k_ce_init_pipes()
933 pipe->src_ring->write_index = 0; in ath12k_ce_init_pipes()
934 pipe->src_ring->sw_index = 0; in ath12k_ce_init_pipes()
981 if (pipe->src_ring) { in ath12k_ce_free_pipes()
984 pipe->src_ring->nentries * desc_sz + in ath12k_ce_free_pipes()
986 pipe->src_ring->base_addr_owner_space, in ath12k_ce_free_pipes()
987 pipe->src_ring->base_addr_ce_space); in ath12k_ce_free_pipes()
988 kfree(pipe->src_ring); in ath12k_ce_free_pipes()
989 pipe->src_ring = NULL; in ath12k_ce_free_pipes()