Home
last modified time | relevance | path

Searched refs:gt__ (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_types.h91 #define gt_to_tile(gt__) \ argument
92 _Generic(gt__, \
93 const struct xe_gt * : (const struct xe_tile *)((gt__)->tile), \
94 struct xe_gt * : (gt__)->tile)
96 #define gt_to_xe(gt__) \ argument
97 _Generic(gt__, \
98 const struct xe_gt * : (const struct xe_device *)(gt_to_tile(gt__)->xe), \
99 struct xe_gt * : gt_to_tile(gt__)->xe)
H A Dxe_wa.h30 #define XE_WA(gt__, id__) ({ \ argument
31 xe_gt_assert(gt__, (gt__)->wa_active.oob_initialized); \
32 test_bit(XE_WA_OOB_ ## id__, (gt__)->wa_active.oob); \
H A Dxe_gt.h17 #define for_each_hw_engine(hwe__, gt__, id__) \ argument
18 for ((id__) = 0; (id__) < ARRAY_SIZE((gt__)->hw_engines); (id__)++) \
19 for_each_if(((hwe__) = (gt__)->hw_engines + (id__)) && \
H A Dxe_device.h137 #define for_each_gt(gt__, xe__, id__) \ argument
139 for_each_if((gt__) = xe_device_get_gt((xe__), (id__)))
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt.h80 const struct intel_gt *gt__ __maybe_unused = (gt); \
81 GEM_TRACE("%s " fmt, dev_name(gt__->i915->drm.dev), \
178 #define for_each_gt(gt__, i915__, id__) \ argument
182 for_each_if(((gt__) = (i915__)->gt[(id__)]))
185 #define for_each_engine(engine__, gt__, id__) \ argument
189 for_each_if ((engine__) = (gt__)->engine[(id__)])
192 #define for_each_engine_masked(engine__, gt__, mask__, tmp__) \ argument
193 for ((tmp__) = (mask__) & (gt__)->info.engine_mask; \
195 ((engine__) = (gt__)->engine[__mask_next_bit(tmp__)]), 1 : \