Searched refs:num_dwords (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_klv_helpers.c | 78 void xe_guc_klv_print(const u32 *klvs, u32 num_dwords, struct drm_printer *p) in xe_guc_klv_print() argument 80 while (num_dwords >= GUC_KLV_LEN_MIN) { in xe_guc_klv_print() 85 num_dwords -= GUC_KLV_LEN_MIN; in xe_guc_klv_print() 87 if (num_dwords < len) { in xe_guc_klv_print() 89 key, num_dwords * sizeof(u32), len * sizeof(u32), in xe_guc_klv_print() 90 (int)(num_dwords * sizeof(u32)), klvs, in xe_guc_klv_print() 117 num_dwords -= len; in xe_guc_klv_print() 132 int xe_guc_klv_count(const u32 *klvs, u32 num_dwords) in xe_guc_klv_count() argument 136 while (num_dwords >= GUC_KLV_LEN_MIN) { in xe_guc_klv_count() 139 if (num_dwords < len + GUC_KLV_LEN_MIN) in xe_guc_klv_count() [all …]
|
| H A D | xe_guc_klv_helpers.h | 16 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 D | xe_gt_sriov_pf_config.c | 77 static int pf_send_vf_buf_klvs(struct xe_gt *gt, u32 vfid, struct xe_guc_buf buf, u32 num_dwords) in pf_send_vf_buf_klvs() argument 81 return guc_action_update_vf_cfg(guc, vfid, xe_guc_buf_flush(buf), num_dwords); in pf_send_vf_buf_klvs() 89 struct xe_guc_buf buf, u32 num_dwords) in pf_push_vf_buf_klvs() argument 93 ret = pf_send_vf_buf_klvs(gt, vfid, buf, num_dwords); in pf_push_vf_buf_klvs() 104 xe_guc_klv_print(klvs, num_dwords, &p); in pf_push_vf_buf_klvs() 116 xe_guc_klv_print(klvs, num_dwords, &p); in pf_push_vf_buf_klvs() 127 const u32 *klvs, u32 num_dwords) in pf_push_vf_cfg_klvs() argument 129 CLASS(xe_guc_buf_from_data, buf)(>->uc.guc.buf, klvs, num_dwords * sizeof(u32)); in pf_push_vf_cfg_klvs() 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() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ring.c | 230 u32 *intel_ring_begin(struct i915_request *rq, unsigned int num_dwords) in intel_ring_begin() argument 234 const unsigned int bytes = num_dwords * sizeof(u32); in intel_ring_begin() 240 GEM_BUG_ON(num_dwords & 1); in intel_ring_begin()
|
| H A D | intel_ring.h | 18 u32 *intel_ring_begin(struct i915_request *rq, unsigned int num_dwords);
|
| /linux/drivers/mtd/spi-nor/ |
| H A D | sysfs.c | 60 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read()
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_ct.c | 868 static struct ct_incoming_msg *ct_alloc_msg(u32 num_dwords) in ct_alloc_msg() argument 872 msg = kmalloc(struct_size(msg, msg, num_dwords), GFP_ATOMIC); in ct_alloc_msg() 874 msg->size = num_dwords; in ct_alloc_msg()
|