Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Ddp.c665 u32 tot_mem_sz; in ath11k_dp_link_desc_setup() local
672 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath11k_dp_link_desc_setup()
673 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath11k_dp_link_desc_setup()
675 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath11k_dp_link_desc_setup()
677 last_bank_sz = tot_mem_sz; in ath11k_dp_link_desc_setup()
679 n_link_desc_bank = tot_mem_sz / in ath11k_dp_link_desc_setup()
682 last_bank_sz = tot_mem_sz % in ath11k_dp_link_desc_setup()
700 tot_mem_sz = entry_sz * n_link_desc; in ath11k_dp_link_desc_setup()
703 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath11k_dp_link_desc_setup()
705 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()