Lines Matching refs:nentries
500 params.num_entries = ce_ring->nentries; in ath12k_ce_init_ring()
515 params.low_threshold = ce_ring->nentries - 3; in ath12k_ce_init_ring()
544 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) in ath12k_ce_alloc_ring() argument
549 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath12k_ce_alloc_ring()
553 ce_ring->nentries = nentries; in ath12k_ce_alloc_ring()
554 ce_ring->nentries_mask = nentries - 1; in ath12k_ce_alloc_ring()
561 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath12k_ce_alloc_ring()
585 int nentries; in ath12k_ce_alloc_pipe() local
592 nentries = roundup_pow_of_two(attr->src_nentries); in ath12k_ce_alloc_pipe()
594 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe()
602 nentries = roundup_pow_of_two(attr->dest_nentries); in ath12k_ce_alloc_pipe()
604 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe()
610 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe()
663 num_used = pipe->src_ring->nentries - sw_index + in ath12k_ce_send()
729 for (i = 0; i < ring->nentries; i++) { in ath12k_ce_rx_pipe_cleanup()
861 pipe->rx_buf_needed = pipe->dest_ring->nentries ? in ath12k_ce_init_pipes()
862 pipe->dest_ring->nentries - 2 : 0; in ath12k_ce_init_pipes()
898 pipe->src_ring->nentries * desc_sz + in ath12k_ce_free_pipes()
909 pipe->dest_ring->nentries * desc_sz + in ath12k_ce_free_pipes()
921 pipe->status_ring->nentries * desc_sz + in ath12k_ce_free_pipes()