Lines Matching refs:src_ring
409 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next()
410 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_completed_send_next()
412 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_completed_send_next()
424 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next()
426 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next()
429 pipe->src_ring->sw_index = sw_index; in ath11k_ce_completed_send_next()
591 pipe->src_ring = ring; in ath11k_ce_alloc_pipe()
651 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
653 sw_index = pipe->src_ring->sw_index; in ath11k_ce_send()
658 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
672 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
673 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_send()
675 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_send()
700 pipe->src_ring->skb[write_index] = skb; in ath11k_ce_send()
701 pipe->src_ring->write_index = CE_RING_IDX_INCR(nentries_mask, in ath11k_ce_send()
850 if (pipe->src_ring) { in ath11k_ce_init_pipes()
851 ret = ath11k_ce_init_ring(ab, pipe->src_ring, i, in ath11k_ce_init_pipes()
860 pipe->src_ring->write_index = 0; in ath11k_ce_init_pipes()
861 pipe->src_ring->sw_index = 0; in ath11k_ce_init_pipes()
911 if (pipe->src_ring) { in ath11k_ce_free_pipes()
914 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
916 pipe->src_ring->base_addr_owner_space, in ath11k_ce_free_pipes()
917 pipe->src_ring->base_addr_ce_space); in ath11k_ce_free_pipes()
918 kfree(pipe->src_ring); in ath11k_ce_free_pipes()
919 pipe->src_ring = NULL; in ath11k_ce_free_pipes()