Home
last modified time | relevance | path

Searched refs:klvs (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_klv_helpers.c76 void xe_guc_klv_print(const u32 *klvs, u32 num_dwords, struct drm_printer *p) in xe_guc_klv_print() argument
79 u32 key = FIELD_GET(GUC_KLV_0_KEY, klvs[0]); in xe_guc_klv_print()
80 u32 len = FIELD_GET(GUC_KLV_0_LEN, klvs[0]); in xe_guc_klv_print()
82 klvs += GUC_KLV_LEN_MIN; in xe_guc_klv_print()
88 (int)(num_dwords * sizeof(u32)), klvs, in xe_guc_klv_print()
100 key, klvs[0], xe_guc_klv_key_to_string(key)); in xe_guc_klv_print()
104 key, make_u64(klvs[1], klvs[0]), in xe_guc_klv_print()
110 klvs, xe_guc_klv_key_to_string(key)); in xe_guc_klv_print()
114 klvs += len; in xe_guc_klv_print()
130 int xe_guc_klv_count(const u32 *klvs, u32 num_dwords) in xe_guc_klv_count() argument
[all …]
H A Dxe_gt_sriov_pf_policy.c37 static int pf_send_policy_klvs(struct xe_gt *gt, const u32 *klvs, u32 num_dwords) in pf_send_policy_klvs() argument
54 xe_map_memcpy_to(xe, &bo->vmap, 0, klvs, bytes); in pf_send_policy_klvs()
68 const u32 *klvs, u32 num_dwords) 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()
74 ret = pf_send_policy_klvs(gt, klvs, num_dwords); in pf_push_policy_klvs()
82 xe_guc_klv_print(klvs, num_dwords, &p); in pf_push_policy_klvs()
H A Dxe_guc_klv_helpers.h16 void xe_guc_klv_print(const u32 *klvs, u32 num_dwords, struct drm_printer *p);
17 int xe_guc_klv_count(const u32 *klvs, u32 num_dwords);
H A Dxe_gt_sriov_pf_config.c72 static int pf_send_vf_cfg_klvs(struct xe_gt *gt, u32 vfid, const u32 *klvs, u32 num_dwords) in pf_send_vf_cfg_klvs() argument
90 xe_map_memcpy_to(xe, &bo->vmap, 0, klvs, bytes); in pf_send_vf_cfg_klvs()
104 const u32 *klvs, u32 num_dwords) 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()
110 ret = pf_send_vf_cfg_klvs(gt, vfid, klvs, num_dwords); in pf_push_vf_cfg_klvs()
120 xe_guc_klv_print(klvs, num_dwords, &p); in pf_push_vf_cfg_klvs()
127 xe_guc_klv_print(klvs, num_dwords, &p); in pf_push_vf_cfg_klvs()
156 u32 klvs[] = { in pf_push_vf_cfg_ggtt() local
165 return pf_push_vf_cfg_klvs(gt, vfid, 2, klvs, ARRAY_SIZE(klvs)); in pf_push_vf_cfg_ggtt()
170 u32 klvs[] = { in pf_push_vf_cfg_ctxs() local
[all …]