Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath11k/
Ddp.c653 u32 tot_mem_sz; in ath11k_dp_link_desc_setup() local
660 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath11k_dp_link_desc_setup()
661 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath11k_dp_link_desc_setup()
663 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath11k_dp_link_desc_setup()
665 last_bank_sz = tot_mem_sz; in ath11k_dp_link_desc_setup()
667 n_link_desc_bank = tot_mem_sz / in ath11k_dp_link_desc_setup()
670 last_bank_sz = tot_mem_sz % in ath11k_dp_link_desc_setup()
688 tot_mem_sz = entry_sz * n_link_desc; in ath11k_dp_link_desc_setup()
691 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath11k_dp_link_desc_setup()
693 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()