Home
last modified time | relevance | path

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

/openbsd/sys/dev/ic/
H A Dqwz.c7483 uint32_t tot_mem_sz; in qwz_dp_link_desc_setup() local
7492 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()
H A Dqwx.c9692 uint32_t tot_mem_sz; in qwx_dp_link_desc_setup() local
9699 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()