Home
last modified time | relevance | path

Searched defs:rps (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_rps.c26 static struct intel_gt *rps_to_gt(struct intel_rps *rps) in rps_to_gt()
31 static struct drm_i915_private *rps_to_i915(struct intel_rps *rps) in rps_to_i915()
36 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore()
41 static u32 rps_pm_sanitize_mask(struct intel_rps *rps, u32 mask) in rps_pm_sanitize_mask()
53 struct intel_rps *rps = from_timer(rps, t, timer); in rps_timer() local
130 static void rps_start_timer(struct intel_rps *rps) in rps_start_timer()
137 static void rps_stop_timer(struct intel_rps *rps) in rps_stop_timer()
144 static u32 rps_pm_mask(struct intel_rps *rps, u8 val) in rps_pm_mask()
162 static void rps_reset_ei(struct intel_rps *rps) in rps_reset_ei()
167 static void rps_enable_interrupts(struct intel_rps *rps) in rps_enable_interrupts()
[all …]
Dintel_rps.h40 static inline bool intel_rps_is_enabled(const struct intel_rps *rps) in intel_rps_is_enabled()
45 static inline void intel_rps_set_enabled(struct intel_rps *rps) in intel_rps_set_enabled()
50 static inline void intel_rps_clear_enabled(struct intel_rps *rps) in intel_rps_clear_enabled()
55 static inline bool intel_rps_is_active(const struct intel_rps *rps) in intel_rps_is_active()
60 static inline void intel_rps_set_active(struct intel_rps *rps) in intel_rps_set_active()
65 static inline bool intel_rps_clear_active(struct intel_rps *rps) in intel_rps_clear_active()
70 static inline bool intel_rps_has_interrupts(const struct intel_rps *rps) in intel_rps_has_interrupts()
75 static inline void intel_rps_set_interrupts(struct intel_rps *rps) in intel_rps_set_interrupts()
80 static inline void intel_rps_clear_interrupts(struct intel_rps *rps) in intel_rps_clear_interrupts()
85 static inline bool intel_rps_uses_timer(const struct intel_rps *rps) in intel_rps_uses_timer()
[all …]
Dselftest_rps.c147 static u8 wait_for_freq(struct intel_rps *rps, u8 freq, int timeout_ms) in wait_for_freq()
184 static u8 rps_set_check(struct intel_rps *rps, u8 freq) in rps_set_check()
195 static void show_pstate_limits(struct intel_rps *rps) in show_pstate_limits()
215 struct intel_rps *rps = &gt->rps; in live_rps_clock_interval() local
367 struct intel_rps *rps = &gt->rps; in live_rps_control() local
494 static void show_pcu_config(struct intel_rps *rps) in show_pcu_config()
544 static u64 measure_frequency_at(struct intel_rps *rps, u32 *cntr, int *freq) in measure_frequency_at()
573 static u64 measure_cs_frequency_at(struct intel_rps *rps, in measure_cs_frequency_at()
599 struct intel_rps *rps = &gt->rps; in live_rps_frequency_cs() local
740 struct intel_rps *rps = &gt->rps; in live_rps_frequency_srm() local
[all …]
Ddebugfs_gt_pm.c247 struct intel_rps *rps = &gt->rps; in frequency_show() local
491 struct intel_rps *rps = &gt->rps; in llc_show() local
557 struct intel_rps *rps = &gt->rps; in rps_boost_show() local
Dselftest_llc.c27 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() local
Dintel_llc.c51 struct intel_rps *rps = &llc_to_gt(llc)->rps; in get_ia_constants() local
Dintel_gt_types.h81 struct intel_rps rps; member
/Linux-v5.10/drivers/clocksource/
Dtimer-oxnas-rps.c62 struct oxnas_rps_timer *rps = dev_id; in oxnas_rps_timer_irq() local
71 static void oxnas_rps_timer_config(struct oxnas_rps_timer *rps, in oxnas_rps_timer_config()
89 struct oxnas_rps_timer *rps = in oxnas_rps_timer_shutdown() local
99 struct oxnas_rps_timer *rps = in oxnas_rps_timer_set_periodic() local
109 struct oxnas_rps_timer *rps = in oxnas_rps_timer_set_oneshot() local
120 struct oxnas_rps_timer *rps = in oxnas_rps_timer_next_event() local
128 static int __init oxnas_rps_clockevent_init(struct oxnas_rps_timer *rps) in oxnas_rps_clockevent_init()
183 static int __init oxnas_rps_clocksource_init(struct oxnas_rps_timer *rps) in oxnas_rps_clocksource_init()
214 struct oxnas_rps_timer *rps; in oxnas_rps_timer_init() local
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_sysfs.c264 struct intel_rps *rps = &i915->gt.rps; in gt_act_freq_mhz_show() local
274 struct intel_rps *rps = &i915->gt.rps; in gt_cur_freq_mhz_show() local
283 struct intel_rps *rps = &i915->gt.rps; in gt_boost_freq_mhz_show() local
294 struct intel_rps *rps = &dev_priv->gt.rps; in gt_boost_freq_mhz_store() local
324 struct intel_rps *rps = &dev_priv->gt.rps; in vlv_rpe_freq_mhz_show() local
333 struct intel_rps *rps = &dev_priv->gt.rps; in gt_max_freq_mhz_show() local
344 struct intel_rps *rps = &dev_priv->gt.rps; in gt_max_freq_mhz_store() local
388 struct intel_rps *rps = &dev_priv->gt.rps; in gt_min_freq_mhz_show() local
399 struct intel_rps *rps = &dev_priv->gt.rps; in gt_min_freq_mhz_store() local
453 struct intel_rps *rps = &dev_priv->gt.rps; in gt_rp_mhz_show() local
Di915_debugfs.c787 struct intel_rps *rps = &dev_priv->gt.rps; in i915_frequency_info() local
1018 struct intel_rps *rps = &dev_priv->gt.rps; in i915_ring_freq_table() local
1214 struct intel_rps *rps = &dev_priv->gt.rps; in i915_rps_boost_info() local
/Linux-v5.10/drivers/gpu/drm/radeon/
Dsumo_dpm.c74 static struct sumo_ps *sumo_get_ps(struct radeon_ps *rps) in sumo_get_ps()
342 struct radeon_ps *rps) in sumo_program_bsp()
385 struct radeon_ps *rps) in sumo_program_at()
664 struct radeon_ps *rps) in sumo_patch_boost_state()
714 struct radeon_ps *rps, in sumo_enable_boost()
737 struct radeon_ps *rps) in sumo_program_wl()
985 struct radeon_ps *rps) in sumo_force_nbp_state()
1181 struct radeon_ps *rps) in sumo_update_current_ps()
1192 struct radeon_ps *rps) in sumo_update_requested_ps()
1403 struct radeon_ps *rps, in sumo_parse_pplib_non_clock_info()
[all …]
Dtrinity_dpm.c348 static struct trinity_ps *trinity_get_ps(struct radeon_ps *rps) in trinity_get_ps()
870 struct radeon_ps *rps) in trinity_setup_uvd_clock_table()
896 static bool trinity_uvd_clocks_zero(struct radeon_ps *rps) in trinity_uvd_clocks_zero()
1068 struct radeon_ps *rps) in trinity_update_current_ps()
1079 struct radeon_ps *rps) in trinity_update_requested_ps()
1184 struct radeon_ps *rps) in trinity_setup_nbp_sim()
1205 struct radeon_ps *rps = &pi->current_rps; in trinity_dpm_force_performance_level() local
1452 struct radeon_ps *rps) in trinity_get_uvd_clock_index()
1471 struct radeon_ps *rps) in trinity_adjust_uvd_state()
1681 struct radeon_ps *rps, in trinity_parse_pplib_non_clock_info()
[all …]
Drs780_dpm.c35 static struct igp_ps *rs780_get_ps(struct radeon_ps *rps) in rs780_get_ps()
719 struct radeon_ps *rps, in rs780_parse_pplib_non_clock_info()
749 struct radeon_ps *rps, in rs780_parse_pplib_clock_info()
940 struct radeon_ps *rps) in rs780_dpm_print_power_state()
985 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_debugfs_print_current_performance_level() local
1032 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_force_performance_level() local
Dbtc_dpm.c2096 struct radeon_ps *rps) in btc_apply_state_adjust_rules()
2259 struct radeon_ps *rps) in btc_update_current_ps()
2270 struct radeon_ps *rps) in btc_update_requested_ps()
2739 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_debugfs_print_current_performance_level() local
2764 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_get_current_sclk() local
2787 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_get_current_mclk() local
Dni_dpm.c734 struct ni_ps *ni_get_ps(struct radeon_ps *rps) in ni_get_ps()
787 struct radeon_ps *rps) in ni_apply_state_adjust_rules()
3562 struct radeon_ps *rps) in ni_update_current_ps()
3574 struct radeon_ps *rps) in ni_update_requested_ps()
3895 struct radeon_ps *rps, in ni_parse_pplib_non_clock_info()
3921 struct radeon_ps *rps, int index, in ni_parse_pplib_clock_info()
4283 struct radeon_ps *rps) in ni_dpm_print_power_state()
4308 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_debugfs_print_current_performance_level() local
4328 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_sclk() local
4346 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_mclk() local
Drv770_dpm.c47 struct rv7xx_ps *rv770_get_ps(struct radeon_ps *rps) in rv770_get_ps()
2144 struct radeon_ps *rps, in rv7xx_parse_pplib_non_clock_info()
2174 struct radeon_ps *rps, int index, in rv7xx_parse_pplib_clock_info()
2433 struct radeon_ps *rps) in rv770_dpm_print_power_state()
2468 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_debugfs_print_current_performance_level() local
2497 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_sclk() local
2519 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_mclk() local
Drv6xx_dpm.c36 static struct rv6xx_ps *rv6xx_get_ps(struct radeon_ps *rps) in rv6xx_get_ps()
1795 struct radeon_ps *rps, in rv6xx_parse_pplib_non_clock_info()
1817 struct radeon_ps *rps, int index, in rv6xx_parse_pplib_clock_info()
2008 struct radeon_ps *rps) in rv6xx_dpm_print_power_state()
2031 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_debugfs_print_current_performance_level() local
2056 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_get_current_sclk() local
2079 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_get_current_mclk() local
Dkv_dpm.c243 static struct kv_ps *kv_get_ps(struct radeon_ps *rps) in kv_get_ps()
1140 struct radeon_ps *rps) in kv_update_current_ps()
1151 struct radeon_ps *rps) in kv_update_requested_ps()
2584 struct radeon_ps *rps, in kv_parse_pplib_non_clock_info()
2611 struct radeon_ps *rps, int index, in kv_parse_pplib_clock_info()
2849 struct radeon_ps *rps) in kv_dpm_print_power_state()
Dci_dpm.c188 static struct ci_ps *ci_get_ps(struct radeon_ps *rps) in ci_get_ps()
781 struct radeon_ps *rps) in ci_apply_state_adjust_rules()
5094 struct radeon_ps *rps) in ci_update_current_ps()
5105 struct radeon_ps *rps) in ci_update_requested_ps()
5437 struct radeon_ps *rps, in ci_parse_pplib_non_clock_info()
5460 struct radeon_ps *rps, int index, in ci_parse_pplib_clock_info()
5930 struct radeon_ps *rps = &pi->current_rps; in ci_dpm_debugfs_print_current_performance_level() local
5941 struct radeon_ps *rps) in ci_dpm_print_power_state()
Dsi_dpm.c2950 struct radeon_ps *rps) in si_apply_state_adjust_rules()
3384 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in si_dpm_force_performance_level() local
6686 struct radeon_ps *rps, in si_parse_pplib_non_clock_info()
6712 struct radeon_ps *rps, int index, in si_parse_pplib_clock_info()
7075 struct radeon_ps *rps = &eg_pi->current_rps; in si_dpm_debugfs_print_current_performance_level() local
7095 struct radeon_ps *rps = &eg_pi->current_rps; in si_dpm_get_current_sclk() local
7113 struct radeon_ps *rps = &eg_pi->current_rps; in si_dpm_get_current_mclk() local
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c370 static struct kv_ps *kv_get_ps(struct amdgpu_ps *rps) in kv_get_ps()
1223 struct amdgpu_ps *rps) in kv_update_current_ps()
1235 struct amdgpu_ps *rps) in kv_update_requested_ps()
2653 struct amdgpu_ps *rps, in kv_parse_pplib_non_clock_info()
2680 struct amdgpu_ps *rps, int index, in kv_parse_pplib_clock_info()
2895 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_dpm_print_power_state() local
3246 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_check_state_equal() local
Dsi_dpm.c3127 struct amdgpu_ps *rps) in ni_update_current_ps()
3140 struct amdgpu_ps *rps) in ni_update_requested_ps()
3408 struct amdgpu_ps *rps) in si_apply_state_adjust_rules()
3843 struct amdgpu_ps *rps = adev->pm.dpm.current_ps; in si_dpm_force_performance_level() local
7105 struct amdgpu_ps *rps, in si_parse_pplib_non_clock_info()
7131 struct amdgpu_ps *rps, int index, in si_parse_pplib_clock_info()
7485 struct amdgpu_ps *rps = &eg_pi->current_rps; in si_dpm_debugfs_print_current_performance_level() local
7896 struct amdgpu_ps *rps = (struct amdgpu_ps *)current_ps; in si_dpm_print_power_state() local
7946 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in si_check_state_equal() local
7986 struct amdgpu_ps *rps = &eg_pi->current_rps; in si_dpm_read_sensor() local
/Linux-v5.10/kernel/
Dtest_kprobes.c242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() local
Dkprobes.c2154 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
2178 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
2207 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
2218 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
/Linux-v5.10/include/linux/
Dkprobes.h438 static inline int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
445 static inline void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()

12