Lines Matching refs:src_ring
462 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next()
463 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_completed_send_next()
465 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_completed_send_next()
477 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next()
479 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next()
482 pipe->src_ring->sw_index = sw_index; in ath11k_ce_completed_send_next()
645 pipe->src_ring = ring; in ath11k_ce_alloc_pipe()
705 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
707 sw_index = pipe->src_ring->sw_index; in ath11k_ce_send()
712 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
726 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
727 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_send()
729 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_send()
754 pipe->src_ring->skb[write_index] = skb; in ath11k_ce_send()
755 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath11k_ce_send()
904 if (pipe->src_ring) { in ath11k_ce_init_pipes()
905 ret = ath11k_ce_init_ring(ab, pipe->src_ring, i, in ath11k_ce_init_pipes()
914 pipe->src_ring->write_index = 0; in ath11k_ce_init_pipes()
915 pipe->src_ring->sw_index = 0; in ath11k_ce_init_pipes()
965 if (pipe->src_ring) { in ath11k_ce_free_pipes()
968 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
970 pipe->src_ring->base_addr_owner_space, in ath11k_ce_free_pipes()
971 pipe->src_ring->base_addr_ce_space); in ath11k_ce_free_pipes()
972 kfree(pipe->src_ring); in ath11k_ce_free_pipes()
973 pipe->src_ring = NULL; in ath11k_ce_free_pipes()