Searched refs:tot_mem_sz (Results 1 – 2 of 2) sorted by relevance
7483 uint32_t tot_mem_sz; in qwz_dp_link_desc_setup() local7492 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in qwz_dp_link_desc_setup()7493 tot_mem_sz += HAL_LINK_DESC_ALIGN; in qwz_dp_link_desc_setup()7495 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in qwz_dp_link_desc_setup()7497 last_bank_sz = tot_mem_sz; in qwz_dp_link_desc_setup()7499 n_link_desc_bank = tot_mem_sz / in qwz_dp_link_desc_setup()7501 last_bank_sz = tot_mem_sz % (DP_LINK_DESC_ALLOC_SIZE_THRESH - in qwz_dp_link_desc_setup()7518 tot_mem_sz = entry_sz * n_link_desc; in qwz_dp_link_desc_setup()7521 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in qwz_dp_link_desc_setup()7523 ret = qwz_dp_scatter_idle_link_desc_setup(sc, tot_mem_sz, in qwz_dp_link_desc_setup()
9692 uint32_t tot_mem_sz; in qwx_dp_link_desc_setup() local9699 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in qwx_dp_link_desc_setup()9700 tot_mem_sz += HAL_LINK_DESC_ALIGN; in qwx_dp_link_desc_setup()9702 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in qwx_dp_link_desc_setup()9704 last_bank_sz = tot_mem_sz; in qwx_dp_link_desc_setup()9706 n_link_desc_bank = tot_mem_sz / in qwx_dp_link_desc_setup()9708 last_bank_sz = tot_mem_sz % (DP_LINK_DESC_ALLOC_SIZE_THRESH - in qwx_dp_link_desc_setup()9725 tot_mem_sz = entry_sz * n_link_desc; in qwx_dp_link_desc_setup()9728 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in qwx_dp_link_desc_setup()9730 ret = qwx_dp_scatter_idle_link_desc_setup(sc, tot_mem_sz, in qwx_dp_link_desc_setup()