Lines Matching refs:nentries
488 params.num_entries = ce_ring->nentries; in ath11k_ce_init_ring()
503 params.low_threshold = ce_ring->nentries - 3; in ath11k_ce_init_ring()
538 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument
543 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath11k_ce_alloc_ring()
547 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring()
548 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring()
555 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring()
579 int nentries; in ath11k_ce_alloc_pipe() local
586 nentries = roundup_pow_of_two(attr->src_nentries); in ath11k_ce_alloc_pipe()
588 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
596 nentries = roundup_pow_of_two(attr->dest_nentries); in ath11k_ce_alloc_pipe()
598 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
604 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
658 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
733 for (i = 0; i < ring->nentries; i++) { in ath11k_ce_rx_pipe_cleanup()
874 pipe->rx_buf_needed = pipe->dest_ring->nentries ? in ath11k_ce_init_pipes()
875 pipe->dest_ring->nentries - 2 : 0; in ath11k_ce_init_pipes()
914 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
925 pipe->dest_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
937 pipe->status_ring->nentries * desc_sz + in ath11k_ce_free_pipes()