/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_slpc.c | 120 *max_act_freq = slpc->min_freq; in vary_max_freq() 150 u32 step, min_freq, req_freq; in vary_min_freq() local 156 *max_act_freq = slpc->min_freq; in vary_min_freq() 157 for (min_freq = slpc->min_freq; min_freq < slpc->rp0_freq; in vary_min_freq() 158 min_freq += step) { in vary_min_freq() 159 err = slpc_set_min_freq(slpc, min_freq); in vary_min_freq() 168 min_freq - FREQUENCY_REQ_UNIT); in vary_min_freq() 200 min.freq = slpc->min_freq; in slpc_power() 230 slpc_set_min_freq(slpc, slpc->min_freq); in slpc_power() 276 if (slpc->min_freq == slpc->rp0_freq) { in run_test() [all …]
|
H A D | selftest_rps.c | 433 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 450 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 473 rps->min_freq, intel_gpu_freq(rps, rps->min_freq), in live_rps_control() 478 if (limit == rps->min_freq) { in live_rps_control() 511 min_gpu_freq = rps->min_freq; in show_pcu_config() 672 min.freq = rps->min_freq; in live_rps_frequency_cs() 810 min.freq = rps->min_freq; in live_rps_frequency_srm() 903 rps_set_check(rps, rps->min_freq); in __rps_up_interrupt() 952 if (rps->cur_freq != rps->min_freq) { in __rps_up_interrupt() 1193 min.freq = rps->min_freq; in live_rps_power() [all …]
|
H A D | intel_rps.c | 308 rps->min_freq = fmax; in gen5_rps_init() 425 val = rps->min_freq + val; in gen5_invert_freq() 1178 rps->min_freq = caps.min_freq; in gen6_rps_init() 1197 rps->min_freq, in gen6_rps_init() 1710 intel_gpu_freq(rps, rps->min_freq), rps->min_freq); in vlv_rps_init() 1744 intel_gpu_freq(rps, rps->min_freq), rps->min_freq); in chv_rps_init() 2243 return slpc->min_freq; in intel_rps_get_rpn_frequency() 2463 if (val < rps->min_freq || in set_max_freq() 2529 freq = rps->min_freq; in intel_rps_get_min_raw_freq() 2545 if (val < rps->min_freq || in set_min_freq() [all …]
|
H A D | intel_rps_types.h | 52 u8 min_freq; member 89 u8 min_freq; /* AKA RPn. Minimum frequency */ member
|
H 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()
|
/openbmc/linux/drivers/macintosh/ |
H 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()
|
/openbmc/linux/drivers/memory/ |
H A D | jedec_ddr_data.c | 36 .min_freq = 10000000, 57 .min_freq = 10000000, 78 .min_freq = 10000000, 99 .min_freq = 10000000,
|
/openbmc/linux/tools/testing/selftests/intel_pstate/ |
H 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`
|
/openbmc/linux/drivers/thermal/ti-soc-thermal/ |
H 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,
|
H A D | omap3-thermal-data.c | 41 .min_freq = 32768, 109 .min_freq = 32768,
|
H 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,
|
H A D | omap4-thermal-data.c | 34 .min_freq = OMAP4430_MIN_FREQ, 126 .min_freq = OMAP4460_MIN_FREQ,
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H 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()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 834 min_freq = amd_get_min_freq(cpudata); in amd_pstate_cpu_init() 839 if (min_freq < 0 || max_freq < 0 || min_freq > max_freq) { in amd_pstate_cpu_init() 841 min_freq, max_freq); in amd_pstate_cpu_init() 849 policy->min = min_freq; in amd_pstate_cpu_init() 852 policy->cpuinfo.min_freq = min_freq; in amd_pstate_cpu_init() 877 cpudata->min_freq = min_freq; in amd_pstate_cpu_init() 879 cpudata->min_limit_freq = min_freq; in amd_pstate_cpu_init() 1296 if (min_freq < 0 || max_freq < 0 || min_freq > max_freq) { in amd_pstate_epp_cpu_init() 1298 min_freq, max_freq); in amd_pstate_epp_cpu_init() 1303 policy->cpuinfo.min_freq = min_freq; in amd_pstate_epp_cpu_init() [all …]
|
H A D | amd-pstate-ut.c | 213 (cpudata->lowest_nonlinear_freq > cpudata->min_freq) && in amd_pstate_ut_check_freq() 214 (cpudata->min_freq > 0))) { in amd_pstate_ut_check_freq() 218 cpudata->lowest_nonlinear_freq, cpudata->min_freq); in amd_pstate_ut_check_freq() 222 if (cpudata->min_freq != policy->min) { in amd_pstate_ut_check_freq() 225 __func__, cpu, cpudata->min_freq, policy->min); in amd_pstate_ut_check_freq()
|
H 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()
|
H 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()
|
/openbmc/linux/drivers/devfreq/ |
H 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 …]
|
H A D | governor.h | 71 unsigned int min_freq; member 117 void devfreq_get_freq_range(struct devfreq *devfreq, unsigned long *min_freq,
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_slpc.c | 413 if (val < slpc->min_freq || in intel_guc_slpc_set_max_freq() 483 slpc->min_freq); in intel_guc_slpc_set_ignore_eff_freq() 507 if (val < slpc->min_freq || in intel_guc_slpc_set_min_freq() 613 slpc->min_freq_softlimit = slpc->min_freq; in slpc_set_softlimits() 614 slpc_to_gt(slpc)->defaults.min_freq = slpc->min_freq_softlimit; in slpc_set_softlimits() 649 (slpc_to_gt(slpc))->defaults.min_freq = slpc->min_freq_softlimit; in update_server_min_softlimit() 669 slpc->min_freq = intel_gpu_freq(rps, caps.min_freq); in slpc_get_rp_values() 784 if (val < slpc->min_freq || val > slpc->rp0_freq) in intel_guc_slpc_set_boost_freq()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-devfreq | 74 What: /sys/class/devfreq/.../min_freq 78 The /sys/class/devfreq/.../min_freq shows and stores 80 the user does not care. min_freq overrides the 90 frequency requested by governors and min_freq. 91 The max_freq overrides min_freq because max_freq may be
|
/openbmc/linux/kernel/power/ |
H A D | qos.c | 447 c = &qos->min_freq; in freq_constraints_init() 480 pm_qos_read_value(&qos->min_freq); in freq_qos_read_value() 510 ret = pm_qos_update_target(&req->qos->min_freq, &req->pnode, in freq_qos_apply() 636 ret = blocking_notifier_chain_register(qos->min_freq.notifiers, in freq_qos_add_notifier() 669 ret = blocking_notifier_chain_unregister(qos->min_freq.notifiers, in freq_qos_remove_notifier()
|
/openbmc/linux/drivers/iio/common/cros_ec_sensors/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
H A D | renoir_ppt.c | 696 uint32_t min_freq, max_freq, force_freq; in renoir_force_dpm_limit_value() local 707 ret = renoir_get_dpm_ultimate_freq(smu, clk_type, &min_freq, &max_freq); in renoir_force_dpm_limit_value() 711 force_freq = highest ? max_freq : min_freq; in renoir_force_dpm_limit_value() 723 uint32_t min_freq, max_freq; in renoir_unforce_dpm_levels() local 741 ret = renoir_get_dpm_ultimate_freq(smu, clk_type, &min_freq, &max_freq); in renoir_unforce_dpm_levels() 802 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local 815 ret = renoir_get_dpm_ultimate_freq(smu, SMU_GFXCLK, &min_freq, &max_freq); in renoir_force_clk_levels() 819 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels() 826 soft_min_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : min_freq, in renoir_force_clk_levels() 832 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_min_level, &min_freq); in renoir_force_clk_levels() [all …]
|