Lines Matching refs:n_link_desc
609 u32 n_link_desc, in ath12k_dp_scatter_idle_link_desc_setup() argument
672 n_link_desc, end_offset); in ath12k_dp_scatter_idle_link_desc_setup()
750 static int ath12k_wbm_idle_ring_setup(struct ath12k_base *ab, u32 *n_link_desc) in ath12k_wbm_idle_ring_setup() argument
771 *n_link_desc = n_mpdu_link_desc + n_mpdu_queue_desc + in ath12k_wbm_idle_ring_setup()
774 if (*n_link_desc & (*n_link_desc - 1)) in ath12k_wbm_idle_ring_setup()
775 *n_link_desc = 1 << fls(*n_link_desc); in ath12k_wbm_idle_ring_setup()
778 HAL_WBM_IDLE_LINK, 0, 0, *n_link_desc); in ath12k_wbm_idle_ring_setup()
789 u32 n_link_desc) in ath12k_dp_link_desc_setup() argument
799 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath12k_dp_link_desc_setup()
827 tot_mem_sz = entry_sz * n_link_desc; in ath12k_dp_link_desc_setup()
834 n_link_desc, in ath12k_dp_link_desc_setup()
1517 u32 n_link_desc = 0; in ath12k_dp_alloc() local
1529 ret = ath12k_wbm_idle_ring_setup(ab, &n_link_desc); in ath12k_dp_alloc()
1538 HAL_WBM_IDLE_LINK, srng, n_link_desc); in ath12k_dp_alloc()