/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_rps.c | 188 rps->pm_events, rps_pm_mask(rps, rps->last_freq)); in rps_enable_interrupts() 1014 rps->max_freq = rps->rp0_freq; in gen6_rps_init() 1548 intel_gpu_freq(rps, rps->max_freq), rps->max_freq); in vlv_rps_init() 1556 intel_gpu_freq(rps, rps->rp1_freq), rps->rp1_freq); in vlv_rps_init() 1560 intel_gpu_freq(rps, rps->min_freq), rps->min_freq); in vlv_rps_init() 1595 intel_gpu_freq(rps, rps->max_freq), rps->max_freq); in chv_rps_init() 1603 intel_gpu_freq(rps, rps->rp1_freq), rps->rp1_freq); in chv_rps_init() 1607 intel_gpu_freq(rps, rps->min_freq), rps->min_freq); in chv_rps_init() 2260 rps = &i915->gt.rps; in i915_gpu_raise() 2287 rps = &i915->gt.rps; in i915_gpu_lower() [all …]
|
A D | intel_rps.h | 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); 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); 57 set_bit(INTEL_RPS_ENABLED, &rps->flags); in intel_rps_set_enabled() 72 set_bit(INTEL_RPS_ACTIVE, &rps->flags); in intel_rps_set_active() 102 set_bit(INTEL_RPS_TIMER, &rps->flags); in intel_rps_set_timer() [all …]
|
A D | selftest_rps.c | 218 struct intel_rps *rps = >->rps; in live_rps_clock_interval() local 370 struct intel_rps *rps = >->rps; in live_rps_control() local 429 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 446 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 469 rps->min_freq, intel_gpu_freq(rps, rps->min_freq), in live_rps_control() 470 rps->max_freq, intel_gpu_freq(rps, rps->max_freq), in live_rps_control() 602 struct intel_rps *rps = >->rps; in live_rps_frequency_cs() local 743 struct intel_rps *rps = >->rps; in live_rps_frequency_srm() local 1022 struct intel_rps *rps = >->rps; in live_rps_interrupt() local 1126 struct intel_rps *rps = >->rps; in live_rps_power() local [all …]
|
A D | intel_gt_pm_debugfs.c | 288 struct intel_rps *rps = >->rps; in intel_gt_pm_frequency_dump() local 326 intel_gpu_freq(rps, rps->cur_freq)); in intel_gt_pm_frequency_dump() 329 intel_gpu_freq(rps, rps->max_freq)); in intel_gt_pm_frequency_dump() 332 intel_gpu_freq(rps, rps->min_freq)); in intel_gt_pm_frequency_dump() 335 intel_gpu_freq(rps, rps->idle_freq)); in intel_gt_pm_frequency_dump() 538 struct intel_rps *rps = >->rps; in llc_show() local 604 struct intel_rps *rps = >->rps; in rps_boost_show() local 615 intel_gpu_freq(rps, rps->cur_freq), in rps_boost_show() 618 intel_gpu_freq(rps, rps->min_freq), in rps_boost_show() 621 intel_gpu_freq(rps, rps->max_freq)); in rps_boost_show() [all …]
|
A D | selftest_slpc.c | 44 struct intel_rps *rps = >->rps; in live_slpc_clamp_min() local 119 req_freq = intel_rps_read_punit_req_frequency(rps); in live_slpc_clamp_min() 131 act_freq = intel_rps_read_actual_frequency(rps); in live_slpc_clamp_min() 171 struct intel_rps *rps; in live_slpc_clamp_max() local 179 rps = >->rps; in live_slpc_clamp_max() 248 req_freq = intel_rps_read_punit_req_frequency(rps); in live_slpc_clamp_max() 260 act_freq = intel_rps_read_actual_frequency(rps); in live_slpc_clamp_max()
|
A D | intel_llc.c | 51 struct intel_rps *rps = &llc_to_gt(llc)->rps; in get_ia_constants() local 56 if (rps->max_freq <= rps->min_freq) in get_ia_constants() 66 consts->min_gpu_freq = rps->min_freq; in get_ia_constants() 67 consts->max_gpu_freq = rps->max_freq; in get_ia_constants()
|
A D | selftest_llc.c | 26 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() local 47 intel_gpu_freq(rps, gpu_freq * (GRAPHICS_VER(i915) >= 9 ? GEN9_FREQ_SCALER : 1)), in gen6_verify_ring_freq() 57 intel_gpu_freq(rps, gpu_freq * (GRAPHICS_VER(i915) >= 9 ? GEN9_FREQ_SCALER : 1)), in gen6_verify_ring_freq()
|
A D | intel_gt_pm.c | 87 intel_rps_unpark(>->rps); in __gt_unpark() 109 intel_rps_park(>->rps); in __gt_park() 141 intel_rps_init(>->rps); in intel_gt_pm_init() 196 intel_rps_sanitize(>->rps); in gt_sanitize() 246 intel_rps_enable(>->rps); in intel_gt_resume() 345 intel_rps_disable(>->rps); in intel_gt_suspend_late()
|
/linux/drivers/clocksource/ |
A D | timer-oxnas-rps.c | 66 rps->clkevent.event_handler(&rps->clkevent); in oxnas_rps_timer_irq() 102 oxnas_rps_timer_config(rps, rps->timer_period, 1); in oxnas_rps_timer_set_periodic() 112 oxnas_rps_timer_config(rps, rps->timer_period, 0); in oxnas_rps_timer_set_oneshot() 160 rps->clkevent.irq = rps->irq; in oxnas_rps_clockevent_init() 169 rps->timer_period); in oxnas_rps_clockevent_init() 218 rps = kzalloc(sizeof(*rps), GFP_KERNEL); in oxnas_rps_timer_init() 219 if (!rps) in oxnas_rps_timer_init() 239 if (rps->irq < 0) { in oxnas_rps_timer_init() 272 free_irq(rps->irq, rps); in oxnas_rps_timer_init() 278 clk_put(rps->clk); in oxnas_rps_timer_init() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_sysfs.c | 263 struct intel_rps *rps = &i915->gt.rps; in gt_act_freq_mhz_show() local 272 struct intel_rps *rps = &i915->gt.rps; in gt_cur_freq_mhz_show() local 280 struct intel_rps *rps = &i915->gt.rps; in gt_boost_freq_mhz_show() local 290 struct intel_rps *rps = &dev_priv->gt.rps; in gt_boost_freq_mhz_store() local 301 if (val < rps->min_freq || val > rps->max_freq) in gt_boost_freq_mhz_store() 320 struct intel_rps *rps = &dev_priv->gt.rps; in vlv_rpe_freq_mhz_show() local 329 struct intel_rps *rps = >->rps; in gt_max_freq_mhz_show() local 340 struct intel_rps *rps = >->rps; in gt_max_freq_mhz_store() local 357 struct intel_rps *rps = >->rps; in gt_min_freq_mhz_show() local 367 struct intel_rps *rps = &i915->gt.rps; in gt_min_freq_mhz_store() local [all …]
|
A D | i915_debugfs.c | 442 struct intel_rps *rps = &dev_priv->gt.rps; in i915_rps_boost_info() local 448 atomic_read(&rps->num_waiters)); in i915_rps_boost_info() 451 intel_gpu_freq(rps, rps->cur_freq), in i915_rps_boost_info() 452 intel_rps_read_actual_frequency(rps)); in i915_rps_boost_info() 454 intel_gpu_freq(rps, rps->min_freq), in i915_rps_boost_info() 455 intel_gpu_freq(rps, rps->min_freq_softlimit), in i915_rps_boost_info() 456 intel_gpu_freq(rps, rps->max_freq_softlimit), in i915_rps_boost_info() 457 intel_gpu_freq(rps, rps->max_freq)); in i915_rps_boost_info() 459 intel_gpu_freq(rps, rps->idle_freq), in i915_rps_boost_info() 460 intel_gpu_freq(rps, rps->efficient_freq), in i915_rps_boost_info() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | rs780_dpm.c | 37 struct igp_ps *ps = rps->ps_priv; in rs780_get_ps() 730 rps->vclk = 0; in rs780_parse_pplib_non_clock_info() 731 rps->dclk = 0; in rs780_parse_pplib_non_clock_info() 734 if (r600_is_uvd_state(rps->class, rps->class2)) { in rs780_parse_pplib_non_clock_info() 735 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rs780_parse_pplib_non_clock_info() 744 rdev->pm.dpm.uvd_ps = rps; in rs780_parse_pplib_non_clock_info() 748 struct radeon_ps *rps, in rs780_parse_pplib_clock_info() argument 939 struct radeon_ps *rps) in rs780_dpm_print_power_state() argument 943 r600_dpm_print_class_info(rps->class, rps->class2); in rs780_dpm_print_power_state() 945 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_print_power_state() [all …]
|
A D | sumo_dpm.c | 385 struct radeon_ps *rps) in sumo_program_at() argument 985 struct radeon_ps *rps) in sumo_force_nbp_state() argument 1186 pi->current_rps = *rps; in sumo_update_current_ps() 1197 pi->requested_rps = *rps; in sumo_update_requested_ps() 1417 rps->vclk = 0; in sumo_parse_pplib_non_clock_info() 1418 rps->dclk = 0; in sumo_parse_pplib_non_clock_info() 1795 struct radeon_ps *rps) in sumo_dpm_print_power_state() argument 1800 r600_dpm_print_class_info(rps->class, rps->class2); in sumo_dpm_print_power_state() 1802 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_print_power_state() 1825 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_debugfs_print_current_performance_level() [all …]
|
A D | trinity_dpm.c | 854 if ((rps->vclk == 0) && (rps->dclk == 0)) in trinity_uvd_clocks_zero() 1029 pi->current_rps = *rps; in trinity_update_current_ps() 1035 struct radeon_ps *rps) in trinity_update_requested_ps() argument 1040 pi->requested_rps = *rps; in trinity_update_requested_ps() 1140 struct radeon_ps *rps) in trinity_setup_nbp_sim() argument 1434 if (pi->uvd_dpm && r600_is_uvd_state(rps->class, rps->class2)) { in trinity_adjust_uvd_state() 1651 rps->vclk = 0; in trinity_parse_pplib_non_clock_info() 1652 rps->dclk = 0; in trinity_parse_pplib_non_clock_info() 1973 r600_dpm_print_class_info(rps->class, rps->class2); in trinity_dpm_print_power_state() 1975 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in trinity_dpm_print_power_state() [all …]
|
A D | rv770_dpm.c | 51 struct rv7xx_ps *ps = rps->ps_priv; in rv770_get_ps() 2158 rps->vclk = 0; in rv7xx_parse_pplib_non_clock_info() 2159 rps->dclk = 0; in rv7xx_parse_pplib_non_clock_info() 2162 if (r600_is_uvd_state(rps->class, rps->class2)) { in rv7xx_parse_pplib_non_clock_info() 2163 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rv7xx_parse_pplib_non_clock_info() 2170 rdev->pm.dpm.boot_ps = rps; in rv7xx_parse_pplib_non_clock_info() 2172 rdev->pm.dpm.uvd_ps = rps; in rv7xx_parse_pplib_non_clock_info() 2435 struct radeon_ps *rps) in rv770_dpm_print_power_state() argument 2440 r600_dpm_print_class_info(rps->class, rps->class2); in rv770_dpm_print_power_state() 2442 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv770_dpm_print_power_state() [all …]
|
A D | rv6xx_dpm.c | 38 struct rv6xx_ps *ps = rps->ps_priv; in rv6xx_get_ps() 1795 struct radeon_ps *rps, in rv6xx_parse_pplib_non_clock_info() argument 1802 if (r600_is_uvd_state(rps->class, rps->class2)) { in rv6xx_parse_pplib_non_clock_info() 1806 rps->vclk = 0; in rv6xx_parse_pplib_non_clock_info() 1807 rps->dclk = 0; in rv6xx_parse_pplib_non_clock_info() 1811 rdev->pm.dpm.boot_ps = rps; in rv6xx_parse_pplib_non_clock_info() 1813 rdev->pm.dpm.uvd_ps = rps; in rv6xx_parse_pplib_non_clock_info() 2008 struct radeon_ps *rps) in rv6xx_dpm_print_power_state() argument 2013 r600_dpm_print_class_info(rps->class, rps->class2); in rv6xx_dpm_print_power_state() 2015 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv6xx_dpm_print_power_state() [all …]
|
A D | kv_dpm.c | 982 struct radeon_ps *rps) in kv_update_current_ps() argument 987 pi->current_rps = *rps; in kv_update_current_ps() 993 struct radeon_ps *rps) in kv_update_requested_ps() argument 998 pi->requested_rps = *rps; in kv_update_requested_ps() 2381 struct radeon_ps *rps, in kv_parse_pplib_non_clock_info() argument 2395 rps->vclk = 0; in kv_parse_pplib_non_clock_info() 2396 rps->dclk = 0; in kv_parse_pplib_non_clock_info() 2400 rdev->pm.dpm.boot_ps = rps; in kv_parse_pplib_non_clock_info() 2404 rdev->pm.dpm.uvd_ps = rps; in kv_parse_pplib_non_clock_info() 2651 r600_dpm_print_class_info(rps->class, rps->class2); in kv_dpm_print_power_state() [all …]
|
A D | ni_dpm.c | 786 struct radeon_ps *rps) in ni_apply_state_adjust_rules() argument 3563 struct radeon_ps *rps) in ni_update_current_ps() argument 3569 eg_pi->current_rps = *rps; in ni_update_current_ps() 3575 struct radeon_ps *rps) in ni_update_requested_ps() argument 3907 } else if (r600_is_uvd_state(rps->class, rps->class2)) { in ni_parse_pplib_non_clock_info() 3911 rps->vclk = 0; in ni_parse_pplib_non_clock_info() 3912 rps->dclk = 0; in ni_parse_pplib_non_clock_info() 3918 rdev->pm.dpm.uvd_ps = rps; in ni_parse_pplib_non_clock_info() 4290 r600_dpm_print_class_info(rps->class, rps->class2); in ni_dpm_print_power_state() 4292 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in ni_dpm_print_power_state() [all …]
|
/linux/drivers/comedi/drivers/ |
A D | s626.c | 1280 u32 *rps; in s626_reset_adc() local 1346 *rps++ = local_ppl; in s626_reset_adc() 1359 *rps++ = local_ppl; in s626_reset_adc() 1376 (u32)((unsigned long)rps - in s626_reset_adc() 1381 *rps++ = S626_RPS_JUMP; in s626_reset_adc() 1382 *rps++ = jmp_adrs; in s626_reset_adc() 1394 *rps++ = S626_RPS_NOP; in s626_reset_adc() 1408 *rps++ = S626_RPS_STREG | in s626_reset_adc() 1432 *rps++ = S626_RPS_NOP; in s626_reset_adc() 1441 *rps++ = S626_RPS_NOP; in s626_reset_adc() [all …]
|
/linux/tools/perf/arch/x86/util/ |
A D | iostat.c | 69 struct iio_root_port **rps; member 103 free(list->rps[idx]); in iio_root_ports_list_free() 104 free(list->rps); in iio_root_ports_list_free() 117 rp = list->rps[idx]; in iio_root_port_find_by_notation() 132 tmp_buf = realloc(list->rps, in iio_root_ports_list_insert() 133 list->nr_entries * sizeof(*list->rps)); in iio_root_ports_list_insert() 139 list->rps = tmp_buf; in iio_root_ports_list_insert() 269 (*list)->rps[rp->idx] = NULL; in iio_root_ports_list_filter() 317 list->rps[idx]->pmu_idx, list->rps[idx]->pmu_idx, in iostat_event_group() 318 list->rps[idx]->pmu_idx, list->rps[idx]->pmu_idx); in iostat_event_group() [all …]
|
/linux/Documentation/devicetree/bindings/timer/ |
A D | oxsemi,rps-timer.txt | 5 - compatible: Should be "oxsemi,ox810se-rps-timer" or "oxsemi,ox820-rps-timer" 13 compatible = "oxsemi,ox810se-rps-timer";
|
/linux/lib/ |
A D | test_kprobes.c | 193 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() local 199 KUNIT_EXPECT_EQ(test, 0, register_kretprobes(rps, 2)); in test_kretprobes() 208 unregister_kretprobes(rps, 2); in test_kretprobes() 319 struct kretprobe *rps[2] = {&rp3, &rp4}; in test_stacktrace_on_nested_kretprobe() local 327 KUNIT_ASSERT_EQ(test, 0, register_kretprobes(rps, 2)); in test_stacktrace_on_nested_kretprobe() 329 unregister_kretprobes(rps, 2); in test_stacktrace_on_nested_kretprobe()
|
/linux/drivers/gpu/drm/amd/pm/powerplay/ |
A D | kv_dpm.c | 1223 struct amdgpu_ps *rps) in kv_update_current_ps() argument 1228 pi->current_rps = *rps; in kv_update_current_ps() 1240 pi->requested_rps = *rps; in kv_update_requested_ps() 2665 rps->vclk = 0; in kv_parse_pplib_non_clock_info() 2666 rps->dclk = 0; in kv_parse_pplib_non_clock_info() 2674 adev->pm.dpm.uvd_ps = rps; in kv_parse_pplib_non_clock_info() 2897 amdgpu_dpm_print_class_info(rps->class, rps->class2); in kv_dpm_print_power_state() 2899 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in kv_dpm_print_power_state() 3251 kv_rps = kv_get_ps(rps); in kv_check_state_equal() 3272 *equal = ((cps->vclk == rps->vclk) && (cps->dclk == rps->dclk)); in kv_check_state_equal() [all …]
|
/linux/include/linux/ |
A D | kprobes.h | 400 int register_kretprobes(struct kretprobe **rps, int num); 401 void unregister_kretprobes(struct kretprobe **rps, int num); 454 static inline int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes() argument 461 static inline void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes() argument
|
/linux/arch/arm/boot/dts/ |
A D | ox820.dtsi | 231 rps@400000 { 238 compatible = "oxsemi,ox820-rps-irq", "oxsemi,ox810se-rps-irq"; 248 compatible = "oxsemi,ox820-rps-timer";
|