/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | intel_rps.c | 25 static struct intel_gt *rps_to_gt(struct intel_rps *rps) in rps_to_gt() 30 static struct drm_i915_private *rps_to_i915(struct intel_rps *rps) in rps_to_i915() 35 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore() 40 static struct intel_guc_slpc *rps_to_slpc(struct intel_rps *rps) in rps_to_slpc() 47 static bool rps_uses_slpc(struct intel_rps *rps) in rps_uses_slpc() 54 static u32 rps_pm_sanitize_mask(struct intel_rps *rps, u32 mask) in rps_pm_sanitize_mask() 66 struct intel_rps *rps = from_timer(rps, t, timer); in rps_timer() local 143 static void rps_start_timer(struct intel_rps *rps) in rps_start_timer() 150 static void rps_stop_timer(struct intel_rps *rps) in rps_stop_timer() 157 static u32 rps_pm_mask(struct intel_rps *rps, u8 val) in rps_pm_mask() [all …]
|
D | intel_rps.h | 49 static inline bool intel_rps_is_enabled(const struct intel_rps *rps) in intel_rps_is_enabled() 54 static inline void intel_rps_set_enabled(struct intel_rps *rps) in intel_rps_set_enabled() 59 static inline void intel_rps_clear_enabled(struct intel_rps *rps) in intel_rps_clear_enabled() 64 static inline bool intel_rps_is_active(const struct intel_rps *rps) in intel_rps_is_active() 69 static inline void intel_rps_set_active(struct intel_rps *rps) in intel_rps_set_active() 74 static inline bool intel_rps_clear_active(struct intel_rps *rps) in intel_rps_clear_active() 79 static inline bool intel_rps_has_interrupts(const struct intel_rps *rps) in intel_rps_has_interrupts() 84 static inline void intel_rps_set_interrupts(struct intel_rps *rps) in intel_rps_set_interrupts() 89 static inline void intel_rps_clear_interrupts(struct intel_rps *rps) in intel_rps_clear_interrupts() 94 static inline bool intel_rps_uses_timer(const struct intel_rps *rps) in intel_rps_uses_timer() [all …]
|
D | selftest_rps.c | 147 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() 198 static void show_pstate_limits(struct intel_rps *rps) in show_pstate_limits() 218 struct intel_rps *rps = >->rps; in live_rps_clock_interval() local 370 struct intel_rps *rps = >->rps; in live_rps_control() local 497 static void show_pcu_config(struct intel_rps *rps) in show_pcu_config() 547 static u64 measure_frequency_at(struct intel_rps *rps, u32 *cntr, int *freq) in measure_frequency_at() 576 static u64 measure_cs_frequency_at(struct intel_rps *rps, in measure_cs_frequency_at() 602 struct intel_rps *rps = >->rps; in live_rps_frequency_cs() local 743 struct intel_rps *rps = >->rps; in live_rps_frequency_srm() local [all …]
|
D | selftest_slpc.c | 44 struct intel_rps *rps = >->rps; in live_slpc_clamp_min() local 171 struct intel_rps *rps; in live_slpc_clamp_max() local
|
D | debugfs_gt_pm.c | 248 struct intel_rps *rps = >->rps; in frequency_show() local 492 struct intel_rps *rps = >->rps; in llc_show() local 558 struct intel_rps *rps = >->rps; in rps_boost_show() local
|
D | selftest_llc.c | 26 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() local
|
D | intel_llc.c | 50 struct intel_rps *rps = &llc_to_gt(llc)->rps; in get_ia_constants() local
|
/Linux-v5.15/drivers/clocksource/ |
D | timer-oxnas-rps.c | 62 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.15/drivers/gpu/drm/i915/ |
D | i915_sysfs.c | 264 struct intel_rps *rps = &i915->gt.rps; in gt_act_freq_mhz_show() local 273 struct intel_rps *rps = &i915->gt.rps; in gt_cur_freq_mhz_show() local 281 struct intel_rps *rps = &i915->gt.rps; in gt_boost_freq_mhz_show() local 291 struct intel_rps *rps = &dev_priv->gt.rps; in gt_boost_freq_mhz_store() local 321 struct intel_rps *rps = &dev_priv->gt.rps; in vlv_rpe_freq_mhz_show() local 330 struct intel_rps *rps = >->rps; in gt_max_freq_mhz_show() local 341 struct intel_rps *rps = >->rps; in gt_max_freq_mhz_store() local 358 struct intel_rps *rps = >->rps; in gt_min_freq_mhz_show() local 368 struct intel_rps *rps = &i915->gt.rps; in gt_min_freq_mhz_store() local 398 struct intel_rps *rps = &dev_priv->gt.rps; in gt_rp_mhz_show() local
|
D | i915_debugfs.c | 359 struct intel_rps *rps = &dev_priv->gt.rps; in i915_frequency_info() local 666 struct intel_rps *rps = &dev_priv->gt.rps; in i915_rps_boost_info() local
|
/Linux-v5.15/drivers/gpu/drm/radeon/ |
D | sumo_dpm.c | 74 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 …]
|
D | trinity_dpm.c | 304 static struct trinity_ps *trinity_get_ps(struct radeon_ps *rps) in trinity_get_ps() 826 struct radeon_ps *rps) in trinity_setup_uvd_clock_table() 852 static bool trinity_uvd_clocks_zero(struct radeon_ps *rps) in trinity_uvd_clocks_zero() 1024 struct radeon_ps *rps) in trinity_update_current_ps() 1035 struct radeon_ps *rps) in trinity_update_requested_ps() 1140 struct radeon_ps *rps) in trinity_setup_nbp_sim() 1161 struct radeon_ps *rps = &pi->current_rps; in trinity_dpm_force_performance_level() local 1408 struct radeon_ps *rps) in trinity_get_uvd_clock_index() 1427 struct radeon_ps *rps) in trinity_adjust_uvd_state() 1637 struct radeon_ps *rps, in trinity_parse_pplib_non_clock_info() [all …]
|
D | rs780_dpm.c | 35 static struct igp_ps *rs780_get_ps(struct radeon_ps *rps) in rs780_get_ps() 718 struct radeon_ps *rps, in rs780_parse_pplib_non_clock_info() 748 struct radeon_ps *rps, in rs780_parse_pplib_clock_info() 939 struct radeon_ps *rps) in rs780_dpm_print_power_state() 984 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_debugfs_print_current_performance_level() local 1031 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_force_performance_level() local
|
D | btc_dpm.c | 2094 struct radeon_ps *rps) in btc_apply_state_adjust_rules() 2257 struct radeon_ps *rps) in btc_update_current_ps() 2268 struct radeon_ps *rps) in btc_update_requested_ps() 2737 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_debugfs_print_current_performance_level() local 2762 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_get_current_sclk() local 2785 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_get_current_mclk() local
|
D | ni_dpm.c | 733 struct ni_ps *ni_get_ps(struct radeon_ps *rps) in ni_get_ps() 786 struct radeon_ps *rps) in ni_apply_state_adjust_rules() 3563 struct radeon_ps *rps) in ni_update_current_ps() 3575 struct radeon_ps *rps) in ni_update_requested_ps() 3896 struct radeon_ps *rps, in ni_parse_pplib_non_clock_info() 3922 struct radeon_ps *rps, int index, in ni_parse_pplib_clock_info() 4284 struct radeon_ps *rps) in ni_dpm_print_power_state() 4309 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_debugfs_print_current_performance_level() local 4329 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_sclk() local 4347 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_mclk() local
|
D | rv770_dpm.c | 49 struct rv7xx_ps *rv770_get_ps(struct radeon_ps *rps) in rv770_get_ps() 2146 struct radeon_ps *rps, in rv7xx_parse_pplib_non_clock_info() 2176 struct radeon_ps *rps, int index, in rv7xx_parse_pplib_clock_info() 2435 struct radeon_ps *rps) in rv770_dpm_print_power_state() 2470 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_debugfs_print_current_performance_level() local 2499 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_sclk() local 2521 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_mclk() local
|
D | rv6xx_dpm.c | 36 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
|
D | kv_dpm.c | 144 static struct kv_ps *kv_get_ps(struct radeon_ps *rps) in kv_get_ps() 982 struct radeon_ps *rps) in kv_update_current_ps() 993 struct radeon_ps *rps) in kv_update_requested_ps() 2381 struct radeon_ps *rps, in kv_parse_pplib_non_clock_info() 2408 struct radeon_ps *rps, int index, in kv_parse_pplib_clock_info() 2646 struct radeon_ps *rps) in kv_dpm_print_power_state()
|
D | ci_dpm.c | 179 static struct ci_ps *ci_get_ps(struct radeon_ps *rps) in ci_get_ps() 772 struct radeon_ps *rps) in ci_apply_state_adjust_rules() 5073 struct radeon_ps *rps) in ci_update_current_ps() 5084 struct radeon_ps *rps) in ci_update_requested_ps() 5416 struct radeon_ps *rps, in ci_parse_pplib_non_clock_info() 5439 struct radeon_ps *rps, int index, in ci_parse_pplib_clock_info() 5909 struct radeon_ps *rps = &pi->current_rps; in ci_dpm_debugfs_print_current_performance_level() local 5920 struct radeon_ps *rps) in ci_dpm_print_power_state()
|
D | si_dpm.c | 2947 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 6687 struct radeon_ps *rps, in si_parse_pplib_non_clock_info() 6713 struct radeon_ps *rps, int index, in si_parse_pplib_clock_info() 7076 struct radeon_ps *rps = &eg_pi->current_rps; in si_dpm_debugfs_print_current_performance_level() local 7096 struct radeon_ps *rps = &eg_pi->current_rps; in si_dpm_get_current_sclk() local 7114 struct radeon_ps *rps = &eg_pi->current_rps; in si_dpm_get_current_mclk() local
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/ |
D | kv_dpm.c | 370 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() 2651 struct amdgpu_ps *rps, in kv_parse_pplib_non_clock_info() 2678 struct amdgpu_ps *rps, int index, in kv_parse_pplib_clock_info() 2893 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_dpm_print_power_state() local 3244 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_check_state_equal() local
|
D | si_dpm.c | 3127 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 7104 struct amdgpu_ps *rps, in si_parse_pplib_non_clock_info() 7130 struct amdgpu_ps *rps, int index, in si_parse_pplib_clock_info() 7484 struct amdgpu_ps *rps = &eg_pi->current_rps; in si_dpm_debugfs_print_current_performance_level() local 7895 struct amdgpu_ps *rps = (struct amdgpu_ps *)current_ps; in si_dpm_print_power_state() local 7945 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in si_check_state_equal() local 7985 struct amdgpu_ps *rps = &eg_pi->current_rps; in si_dpm_read_sensor() local
|
/Linux-v5.15/kernel/ |
D | test_kprobes.c | 242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() local
|
D | kprobes.c | 2048 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes() 2072 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes() 2103 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes() 2114 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
|
/Linux-v5.15/include/linux/ |
D | kprobes.h | 447 static inline int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes() 454 static inline void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
|