Lines Matching refs:gt
22 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_handler() local
27 lockdep_assert_held(>->irq_lock); in intel_pxp_irq_handler()
46 static inline void __pxp_set_interrupts(struct intel_gt *gt, u32 interrupts) in __pxp_set_interrupts() argument
48 struct intel_uncore *uncore = gt->uncore; in __pxp_set_interrupts()
55 static inline void pxp_irq_reset(struct intel_gt *gt) in pxp_irq_reset() argument
57 spin_lock_irq(>->irq_lock); in pxp_irq_reset()
58 gen11_gt_reset_one_iir(gt, 0, GEN11_KCR); in pxp_irq_reset()
59 spin_unlock_irq(>->irq_lock); in pxp_irq_reset()
64 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_enable() local
66 spin_lock_irq(>->irq_lock); in intel_pxp_irq_enable()
69 WARN_ON_ONCE(gen11_gt_reset_one_iir(gt, 0, GEN11_KCR)); in intel_pxp_irq_enable()
71 __pxp_set_interrupts(gt, GEN12_PXP_INTERRUPTS); in intel_pxp_irq_enable()
74 spin_unlock_irq(>->irq_lock); in intel_pxp_irq_enable()
79 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_disable() local
90 spin_lock_irq(>->irq_lock); in intel_pxp_irq_disable()
93 __pxp_set_interrupts(gt, 0); in intel_pxp_irq_disable()
95 spin_unlock_irq(>->irq_lock); in intel_pxp_irq_disable()
96 intel_synchronize_irq(gt->i915); in intel_pxp_irq_disable()
98 pxp_irq_reset(gt); in intel_pxp_irq_disable()