Searched refs:cdu_params (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_cxt.c | 1491 u32 page_sz, elems_per_page, block_waste, cxt_size, cdu_params = 0; in ecore_cdu_init_common() local 1499 SET_FIELD(cdu_params, CDUC_CXT_SIZE, cxt_size); in ecore_cdu_init_common() 1500 SET_FIELD(cdu_params, CDUC_BLOCK_WASTE, block_waste); in ecore_cdu_init_common() 1501 SET_FIELD(cdu_params, (u32)CDUC_NCIB, elems_per_page); in ecore_cdu_init_common() 1502 STORE_RT_REG(p_hwfn, CDU_REG_CID_ADDR_PARAMS_RT_OFFSET, cdu_params); in ecore_cdu_init_common() 1511 cdu_params = 0; in ecore_cdu_init_common() 1512 SET_FIELD(cdu_params, (u32)CDUT_TYPE0_CXT_SIZE, (cxt_size >> 3)); in ecore_cdu_init_common() 1513 SET_FIELD(cdu_params, CDUT_TYPE0_BLOCK_WASTE, (block_waste >> 3)); in ecore_cdu_init_common() 1514 SET_FIELD(cdu_params, CDUT_TYPE0_NCIB, elems_per_page); in ecore_cdu_init_common() 1515 STORE_RT_REG(p_hwfn, CDU_REG_SEGMENT0_PARAMS_RT_OFFSET, cdu_params); in ecore_cdu_init_common() [all …]
|