/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | selftest_slpc.c | 119 step = (slpc->rp0_freq - slpc->min_freq) / NUM_STEPS; in vary_max_freq() 120 *max_act_freq = slpc->min_freq; in vary_max_freq() 121 for (max_freq = slpc->rp0_freq; max_freq > slpc->min_freq; in vary_max_freq() 150 u32 step, min_freq, req_freq; in vary_min_freq() local 155 step = (slpc->rp0_freq - slpc->min_freq) / NUM_STEPS; in vary_min_freq() 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() 166 if (req_freq < (min_freq - FREQUENCY_REQ_UNIT)) { in vary_min_freq() [all …]
|
D | selftest_rps.c | 433 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 435 engine->name, rps->min_freq, read_cagf(rps)); in live_rps_control() 443 for (f = rps->min_freq + 1; f < rps->max_freq; f++) { in live_rps_control() 450 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 452 engine->name, rps->min_freq, read_cagf(rps)); in live_rps_control() 465 min = rps_set_check(rps, 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() [all …]
|
D | intel_rps.c | 308 rps->min_freq = fmax; in gen5_rps_init() 425 val = rps->min_freq + val; in gen5_invert_freq() 940 rps->cur_freq = max_t(int, rps->cur_freq + adj, rps->min_freq); in intel_rps_park() 968 if (val < rps->min_freq || val > rps->max_freq) in rps_set_boost_freq() 1059 GEM_BUG_ON(val < rps->min_freq); in intel_rps_set() 1112 caps->min_freq = REG_FIELD_GET(MTL_RPN_CAP_MASK, rp_state_cap); in mtl_get_freq_caps() 1128 caps->min_freq = (rp_state_cap >> 0) & 0xff; in __gen6_rps_get_freq_caps() 1137 caps->min_freq = (rp_state_cap >> 16) & 0xff; in __gen6_rps_get_freq_caps() 1148 caps->min_freq *= GEN9_FREQ_SCALER; in __gen6_rps_get_freq_caps() 1178 rps->min_freq = caps.min_freq; in gen6_rps_init() [all …]
|
D | intel_rps_types.h | 52 u8 min_freq; member 89 u8 min_freq; /* AKA RPn. Minimum frequency */ member
|
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.6.21/drivers/macintosh/ |
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.6.21/drivers/memory/ |
D | jedec_ddr_data.c | 36 .min_freq = 10000000, 57 .min_freq = 10000000, 78 .min_freq = 10000000, 99 .min_freq = 10000000,
|
/linux-6.6.21/drivers/cpufreq/ |
D | amd-pstate.c | 711 int min_freq, max_freq, nominal_freq, lowest_nonlinear_freq, ret; in amd_pstate_cpu_init() local 734 min_freq = amd_get_min_freq(cpudata); in amd_pstate_cpu_init() 739 if (min_freq < 0 || max_freq < 0 || min_freq > max_freq) { in amd_pstate_cpu_init() 741 min_freq, max_freq); in amd_pstate_cpu_init() 749 policy->min = min_freq; in amd_pstate_cpu_init() 752 policy->cpuinfo.min_freq = min_freq; in amd_pstate_cpu_init() 756 policy->cur = policy->cpuinfo.min_freq; in amd_pstate_cpu_init() 762 FREQ_QOS_MIN, policy->cpuinfo.min_freq); in amd_pstate_cpu_init() 777 cpudata->min_freq = min_freq; in amd_pstate_cpu_init() 779 cpudata->min_limit_freq = min_freq; in amd_pstate_cpu_init() [all …]
|
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()
|
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()
|
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.6.21/tools/testing/selftests/intel_pstate/ |
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.6.21/drivers/thermal/ti-soc-thermal/ |
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,
|
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,
|
D | omap3-thermal-data.c | 41 .min_freq = 32768, 109 .min_freq = 32768,
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
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.6.21/drivers/devfreq/ |
D | devfreq.c | 89 unsigned long min_freq = 0; in find_available_min_freq() local 91 opp = dev_pm_opp_find_freq_ceil(devfreq->dev.parent, &min_freq); in find_available_min_freq() 93 min_freq = 0; in find_available_min_freq() 97 return min_freq; in find_available_min_freq() 123 unsigned long *min_freq, in devfreq_get_freq_range() argument 137 *min_freq = freq_table[0]; in devfreq_get_freq_range() 140 *min_freq = freq_table[devfreq->max_state - 1]; 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() [all …]
|
D | governor.h | 71 unsigned int min_freq; member 117 void devfreq_get_freq_range(struct devfreq *devfreq, unsigned long *min_freq,
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/bridge/ |
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.6.21/Documentation/ABI/testing/ |
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
|
/linux-6.6.21/kernel/power/ |
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()
|
/linux-6.6.21/drivers/iio/common/cros_ec_sensors/ |
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.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
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() 745 ret = smu_v12_0_set_soft_freq_limited_range(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() [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
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()
|