Searched refs:num_dbs (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_gt_sriov_pf_config.c | 266 cfg[n++] = config->num_dbs; in encode_config() 981 spare = gt->sriov.pf.spare.num_dbs; in pf_get_spare_dbs() 998 gt->sriov.pf.spare.num_dbs = spare; in pf_set_spare_dbs() 1023 pf_release_dbs(gt, config->begin_db, config->num_dbs); in pf_release_config_dbs() 1025 config->num_dbs = 0; in pf_release_config_dbs() 1028 static int pf_provision_vf_dbs(struct xe_gt *gt, unsigned int vfid, u32 num_dbs) in pf_provision_vf_dbs() argument 1035 if (num_dbs > GUC_NUM_DOORBELLS) in pf_provision_vf_dbs() 1038 if (config->num_dbs) { in pf_provision_vf_dbs() 1046 if (!num_dbs) in pf_provision_vf_dbs() 1049 ret = pf_reserve_dbs(gt, num_dbs); in pf_provision_vf_dbs() [all …]
|
D | xe_gt_sriov_pf_config_types.h | 29 u16 num_dbs; member 54 u16 num_dbs; member
|
D | xe_gt_sriov_vf.c | 391 u32 num_ctxs, num_dbs; in vf_get_submission_cfg() local 400 err = guc_action_query_single_klv32(guc, GUC_KLV_VF_CFG_NUM_DOORBELLS_KEY, &num_dbs); in vf_get_submission_cfg() 409 if (config->num_dbs && config->num_dbs != num_dbs) { in vf_get_submission_cfg() 411 num_dbs, config->num_dbs); 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() 418 config->num_dbs = num_dbs; in vf_get_submission_cfg() 963 drm_printf(p, "GuC doorbells:\t%u\n", config->num_dbs); in xe_gt_sriov_vf_print_config()
|
D | xe_gt_sriov_pf_config.h | 29 int xe_gt_sriov_pf_config_set_dbs(struct xe_gt *gt, unsigned int vfid, u32 num_dbs); 32 u32 num_dbs);
|
D | xe_gt_sriov_vf_types.h | 48 u16 num_dbs; member
|
/linux-6.12.1/drivers/net/ethernet/fungible/funcore/ |
D | fun_dev.c | 563 unsigned int cq_count, sq_count, num_dbs; in fun_get_dev_limits() local 585 num_dbs = (pci_resource_len(pdev, 0) - NVME_REG_DBS) >> in fun_get_dev_limits() 587 fdev->max_qid = min3(cq_count, sq_count, num_dbs / 2) - 1; in fun_get_dev_limits()
|