Lines Matching refs:rps

13 void intel_rps_init_early(struct intel_rps *rps);
14 void intel_rps_init(struct intel_rps *rps);
15 void intel_rps_sanitize(struct intel_rps *rps);
17 void intel_rps_driver_register(struct intel_rps *rps);
18 void intel_rps_driver_unregister(struct intel_rps *rps);
20 void intel_rps_enable(struct intel_rps *rps);
21 void intel_rps_disable(struct intel_rps *rps);
23 void intel_rps_park(struct intel_rps *rps);
24 void intel_rps_unpark(struct intel_rps *rps);
27 int intel_rps_set(struct intel_rps *rps, u8 val);
28 void intel_rps_mark_interactive(struct intel_rps *rps, bool interactive);
30 int intel_gpu_freq(struct intel_rps *rps, int val);
31 int intel_freq_opcode(struct intel_rps *rps, int val);
32 u32 intel_rps_get_cagf(struct intel_rps *rps, u32 rpstat1);
33 u32 intel_rps_read_actual_frequency(struct intel_rps *rps);
34 u32 intel_rps_get_requested_frequency(struct intel_rps *rps);
35 u32 intel_rps_get_min_frequency(struct intel_rps *rps);
36 int intel_rps_set_min_frequency(struct intel_rps *rps, u32 val);
37 u32 intel_rps_get_max_frequency(struct intel_rps *rps);
38 int intel_rps_set_max_frequency(struct intel_rps *rps, u32 val);
39 u32 intel_rps_get_rp0_frequency(struct intel_rps *rps);
40 u32 intel_rps_get_rp1_frequency(struct intel_rps *rps);
41 u32 intel_rps_get_rpn_frequency(struct intel_rps *rps);
42 u32 intel_rps_read_punit_req(struct intel_rps *rps);
43 u32 intel_rps_read_punit_req_frequency(struct intel_rps *rps);
44 u32 intel_rps_read_state_cap(struct intel_rps *rps);
46 void gen5_rps_irq_handler(struct intel_rps *rps);
47 void gen6_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
48 void gen11_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
50 static inline bool intel_rps_is_enabled(const struct intel_rps *rps) in intel_rps_is_enabled() argument
52 return test_bit(INTEL_RPS_ENABLED, &rps->flags); in intel_rps_is_enabled()
55 static inline void intel_rps_set_enabled(struct intel_rps *rps) in intel_rps_set_enabled() argument
57 set_bit(INTEL_RPS_ENABLED, &rps->flags); in intel_rps_set_enabled()
60 static inline void intel_rps_clear_enabled(struct intel_rps *rps) in intel_rps_clear_enabled() argument
62 clear_bit(INTEL_RPS_ENABLED, &rps->flags); in intel_rps_clear_enabled()
65 static inline bool intel_rps_is_active(const struct intel_rps *rps) in intel_rps_is_active() argument
67 return test_bit(INTEL_RPS_ACTIVE, &rps->flags); in intel_rps_is_active()
70 static inline void intel_rps_set_active(struct intel_rps *rps) in intel_rps_set_active() argument
72 set_bit(INTEL_RPS_ACTIVE, &rps->flags); in intel_rps_set_active()
75 static inline bool intel_rps_clear_active(struct intel_rps *rps) in intel_rps_clear_active() argument
77 return test_and_clear_bit(INTEL_RPS_ACTIVE, &rps->flags); in intel_rps_clear_active()
80 static inline bool intel_rps_has_interrupts(const struct intel_rps *rps) in intel_rps_has_interrupts() argument
82 return test_bit(INTEL_RPS_INTERRUPTS, &rps->flags); in intel_rps_has_interrupts()
85 static inline void intel_rps_set_interrupts(struct intel_rps *rps) in intel_rps_set_interrupts() argument
87 set_bit(INTEL_RPS_INTERRUPTS, &rps->flags); in intel_rps_set_interrupts()
90 static inline void intel_rps_clear_interrupts(struct intel_rps *rps) in intel_rps_clear_interrupts() argument
92 clear_bit(INTEL_RPS_INTERRUPTS, &rps->flags); in intel_rps_clear_interrupts()
95 static inline bool intel_rps_uses_timer(const struct intel_rps *rps) in intel_rps_uses_timer() argument
97 return test_bit(INTEL_RPS_TIMER, &rps->flags); in intel_rps_uses_timer()
100 static inline void intel_rps_set_timer(struct intel_rps *rps) in intel_rps_set_timer() argument
102 set_bit(INTEL_RPS_TIMER, &rps->flags); in intel_rps_set_timer()
105 static inline void intel_rps_clear_timer(struct intel_rps *rps) in intel_rps_clear_timer() argument
107 clear_bit(INTEL_RPS_TIMER, &rps->flags); in intel_rps_clear_timer()