Home
last modified time | relevance | path

Searched refs:tot_mem_sz (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddp.c685 u32 tot_mem_sz; in ath11k_dp_link_desc_setup() local
692 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath11k_dp_link_desc_setup()
693 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath11k_dp_link_desc_setup()
695 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath11k_dp_link_desc_setup()
697 last_bank_sz = tot_mem_sz; in ath11k_dp_link_desc_setup()
699 n_link_desc_bank = tot_mem_sz / in ath11k_dp_link_desc_setup()
702 last_bank_sz = tot_mem_sz % in ath11k_dp_link_desc_setup()
720 tot_mem_sz = entry_sz * n_link_desc; in ath11k_dp_link_desc_setup()
723 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath11k_dp_link_desc_setup()
725 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()