Searched refs:num_klvs (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_klv_helpers.c | 132 int num_klvs = 0; in xe_guc_klv_count() local 142 num_klvs++; in xe_guc_klv_count() 145 return num_dwords ? -ENODATA : num_klvs; in xe_guc_klv_count()
|
H A D | xe_gt_sriov_pf_policy.c | 67 static int pf_push_policy_klvs(struct xe_gt *gt, u32 num_klvs, in pf_push_policy_klvs() argument 72 xe_gt_assert(gt, num_klvs == xe_guc_klv_count(klvs, num_dwords)); in pf_push_policy_klvs() 76 if (ret != num_klvs) { in pf_push_policy_klvs() 77 int err = ret < 0 ? ret : ret < num_klvs ? -ENOKEY : -EPROTO; in pf_push_policy_klvs() 81 num_klvs, str_plural(num_klvs), ERR_PTR(err)); in pf_push_policy_klvs()
|
H A D | xe_gt_sriov_pf_config.c | 103 static int pf_push_vf_cfg_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs, in pf_push_vf_cfg_klvs() argument 108 xe_gt_assert(gt, num_klvs == xe_guc_klv_count(klvs, num_dwords)); in pf_push_vf_cfg_klvs() 112 if (ret != num_klvs) { in pf_push_vf_cfg_klvs() 113 int err = ret < 0 ? ret : ret < num_klvs ? -ENOKEY : -EPROTO; in pf_push_vf_cfg_klvs() 119 num_klvs, str_plural(num_klvs), ERR_PTR(err)); in pf_push_vf_cfg_klvs() 296 int num_klvs; in pf_push_full_vf_config() local 319 num_klvs = xe_guc_klv_count(cfg, num_dwords); in pf_push_full_vf_config() 320 err = pf_push_vf_cfg_klvs(gt, vfid, num_klvs, cfg, num_dwords); in pf_push_full_vf_config()
|