Lines Matching refs:intel_gt

17 	const struct intel_gt *gt__ __maybe_unused = (gt);		\
22 static inline struct intel_gt *uc_to_gt(struct intel_uc *uc) in uc_to_gt()
24 return container_of(uc, struct intel_gt, uc); in uc_to_gt()
27 static inline struct intel_gt *guc_to_gt(struct intel_guc *guc) in guc_to_gt()
29 return container_of(guc, struct intel_gt, uc.guc); in guc_to_gt()
32 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt()
34 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
37 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915);
38 void intel_gt_init_hw_early(struct intel_gt *gt, struct i915_ggtt *ggtt);
39 int intel_gt_probe_lmem(struct intel_gt *gt);
40 int intel_gt_init_mmio(struct intel_gt *gt);
41 int __must_check intel_gt_init_hw(struct intel_gt *gt);
42 int intel_gt_init(struct intel_gt *gt);
43 void intel_gt_driver_register(struct intel_gt *gt);
45 void intel_gt_driver_unregister(struct intel_gt *gt);
46 void intel_gt_driver_remove(struct intel_gt *gt);
47 void intel_gt_driver_release(struct intel_gt *gt);
49 void intel_gt_driver_late_release(struct intel_gt *gt);
51 int intel_gt_wait_for_idle(struct intel_gt *gt, long timeout);
53 void intel_gt_check_and_clear_faults(struct intel_gt *gt);
54 void intel_gt_clear_error_registers(struct intel_gt *gt,
57 void intel_gt_flush_ggtt_writes(struct intel_gt *gt);
58 void intel_gt_chipset_flush(struct intel_gt *gt);
60 static inline u32 intel_gt_scratch_offset(const struct intel_gt *gt, in intel_gt_scratch_offset()
66 static inline bool intel_gt_has_unrecoverable_error(const struct intel_gt *gt) in intel_gt_has_unrecoverable_error()
72 static inline bool intel_gt_is_wedged(const struct intel_gt *gt) in intel_gt_is_wedged()
80 static inline bool intel_gt_needs_read_steering(struct intel_gt *gt, in intel_gt_needs_read_steering()
86 u32 intel_gt_read_register_fw(struct intel_gt *gt, i915_reg_t reg);