Home
last modified time | relevance | path

Searched refs:num_dwords (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
A Dintel_ring.c227 u32 *intel_ring_begin(struct i915_request *rq, unsigned int num_dwords) in intel_ring_begin() argument
231 const unsigned int bytes = num_dwords * sizeof(u32); in intel_ring_begin()
237 GEM_BUG_ON(num_dwords & 1); in intel_ring_begin()
310 int num_dwords; in intel_ring_cacheline_align() local
313 num_dwords = (rq->ring->emit & (CACHELINE_BYTES - 1)) / sizeof(u32); in intel_ring_cacheline_align()
314 if (num_dwords == 0) in intel_ring_cacheline_align()
317 num_dwords = CACHELINE_DWORDS - num_dwords; in intel_ring_cacheline_align()
318 GEM_BUG_ON(num_dwords & 1); in intel_ring_cacheline_align()
320 cs = intel_ring_begin(rq, num_dwords); in intel_ring_cacheline_align()
324 memset64(cs, (u64)MI_NOOP << 32 | MI_NOOP, num_dwords / 2); in intel_ring_cacheline_align()
[all …]
A Dintel_ring.h18 u32 *intel_ring_begin(struct i915_request *rq, unsigned int num_dwords);
/linux/drivers/mtd/spi-nor/
A Dsysfs.c58 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read()
A Dcore.h470 size_t num_dwords; member
A Dsfdp.c1335 sfdp->num_dwords = DIV_ROUND_UP(sfdp_size, sizeof(*sfdp->dwords)); in spi_nor_parse_sfdp()
1336 sfdp->dwords = devm_kcalloc(dev, sfdp->num_dwords, in spi_nor_parse_sfdp()
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_ct.c772 static struct ct_incoming_msg *ct_alloc_msg(u32 num_dwords) in ct_alloc_msg() argument
776 msg = kmalloc(sizeof(*msg) + sizeof(u32) * num_dwords, GFP_ATOMIC); in ct_alloc_msg()
778 msg->size = num_dwords; in ct_alloc_msg()
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_pm4_headers_ai.h565 uint32_t num_dwords:16; member

Completed in 18 milliseconds