Lines Matching refs:rps_to_gt

31 static struct intel_gt *rps_to_gt(struct intel_rps *rps)  in rps_to_gt()  function
38 return rps_to_gt(rps)->i915; in rps_to_i915()
43 return rps_to_gt(rps)->uncore; in rps_to_uncore()
48 struct intel_gt *gt = rps_to_gt(rps); in rps_to_slpc()
55 struct intel_gt *gt = rps_to_gt(rps); in rps_uses_slpc()
79 for_each_engine(engine, rps_to_gt(rps), id) { in rps_timer()
123 GT_TRACE(rps_to_gt(rps), in rps_timer()
188 struct intel_gt *gt = rps_to_gt(rps); in rps_enable_interrupts()
207 gen6_gt_pm_reset_iir(rps_to_gt(rps), GEN6_PM_RPS_EVENTS); in gen6_rps_reset_interrupts()
212 while (gen11_gt_reset_one_iir(rps_to_gt(rps), 0, GEN11_GTPM)) in gen11_rps_reset_interrupts()
218 struct intel_gt *gt = rps_to_gt(rps); in rps_reset_interrupts()
232 struct intel_gt *gt = rps_to_gt(rps); in rps_disable_interrupts()
670 struct intel_gt *gt = rps_to_gt(rps); in rps_set_power()
777 GT_TRACE(rps_to_gt(rps), "mark interactive: %s\n", in intel_rps_mark_interactive()
809 GT_TRACE(rps_to_gt(rps), "set val:%x, freq:%d, swreq:%x\n", in gen6_rps_set()
824 GT_TRACE(rps_to_gt(rps), "set val:%x, freq:%d\n", in vlv_rps_set()
859 GT_TRACE(rps_to_gt(rps), "unpark:%x\n", rps->cur_freq); in intel_rps_unpark()
942 GT_TRACE(rps_to_gt(rps), "park:%x\n", rps->cur_freq); in intel_rps_park()
1032 GT_TRACE(rps_to_gt(rps), "boost fence:%llx:%llx\n", in intel_rps_boost()
1152 if (snb_pcode_read(rps_to_gt(rps)->uncore, in gen6_rps_init()
1183 struct intel_gt *gt = rps_to_gt(rps); in gen9_rps_enable()
1230 struct intel_gt *gt = rps_to_gt(rps); in chv_rps_max_freq()
1480 for_each_engine(engine, rps_to_gt(rps), id) { in has_busy_stats()
1500 intel_gt_check_clock_frequency(rps_to_gt(rps)); in intel_rps_enable()
1523 GT_TRACE(rps_to_gt(rps), in intel_rps_enable()
1794 struct intel_gt *gt = rps_to_gt(rps); in rps_work()
1883 struct intel_gt *gt = rps_to_gt(rps); in gen11_rps_irq_handler()
1901 struct intel_gt *gt = rps_to_gt(rps); in gen6_rps_irq_handler()
1990 rps_to_gt(rps)->defaults.max_freq = rps->max_freq_softlimit; in intel_rps_init()
1992 rps_to_gt(rps)->defaults.min_freq = rps->min_freq_softlimit; in intel_rps_init()
1998 snb_pcode_read(rps_to_gt(rps)->uncore, GEN6_READ_OC_PARAMS, &params, NULL); in intel_rps_init()
2030 if (intel_uc_uses_guc_submission(&rps_to_gt(rps)->uc)) in intel_rps_init()
2381 struct intel_gt *gt = rps_to_gt(rps); in rps_read_mmio()
2423 struct intel_gt *gt = rps_to_gt(rps); in intel_rps_driver_register()