/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | selftest_slpc.c | 95 *max_act_freq = slpc->min_freq; in vary_max_freq() 125 u32 step, min_freq, req_freq; in vary_min_freq() local 131 *max_act_freq = slpc->min_freq; in vary_min_freq() 132 for (min_freq = slpc->min_freq; min_freq < slpc->rp0_freq; in vary_min_freq() 133 min_freq += step) { in vary_min_freq() 134 err = slpc_set_min_freq(slpc, min_freq); in vary_min_freq() 143 min_freq - FREQUENCY_REQ_UNIT); in vary_min_freq() 175 min.freq = slpc->min_freq; in slpc_power() 205 slpc_set_min_freq(slpc, slpc->min_freq); in slpc_power() 251 if (slpc->min_freq == slpc->rp0_freq) { in run_test() [all …]
|
A D | selftest_rps.c | 432 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 449 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 472 rps->min_freq, intel_gpu_freq(rps, rps->min_freq), in live_rps_control() 477 if (limit == rps->min_freq) { in live_rps_control() 510 min_gpu_freq = rps->min_freq; in show_pcu_config() 671 min.freq = rps->min_freq; in live_rps_frequency_cs() 809 min.freq = rps->min_freq; in live_rps_frequency_srm() 902 rps_set_check(rps, rps->min_freq); in __rps_up_interrupt() 951 if (rps->cur_freq != rps->min_freq) { in __rps_up_interrupt() 1192 min.freq = rps->min_freq; in live_rps_power() [all …]
|
A D | intel_rps.c | 303 rps->min_freq = fmax; in gen5_rps_init() 420 val = rps->min_freq + val; in gen5_invert_freq() 1173 rps->min_freq = caps.min_freq; in gen6_rps_init() 1192 rps->min_freq, in gen6_rps_init() 1719 intel_gpu_freq(rps, rps->min_freq), rps->min_freq); in vlv_rps_init() 1766 intel_gpu_freq(rps, rps->min_freq), rps->min_freq); in chv_rps_init() 2255 return slpc->min_freq; in intel_rps_get_rpn_frequency() 2475 if (val < rps->min_freq || in set_max_freq() 2541 freq = rps->min_freq; in intel_rps_get_min_raw_freq() 2557 if (val < rps->min_freq || in set_min_freq() [all …]
|
A D | intel_rps_types.h | 52 u8 min_freq; member 89 u8 min_freq; /* AKA RPn. Minimum frequency */ member
|
A D | intel_llc.c | 96 const int min_freq = 15; in calc_ia_freq() local 107 if (gpu_freq < min_freq) in calc_ia_freq()
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | amd-pstate.c | 627 min_freq = amd_get_min_freq(cpudata); in amd_pstate_cpu_init() 632 if (min_freq < 0 || max_freq < 0 || min_freq > max_freq) { in amd_pstate_cpu_init() 634 min_freq, max_freq); in amd_pstate_cpu_init() 642 policy->min = min_freq; in amd_pstate_cpu_init() 645 policy->cpuinfo.min_freq = min_freq; in amd_pstate_cpu_init() 670 cpudata->min_freq = min_freq; in amd_pstate_cpu_init() 965 min_freq = amd_get_min_freq(cpudata); in amd_pstate_epp_cpu_init() 969 if (min_freq < 0 || max_freq < 0 || min_freq > max_freq) { in amd_pstate_epp_cpu_init() 971 min_freq, max_freq); in amd_pstate_epp_cpu_init() 976 policy->cpuinfo.min_freq = min_freq; in amd_pstate_epp_cpu_init() [all …]
|
A D | amd-pstate-ut.c | 227 (cpudata->lowest_nonlinear_freq > cpudata->min_freq) && in amd_pstate_ut_check_freq() 228 (cpudata->min_freq > 0))) { in amd_pstate_ut_check_freq() 232 cpudata->lowest_nonlinear_freq, cpudata->min_freq); in amd_pstate_ut_check_freq() 236 if (cpudata->min_freq != policy->min) { in amd_pstate_ut_check_freq() 239 __func__, cpu, cpudata->min_freq, policy->min); in amd_pstate_ut_check_freq()
|
A D | freq_table.c | 36 unsigned int min_freq = ~0; in cpufreq_frequency_table_cpuinfo() local 48 if (freq < min_freq) in cpufreq_frequency_table_cpuinfo() 49 min_freq = freq; in cpufreq_frequency_table_cpuinfo() 54 policy->min = policy->cpuinfo.min_freq = min_freq; in cpufreq_frequency_table_cpuinfo()
|
A D | pmac64-cpufreq.c | 484 u64 max_freq, min_freq, ih, il; in g5_pm72_cpufreq_init() local 590 min_freq = 0; in g5_pm72_cpufreq_init() 592 min_freq = (max_freq * il) / ih; in g5_pm72_cpufreq_init() 595 if (min_freq >= max_freq || min_freq < 1000) { in g5_pm72_cpufreq_init() 601 g5_cpu_freqs[1].frequency = min_freq; in g5_pm72_cpufreq_init()
|
/linux-6.3-rc2/drivers/macintosh/ |
A D | windfarm_cpufreq_clamp.c | 20 static unsigned int min_freq, max_freq; variable 27 freq = min_freq; in clamp_set() 76 min_freq = policy->cpuinfo.min_freq; in wf_cpufreq_clamp_init()
|
/linux-6.3-rc2/drivers/memory/ |
A D | jedec_ddr_data.c | 36 .min_freq = 10000000, 57 .min_freq = 10000000, 78 .min_freq = 10000000, 99 .min_freq = 10000000,
|
/linux-6.3-rc2/tools/testing/selftests/intel_pstate/ |
A D | run.sh | 90 min_freq=$(($_min_freq / 1000)) 95 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq` 107 echo "The minimum frequency of the cpu is $min_freq MHz" 111 for freq in `seq $max_freq -100 $min_freq`
|
/linux-6.3-rc2/drivers/thermal/ti-soc-thermal/ |
A D | dra752-thermal-data.c | 152 .min_freq = DRA752_MPU_MIN_FREQ, 160 .min_freq = DRA752_GPU_MIN_FREQ, 168 .min_freq = DRA752_CORE_MIN_FREQ, 176 .min_freq = DRA752_DSPEVE_MIN_FREQ, 184 .min_freq = DRA752_IVA_MIN_FREQ,
|
A D | omap5-thermal-data.c | 135 .min_freq = OMAP5430_MPU_MIN_FREQ, 145 .min_freq = OMAP5430_GPU_MIN_FREQ, 155 .min_freq = OMAP5430_CORE_MIN_FREQ,
|
A D | omap3-thermal-data.c | 41 .min_freq = 32768, 109 .min_freq = 32768,
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A D | pll.c | 257 info->vco1.min_freq = nvbios_rd32(bios, data + 0); in nvbios_pll_parse() 259 info->vco2.min_freq = nvbios_rd32(bios, data + 8); in nvbios_pll_parse() 303 info->vco1.min_freq = nvbios_rd16(bios, data + 4) * 1000; in nvbios_pll_parse() 305 info->vco2.min_freq = nvbios_rd16(bios, data + 8) * 1000; in nvbios_pll_parse() 332 info->vco1.min_freq = nvbios_rd16(bios, data + 0) * 1000; in nvbios_pll_parse() 334 info->vco2.min_freq = nvbios_rd16(bios, data + 4) * 1000; in nvbios_pll_parse() 356 info->vco1.min_freq = nvbios_rd16(bios, data + 0) * 1000; in nvbios_pll_parse() 370 info->vco1.min_freq = nvbios_rd16(bios, data + 5) * 1000; in nvbios_pll_parse() 407 info->vco1.min_freq = nvbios_rd32(bios, bios->bmp_offset + 71); in nvbios_pll_parse() 410 info->vco1.min_freq = 128000; in nvbios_pll_parse()
|
/linux-6.3-rc2/drivers/devfreq/ |
A D | devfreq.c | 89 unsigned long min_freq = 0; in find_available_min_freq() local 93 min_freq = 0; in find_available_min_freq() 97 return min_freq; in find_available_min_freq() 137 *min_freq = freq_table[0]; in devfreq_get_freq_range() 149 *min_freq = max(*min_freq, (unsigned long)HZ_PER_KHZ * qos_min_freq); in devfreq_get_freq_range() 155 *min_freq = max(*min_freq, devfreq->scaling_min_freq); in devfreq_get_freq_range() 158 if (*min_freq > *max_freq) in devfreq_get_freq_range() 159 *min_freq = *max_freq; in devfreq_get_freq_range() 420 if (freq < min_freq) { in devfreq_update_target() 421 freq = min_freq; in devfreq_update_target() [all …]
|
A D | governor.h | 71 unsigned int min_freq; member 117 void devfreq_get_freq_range(struct devfreq *devfreq, unsigned long *min_freq,
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/ |
A D | thc63lvd1024.c | 58 unsigned int min_freq; in thc63_mode_valid() local 68 min_freq = 40000; in thc63_mode_valid() 71 min_freq = 8000; in thc63_mode_valid() 75 if (mode->clock < min_freq) in thc63_mode_valid()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_guc_slpc.c | 420 if (val < slpc->min_freq || in intel_guc_slpc_set_max_freq() 484 if (val < slpc->min_freq || in intel_guc_slpc_set_min_freq() 603 slpc_to_gt(slpc)->defaults.min_freq = slpc->min_freq_softlimit; in slpc_set_softlimits() 604 } else if (slpc->min_freq_softlimit != slpc->min_freq) { in slpc_set_softlimits() 641 (slpc_to_gt(slpc))->defaults.min_freq = slpc->min_freq_softlimit; in update_server_min_softlimit() 661 slpc->min_freq = intel_gpu_freq(rps, caps.min_freq); in slpc_get_rp_values() 779 if (val < slpc->min_freq || val > slpc->rp0_freq) in intel_guc_slpc_set_boost_freq()
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-class-devfreq | 71 What: /sys/class/devfreq/.../min_freq 75 The /sys/class/devfreq/.../min_freq shows and stores 77 the user does not care. min_freq overrides the 87 frequency requested by governors and min_freq. 88 The max_freq overrides min_freq because max_freq may be
|
/linux-6.3-rc2/kernel/power/ |
A D | qos.c | 437 c = &qos->min_freq; in freq_constraints_init() 470 pm_qos_read_value(&qos->min_freq); in freq_qos_read_value() 500 ret = pm_qos_update_target(&req->qos->min_freq, &req->pnode, in freq_qos_apply() 626 ret = blocking_notifier_chain_register(qos->min_freq.notifiers, in freq_qos_add_notifier() 659 ret = blocking_notifier_chain_unregister(qos->min_freq.notifiers, in freq_qos_remove_notifier()
|
/linux-6.3-rc2/drivers/iio/common/cros_ec_sensors/ |
A D | cros_ec_sensors_core.c | 58 u32 *min_freq, in get_default_min_max_freq() argument 70 *min_freq = 12500; in get_default_min_max_freq() 74 *min_freq = 25000; in get_default_min_max_freq() 78 *min_freq = 5000; in get_default_min_max_freq() 83 *min_freq = 100; in get_default_min_max_freq() 87 *min_freq = 250; in get_default_min_max_freq() 92 *min_freq = 0; in get_default_min_max_freq()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
A D | renoir_ppt.c | 695 uint32_t min_freq, max_freq, force_freq; in renoir_force_dpm_limit_value() local 706 ret = renoir_get_dpm_ultimate_freq(smu, clk_type, &min_freq, &max_freq); in renoir_force_dpm_limit_value() 710 force_freq = highest ? max_freq : min_freq; in renoir_force_dpm_limit_value() 722 uint32_t min_freq, max_freq; in renoir_unforce_dpm_levels() local 740 ret = renoir_get_dpm_ultimate_freq(smu, clk_type, &min_freq, &max_freq); in renoir_unforce_dpm_levels() 801 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local 814 ret = renoir_get_dpm_ultimate_freq(smu, SMU_GFXCLK, &min_freq, &max_freq); in renoir_force_clk_levels() 818 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels() 825 soft_min_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : min_freq, in renoir_force_clk_levels() 831 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_min_level, &min_freq); in renoir_force_clk_levels() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | pllnv04.c | 41 int minvco = info->vco1.min_freq, maxvco = info->vco1.max_freq; in getMNP_single() 140 int minvco1 = info->vco1.min_freq, maxvco1 = info->vco1.max_freq; in getMNP_double() 141 int minvco2 = info->vco2.min_freq, maxvco2 = info->vco2.max_freq; in getMNP_double()
|