| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | intel_rps.c | 36 static struct intel_gt *rps_to_gt(struct intel_rps *rps) in rps_to_gt() 41 static struct drm_i915_private *rps_to_i915(struct intel_rps *rps) in rps_to_i915() 46 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore() 51 static struct intel_guc_slpc *rps_to_slpc(struct intel_rps *rps) in rps_to_slpc() 58 static bool rps_uses_slpc(struct intel_rps *rps) in rps_uses_slpc() 65 static u32 rps_pm_sanitize_mask(struct intel_rps *rps, u32 mask) in rps_pm_sanitize_mask() 77 struct intel_rps *rps = from_timer(rps, t, timer); in rps_timer() local 155 static void rps_start_timer(struct intel_rps *rps) in rps_start_timer() 162 static void rps_stop_timer(struct intel_rps *rps) in rps_stop_timer() 169 static u32 rps_pm_mask(struct intel_rps *rps, u8 val) in rps_pm_mask() [all …]
|
| D | intel_rps.h | 71 static inline bool intel_rps_is_enabled(const struct intel_rps *rps) in intel_rps_is_enabled() 76 static inline void intel_rps_set_enabled(struct intel_rps *rps) in intel_rps_set_enabled() 81 static inline void intel_rps_clear_enabled(struct intel_rps *rps) in intel_rps_clear_enabled() 86 static inline bool intel_rps_is_active(const struct intel_rps *rps) in intel_rps_is_active() 91 static inline void intel_rps_set_active(struct intel_rps *rps) in intel_rps_set_active() 96 static inline bool intel_rps_clear_active(struct intel_rps *rps) in intel_rps_clear_active() 101 static inline bool intel_rps_has_interrupts(const struct intel_rps *rps) in intel_rps_has_interrupts() 106 static inline void intel_rps_set_interrupts(struct intel_rps *rps) in intel_rps_set_interrupts() 111 static inline void intel_rps_clear_interrupts(struct intel_rps *rps) in intel_rps_clear_interrupts() 116 static inline bool intel_rps_uses_timer(const struct intel_rps *rps) in intel_rps_uses_timer() [all …]
|
| D | selftest_rps.c | 151 static u8 wait_for_freq(struct intel_rps *rps, u8 freq, int timeout_ms) in wait_for_freq() 188 static u8 rps_set_check(struct intel_rps *rps, u8 freq) in rps_set_check() 202 static void show_pstate_limits(struct intel_rps *rps) in show_pstate_limits() 222 struct intel_rps *rps = >->rps; in live_rps_clock_interval() local 374 struct intel_rps *rps = >->rps; in live_rps_control() local 501 static void show_pcu_config(struct intel_rps *rps) in show_pcu_config() 550 static u64 measure_frequency_at(struct intel_rps *rps, u32 *cntr, int *freq) in measure_frequency_at() 579 static u64 measure_cs_frequency_at(struct intel_rps *rps, in measure_cs_frequency_at() 605 struct intel_rps *rps = >->rps; in live_rps_frequency_cs() local 744 struct intel_rps *rps = >->rps; in live_rps_frequency_srm() local [all …]
|
| D | selftest_slpc.c | 111 static int vary_max_freq(struct intel_guc_slpc *slpc, struct intel_rps *rps, in vary_max_freq() 147 static int vary_min_freq(struct intel_guc_slpc *slpc, struct intel_rps *rps, in vary_min_freq() 235 static int max_granted_freq(struct intel_guc_slpc *slpc, struct intel_rps *rps, u32 *max_act_freq) in max_granted_freq() 266 struct intel_rps *rps = >->rps; in run_test() local
|
| D | intel_gt_pm_debugfs.c | 340 struct intel_rps *rps = >->rps; in intel_gt_pm_frequency_dump() local 419 struct intel_rps *rps = >->rps; in llc_show() local 484 struct intel_rps *rps = >->rps; in rps_boost_show() local
|
| D | selftest_llc.c | 25 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() local
|
| D | intel_gt_sysfs_pm.c | 384 struct intel_rps *rps = >->rps; in __vlv_rpe_freq_mhz_show() local 708 struct intel_rps *rps = >->rps; in rps_up_threshold_pct_show() local 718 struct intel_rps *rps = >->rps; in rps_up_threshold_pct_store() local 742 struct intel_rps *rps = >->rps; in rps_down_threshold_pct_show() local 752 struct intel_rps *rps = >->rps; in rps_down_threshold_pct_store() local
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | intel_rps.c | 26 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 …]
|
| D | intel_rps.h | 40 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 …]
|
| 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() 195 static void show_pstate_limits(struct intel_rps *rps) in show_pstate_limits() 215 struct intel_rps *rps = >->rps; in live_rps_clock_interval() local 367 struct intel_rps *rps = >->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 = >->rps; in live_rps_frequency_cs() local 740 struct intel_rps *rps = >->rps; in live_rps_frequency_srm() local [all …]
|
| D | debugfs_gt_pm.c | 247 struct intel_rps *rps = >->rps; in frequency_show() local 491 struct intel_rps *rps = >->rps; in llc_show() local 557 struct intel_rps *rps = >->rps; in rps_boost_show() local
|
| D | selftest_llc.c | 27 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() local
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | i915_sysfs.c | 264 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
|
| /kernel/linux/linux-6.6/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() 3565 struct radeon_ps *rps) in ni_update_current_ps() 3577 struct radeon_ps *rps) in ni_update_requested_ps() 3898 struct radeon_ps *rps, in ni_parse_pplib_non_clock_info() 3924 struct radeon_ps *rps, int index, in ni_parse_pplib_clock_info() 4286 struct radeon_ps *rps) in ni_dpm_print_power_state() 4311 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_debugfs_print_current_performance_level() local 4331 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_sclk() local 4349 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_mclk() local
|
| /kernel/linux/linux-5.10/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 | 348 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 …]
|
| D | rs780_dpm.c | 35 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
|
| D | btc_dpm.c | 2096 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
|
| D | ni_dpm.c | 734 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() 3564 struct radeon_ps *rps) in ni_update_current_ps() 3576 struct radeon_ps *rps) in ni_update_requested_ps() 3897 struct radeon_ps *rps, in ni_parse_pplib_non_clock_info() 3923 struct radeon_ps *rps, int index, in ni_parse_pplib_clock_info() 4285 struct radeon_ps *rps) in ni_dpm_print_power_state() 4310 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_debugfs_print_current_performance_level() local 4330 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_sclk() local 4348 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_mclk() local
|
| /kernel/linux/linux-6.6/lib/ |
| D | test_kprobes.c | 226 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() local 352 struct kretprobe *rps[2] = {&rp3, &rp4}; in test_stacktrace_on_nested_kretprobe() local
|