Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/
Dvrfb.c66 static int num_ctxs; variable
289 for (ctx = 0; ctx < num_ctxs; ++ctx) in omap_vrfb_request_ctx()
293 if (ctx == num_ctxs) { in omap_vrfb_request_ctx()
346 num_ctxs = pdev->num_resources - 1; in vrfb_probe()
349 num_ctxs, sizeof(struct vrfb_ctx), in vrfb_probe()
355 for (i = 0; i < num_ctxs; ++i) { in vrfb_probe()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_sriov_pf_config.c260 cfg[n++] = config->num_ctxs; in encode_config()
683 spare = gt->sriov.pf.spare.num_ctxs; in pf_get_spare_ctxs()
700 gt->sriov.pf.spare.num_ctxs = spare; in pf_set_spare_ctxs()
726 pf_release_ctxs(gt, config->begin_ctx, config->num_ctxs); in pf_release_config_ctxs()
728 config->num_ctxs = 0; in pf_release_config_ctxs()
731 static int pf_provision_vf_ctxs(struct xe_gt *gt, unsigned int vfid, u32 num_ctxs) in pf_provision_vf_ctxs() argument
738 if (num_ctxs > GUC_ID_MAX) in pf_provision_vf_ctxs()
741 if (config->num_ctxs) { in pf_provision_vf_ctxs()
749 if (!num_ctxs) in pf_provision_vf_ctxs()
752 ret = pf_reserve_ctxs(gt, num_ctxs); in pf_provision_vf_ctxs()
[all …]
Dxe_gt_sriov_pf_config_types.h25 u16 num_ctxs; member
52 u16 num_ctxs; member
Dxe_gt_sriov_vf.c391 u32 num_ctxs, num_dbs; in vf_get_submission_cfg() local
396 err = guc_action_query_single_klv32(guc, GUC_KLV_VF_CFG_NUM_CONTEXTS_KEY, &num_ctxs); in vf_get_submission_cfg()
404 if (config->num_ctxs && config->num_ctxs != num_ctxs) { in vf_get_submission_cfg()
406 num_ctxs, config->num_ctxs); in vf_get_submission_cfg()
415 xe_gt_sriov_dbg_verbose(gt, "CTXs %u DBs %u\n", num_ctxs, num_dbs); in vf_get_submission_cfg()
417 config->num_ctxs = num_ctxs; in vf_get_submission_cfg()
420 return config->num_ctxs ? 0 : -ENODATA; in vf_get_submission_cfg()
476 xe_gt_assert(gt, gt->sriov.vf.self_config.num_ctxs); in xe_gt_sriov_vf_guc_ids()
478 return gt->sriov.vf.self_config.num_ctxs; in xe_gt_sriov_vf_guc_ids()
962 drm_printf(p, "GuC contexts:\t%u\n", config->num_ctxs); in xe_gt_sriov_vf_print_config()
Dxe_gt_sriov_pf_config.h23 int xe_gt_sriov_pf_config_set_ctxs(struct xe_gt *gt, unsigned int vfid, u32 num_ctxs);
26 u32 num_ctxs);
Dxe_gt_sriov_vf_types.h46 u16 num_ctxs; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.h109 void bnxt_set_ulp_stat_ctxs(struct bnxt *bp, int num_ctxs);