Searched refs:tot_mem_sz (Results 1 – 2 of 2) sorted by relevance
687 u32 tot_mem_sz; in ath11k_dp_link_desc_setup() local694 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath11k_dp_link_desc_setup()695 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath11k_dp_link_desc_setup()697 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath11k_dp_link_desc_setup()699 last_bank_sz = tot_mem_sz; in ath11k_dp_link_desc_setup()701 n_link_desc_bank = tot_mem_sz / in ath11k_dp_link_desc_setup()704 last_bank_sz = tot_mem_sz % in ath11k_dp_link_desc_setup()722 tot_mem_sz = entry_sz * n_link_desc; in ath11k_dp_link_desc_setup()725 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath11k_dp_link_desc_setup()727 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()
780 u32 tot_mem_sz; in ath12k_dp_link_desc_setup() local788 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath12k_dp_link_desc_setup()789 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath12k_dp_link_desc_setup()791 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath12k_dp_link_desc_setup()793 last_bank_sz = tot_mem_sz; in ath12k_dp_link_desc_setup()795 n_link_desc_bank = tot_mem_sz / in ath12k_dp_link_desc_setup()798 last_bank_sz = tot_mem_sz % in ath12k_dp_link_desc_setup()816 tot_mem_sz = entry_sz * n_link_desc; in ath12k_dp_link_desc_setup()819 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath12k_dp_link_desc_setup()821 ret = ath12k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath12k_dp_link_desc_setup()