Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddp.c695 u32 tot_mem_sz; in ath11k_dp_link_desc_setup() local
702 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath11k_dp_link_desc_setup()
703 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath11k_dp_link_desc_setup()
705 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath11k_dp_link_desc_setup()
707 last_bank_sz = tot_mem_sz; in ath11k_dp_link_desc_setup()
709 n_link_desc_bank = tot_mem_sz / in ath11k_dp_link_desc_setup()
712 last_bank_sz = tot_mem_sz % in ath11k_dp_link_desc_setup()
730 tot_mem_sz = entry_sz * n_link_desc; in ath11k_dp_link_desc_setup()
733 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath11k_dp_link_desc_setup()
735 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddp.c785 u32 tot_mem_sz; in ath12k_dp_link_desc_setup() local
793 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in ath12k_dp_link_desc_setup()
794 tot_mem_sz += HAL_LINK_DESC_ALIGN; in ath12k_dp_link_desc_setup()
796 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in ath12k_dp_link_desc_setup()
798 last_bank_sz = tot_mem_sz; in ath12k_dp_link_desc_setup()
800 n_link_desc_bank = tot_mem_sz / in ath12k_dp_link_desc_setup()
803 last_bank_sz = tot_mem_sz % in ath12k_dp_link_desc_setup()
821 tot_mem_sz = entry_sz * n_link_desc; in ath12k_dp_link_desc_setup()
824 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in ath12k_dp_link_desc_setup()
826 ret = ath12k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath12k_dp_link_desc_setup()