Lines Matching refs:nentries
564 params.num_entries = ce_ring->nentries; in ath11k_ce_init_ring()
579 params.low_threshold = ce_ring->nentries - 3; in ath11k_ce_init_ring()
614 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument
619 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath11k_ce_alloc_ring()
623 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring()
624 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring()
631 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring()
655 int nentries; in ath11k_ce_alloc_pipe() local
662 nentries = roundup_pow_of_two(attr->src_nentries); in ath11k_ce_alloc_pipe()
664 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
672 nentries = roundup_pow_of_two(attr->dest_nentries); in ath11k_ce_alloc_pipe()
674 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
680 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
736 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
811 for (i = 0; i < ring->nentries; i++) { in ath11k_ce_rx_pipe_cleanup()
949 pipe->rx_buf_needed = pipe->dest_ring->nentries ? in ath11k_ce_init_pipes()
950 pipe->dest_ring->nentries - 2 : 0; in ath11k_ce_init_pipes()
991 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
1003 pipe->dest_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
1016 pipe->status_ring->nentries * desc_sz + in ath11k_ce_free_pipes()