Lines Matching refs:cdu_params
1299 u32 page_sz, elems_per_page, block_waste, cxt_size, cdu_params = 0; in qed_cdu_init_common() local
1307 SET_FIELD(cdu_params, CDUC_CXT_SIZE, cxt_size); in qed_cdu_init_common()
1308 SET_FIELD(cdu_params, CDUC_BLOCK_WASTE, block_waste); in qed_cdu_init_common()
1309 SET_FIELD(cdu_params, CDUC_NCIB, elems_per_page); in qed_cdu_init_common()
1310 STORE_RT_REG(p_hwfn, CDU_REG_CID_ADDR_PARAMS_RT_OFFSET, cdu_params); in qed_cdu_init_common()
1319 cdu_params = 0; in qed_cdu_init_common()
1320 SET_FIELD(cdu_params, CDUT_TYPE0_CXT_SIZE, (cxt_size >> 3)); in qed_cdu_init_common()
1321 SET_FIELD(cdu_params, CDUT_TYPE0_BLOCK_WASTE, (block_waste >> 3)); in qed_cdu_init_common()
1322 SET_FIELD(cdu_params, CDUT_TYPE0_NCIB, elems_per_page); in qed_cdu_init_common()
1323 STORE_RT_REG(p_hwfn, CDU_REG_SEGMENT0_PARAMS_RT_OFFSET, cdu_params); in qed_cdu_init_common()
1331 cdu_params = 0; in qed_cdu_init_common()
1332 SET_FIELD(cdu_params, CDUT_TYPE1_CXT_SIZE, (cxt_size >> 3)); in qed_cdu_init_common()
1333 SET_FIELD(cdu_params, CDUT_TYPE1_BLOCK_WASTE, (block_waste >> 3)); in qed_cdu_init_common()
1334 SET_FIELD(cdu_params, CDUT_TYPE1_NCIB, elems_per_page); in qed_cdu_init_common()
1335 STORE_RT_REG(p_hwfn, CDU_REG_SEGMENT1_PARAMS_RT_OFFSET, cdu_params); in qed_cdu_init_common()