Searched refs:num_klvs (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_klv_helpers.c | 134 int num_klvs = 0; in xe_guc_klv_count() local 144 num_klvs++; in xe_guc_klv_count() 147 return num_dwords ? -ENODATA : num_klvs; in xe_guc_klv_count()
|
| H A D | xe_gt_sriov_pf_config.c | 88 static int pf_push_vf_buf_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs, in pf_push_vf_buf_klvs() argument 95 if (ret != num_klvs) { in pf_push_vf_buf_klvs() 96 int err = ret < 0 ? ret : ret < num_klvs ? -ENOKEY : -EPROTO; in pf_push_vf_buf_klvs() 103 num_klvs, str_plural(num_klvs), ERR_PTR(err)); in pf_push_vf_buf_klvs() 115 num_klvs, str_plural(num_klvs)); in pf_push_vf_buf_klvs() 126 static int pf_push_vf_cfg_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs, in pf_push_vf_cfg_klvs() argument 131 xe_gt_assert(gt, num_klvs == xe_guc_klv_count(klvs, num_dwords)); in pf_push_vf_cfg_klvs() 136 return pf_push_vf_buf_klvs(gt, vfid, num_klvs, buf, num_dwords); in pf_push_vf_cfg_klvs() 323 int num_klvs; in pf_push_full_vf_config() local 357 num_klvs = xe_guc_klv_count(cfg, num_dwords); in pf_push_full_vf_config() [all …]
|