Searched refs:tot_mem_sz (Results 1 – 2 of 2) sorted by relevance
688 u32 tot_mem_sz; in ath11k_dp_link_desc_setup() local695 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath11k_dp_link_desc_setup()696 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath11k_dp_link_desc_setup()698 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath11k_dp_link_desc_setup()700 last_bank_sz = tot_mem_sz; in ath11k_dp_link_desc_setup()702 n_link_desc_bank = tot_mem_sz / in ath11k_dp_link_desc_setup()705 last_bank_sz = tot_mem_sz % in ath11k_dp_link_desc_setup()723 tot_mem_sz = entry_sz * n_link_desc; in ath11k_dp_link_desc_setup()726 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath11k_dp_link_desc_setup()728 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()
790 u32 tot_mem_sz; in ath12k_dp_link_desc_setup() local799 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath12k_dp_link_desc_setup()800 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath12k_dp_link_desc_setup()802 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath12k_dp_link_desc_setup()804 last_bank_sz = tot_mem_sz; in ath12k_dp_link_desc_setup()806 n_link_desc_bank = tot_mem_sz / in ath12k_dp_link_desc_setup()809 last_bank_sz = tot_mem_sz % in ath12k_dp_link_desc_setup()827 tot_mem_sz = entry_sz * n_link_desc; in ath12k_dp_link_desc_setup()830 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath12k_dp_link_desc_setup()832 ret = ath12k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath12k_dp_link_desc_setup()