Lines Matching refs:uncore

13 static inline struct xe_gt *__compat_uncore_to_gt(struct intel_uncore *uncore)
15 struct xe_device *xe = container_of(uncore, struct xe_device, uncore);
20 static inline u32 intel_uncore_read(struct intel_uncore *uncore,
25 return xe_mmio_read32(__compat_uncore_to_gt(uncore), reg);
28 static inline u32 intel_uncore_read8(struct intel_uncore *uncore,
33 return xe_mmio_read8(__compat_uncore_to_gt(uncore), reg);
36 static inline u32 intel_uncore_read16(struct intel_uncore *uncore,
41 return xe_mmio_read16(__compat_uncore_to_gt(uncore), reg);
45 intel_uncore_read64_2x32(struct intel_uncore *uncore,
53 upper = xe_mmio_read32(__compat_uncore_to_gt(uncore), upper_reg);
56 lower = xe_mmio_read32(__compat_uncore_to_gt(uncore), lower_reg);
57 upper = xe_mmio_read32(__compat_uncore_to_gt(uncore), upper_reg);
63 static inline void intel_uncore_posting_read(struct intel_uncore *uncore,
68 xe_mmio_read32(__compat_uncore_to_gt(uncore), reg);
71 static inline void intel_uncore_write(struct intel_uncore *uncore,
76 xe_mmio_write32(__compat_uncore_to_gt(uncore), reg, val);
79 static inline u32 intel_uncore_rmw(struct intel_uncore *uncore,
84 return xe_mmio_rmw32(__compat_uncore_to_gt(uncore), reg, clear, set);
87 static inline int intel_wait_for_register(struct intel_uncore *uncore,
93 return xe_mmio_wait32(__compat_uncore_to_gt(uncore), reg, mask, value,
97 static inline int intel_wait_for_register_fw(struct intel_uncore *uncore,
103 return xe_mmio_wait32(__compat_uncore_to_gt(uncore), reg, mask, value,
108 __intel_wait_for_register(struct intel_uncore *uncore, i915_reg_t i915_reg,
114 return xe_mmio_wait32(__compat_uncore_to_gt(uncore), reg, mask, value,
119 static inline u32 intel_uncore_read_fw(struct intel_uncore *uncore,
124 return xe_mmio_read32(__compat_uncore_to_gt(uncore), reg);
127 static inline void intel_uncore_write_fw(struct intel_uncore *uncore,
132 xe_mmio_write32(__compat_uncore_to_gt(uncore), reg, val);
135 static inline u32 intel_uncore_read_notrace(struct intel_uncore *uncore,
140 return xe_mmio_read32(__compat_uncore_to_gt(uncore), reg);
143 static inline void intel_uncore_write_notrace(struct intel_uncore *uncore,
148 xe_mmio_write32(__compat_uncore_to_gt(uncore), reg, val);
151 static inline void __iomem *intel_uncore_regs(struct intel_uncore *uncore)
153 struct xe_device *xe = container_of(uncore, struct xe_device, uncore);
160 * interrupt handlers so that the pointer indirection on uncore->regs can
166 * these macros do not account for uncore->gsi_offset. Any caller that needs