Lines Matching refs:nentries
542 params.num_entries = ce_ring->nentries; in ath11k_ce_init_ring()
557 params.low_threshold = ce_ring->nentries - 3; in ath11k_ce_init_ring()
592 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument
597 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath11k_ce_alloc_ring()
601 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring()
602 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring()
609 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring()
633 int nentries; in ath11k_ce_alloc_pipe() local
640 nentries = roundup_pow_of_two(attr->src_nentries); in ath11k_ce_alloc_pipe()
642 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
650 nentries = roundup_pow_of_two(attr->dest_nentries); in ath11k_ce_alloc_pipe()
652 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
658 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
712 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
787 for (i = 0; i < ring->nentries; i++) { in ath11k_ce_rx_pipe_cleanup()
928 pipe->rx_buf_needed = pipe->dest_ring->nentries ? in ath11k_ce_init_pipes()
929 pipe->dest_ring->nentries - 2 : 0; in ath11k_ce_init_pipes()
968 pipe->src_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
979 pipe->dest_ring->nentries * desc_sz + in ath11k_ce_free_pipes()
991 pipe->status_ring->nentries * desc_sz + in ath11k_ce_free_pipes()