Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c320 u32 cxt_size = CONN_CXT_SIZE(p_hwfn); in qed_cxt_set_proto_cid_count() local
321 u32 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in qed_cxt_set_proto_cid_count()
1298 u32 page_sz, elems_per_page, block_waste, cxt_size, cdu_params = 0; in qed_cdu_init_common() local
1302 cxt_size = CONN_CXT_SIZE(p_hwfn); in qed_cdu_init_common()
1303 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in qed_cdu_init_common()
1304 block_waste = ILT_PAGE_IN_BYTES(page_sz) - elems_per_page * cxt_size; in qed_cdu_init_common()
1306 SET_FIELD(cdu_params, CDUC_CXT_SIZE, cxt_size); in qed_cdu_init_common()
1313 cxt_size = p_hwfn->p_cxt_mngr->task_type_size[0]; in qed_cdu_init_common()
1314 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in qed_cdu_init_common()
1315 block_waste = ILT_PAGE_IN_BYTES(page_sz) - elems_per_page * cxt_size; in qed_cdu_init_common()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c266 u32 cxt_size; in intel_engine_context_size() local
289 cxt_size = intel_uncore_read(uncore, GEN7_CXT_SIZE); in intel_engine_context_size()
290 return round_up(GEN7_CXT_TOTAL_SIZE(cxt_size) * 64, in intel_engine_context_size()
293 cxt_size = intel_uncore_read(uncore, CXT_SIZE); in intel_engine_context_size()
294 return round_up(GEN6_CXT_TOTAL_SIZE(cxt_size) * 64, in intel_engine_context_size()
308 cxt_size = intel_uncore_read(uncore, CXT_SIZE) + 1; in intel_engine_context_size()
311 GRAPHICS_VER(gt->i915), cxt_size * 64, in intel_engine_context_size()
312 cxt_size - 1); in intel_engine_context_size()
313 return round_up(cxt_size * 64, PAGE_SIZE); in intel_engine_context_size()