Home
last modified time | relevance | path

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

/openbsd/sys/dev/ic/
H A Dqwx.c9688 uint32_t tot_mem_sz; in qwx_dp_link_desc_setup() local
9695 tot_mem_sz = n_link_desc * HAL_LINK_DESC_SIZE; in qwx_dp_link_desc_setup()
9696 tot_mem_sz += HAL_LINK_DESC_ALIGN; in qwx_dp_link_desc_setup()
9698 if (tot_mem_sz <= DP_LINK_DESC_ALLOC_SIZE_THRESH) { in qwx_dp_link_desc_setup()
9700 last_bank_sz = tot_mem_sz; in qwx_dp_link_desc_setup()
9702 n_link_desc_bank = tot_mem_sz / in qwx_dp_link_desc_setup()
9704 last_bank_sz = tot_mem_sz % (DP_LINK_DESC_ALLOC_SIZE_THRESH - in qwx_dp_link_desc_setup()
9721 tot_mem_sz = entry_sz * n_link_desc; in qwx_dp_link_desc_setup()
9724 if (tot_mem_sz > DP_LINK_DESC_ALLOC_SIZE_THRESH && in qwx_dp_link_desc_setup()
9726 ret = qwx_dp_scatter_idle_link_desc_setup(sc, tot_mem_sz, in qwx_dp_link_desc_setup()