/linux/drivers/gpu/drm/i915/gt/ |
H A 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 …]
|
H A D | selftest_rps.c | 435 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 437 engine->name, rps->min_freq, read_cagf(rps)); in live_rps_control() 445 for (f = rps->min_freq + 1; f < rps->max_freq; f++) { in live_rps_control() 452 if (rps_set_check(rps, rps->min_freq) != rps->min_freq) { in live_rps_control() 454 engine->name, rps->min_freq, read_cagf(rps)); in live_rps_control() 467 min = rps_set_check(rps, rps->min_freq); in live_rps_control() 475 rps->min_freq, intel_gpu_freq(rps, rps->min_freq), in live_rps_control() 480 if (limit == rps->min_freq) { in live_rps_control() 513 min_gpu_freq = rps->min_freq; in show_pcu_config() 674 min.freq = rps->min_freq; in live_rps_frequency_cs() [all …]
|
H A D | intel_rps.c | 309 rps->min_freq = fmax; in gen5_rps_init() 426 val = rps->min_freq + val; in gen5_invert_freq() 941 rps->cur_freq = max_t(int, rps->cur_freq + adj, rps->min_freq); in intel_rps_park() 969 if (val < rps->min_freq || val > rps->max_freq) in rps_set_boost_freq() 1064 GEM_BUG_ON(val < rps->min_freq); in intel_rps_set() 1113 caps->min_freq = REG_FIELD_GET(MTL_RPN_CAP_MASK, rp_state_cap); in mtl_get_freq_caps() 1129 caps->min_freq = (rp_state_cap >> 0) & 0xff; in __gen6_rps_get_freq_caps() 1138 caps->min_freq = (rp_state_cap >> 16) & 0xff; in __gen6_rps_get_freq_caps() 1149 caps->min_freq *= GEN9_FREQ_SCALER; in __gen6_rps_get_freq_caps() 1179 rps->min_freq = caps.min_freq; in gen6_rps_init() [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()
|
/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()
|
/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,
|
/linux/drivers/devfreq/ |
H A D | devfreq.c | 89 unsigned long min_freq = 0; in find_available_min_freq() local 91 opp = dev_pm_opp_find_freq_ceil_indexed(devfreq->dev.parent, &min_freq, 0); 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 …]
|
H A D | governor.h | 71 unsigned int min_freq; member 117 void devfreq_get_freq_range(struct devfreq *devfreq, unsigned long *min_freq,
|
/linux/tools/testing/selftests/intel_pstate/ |
H A D | run.sh | 95 min_freq=$((_min_freq / 1000)) 100 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq` 112 echo "The minimum frequency of the cpu is $min_freq MHz" 116 for freq in `seq $max_freq -100 $min_freq`
|
/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()
|
/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 897 u32 min_freq, max_freq; in amd_pstate_init_freq() local 908 min_freq = quirks->lowest_freq * 1000; in amd_pstate_init_freq() 910 min_freq = cppc_perf.lowest_freq * 1000; in amd_pstate_init_freq() 927 WRITE_ONCE(cpudata->min_freq, min_freq); in amd_pstate_init_freq() 938 if (min_freq <= 0 || max_freq <= 0 || nominal_freq <= 0 || min_freq > max_freq) { in amd_pstate_init_freq() 940 min_freq, max_freq, nominal_freq * 1000); in amd_pstate_init_freq() 944 if (lowest_nonlinear_freq <= min_freq || lowest_nonlinear_freq > nominal_freq * 1000) { in amd_pstate_init_freq() 946 lowest_nonlinear_freq, min_freq, nominal_freq * 1000); in amd_pstate_init_freq() 955 int min_freq, max_freq, ret; in amd_pstate_cpu_init() local 988 min_freq = READ_ONCE(cpudata->min_freq); in amd_pstate_cpu_init() [all …]
|
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()
|
/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 | 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 | omap3-thermal-data.c | 41 .min_freq = 32768, 109 .min_freq = 32768,
|
H A D | omap4-thermal-data.c | 34 .min_freq = OMAP4430_MIN_FREQ, 126 .min_freq = OMAP4460_MIN_FREQ,
|
/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()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_slpc.c | 393 if (val < slpc->min_freq || in intel_guc_slpc_set_max_freq() 463 slpc->min_freq); in intel_guc_slpc_set_ignore_eff_freq() 487 if (val < slpc->min_freq || in intel_guc_slpc_set_min_freq() 607 slpc->min_freq_softlimit = slpc->min_freq; in slpc_set_softlimits() 608 slpc_to_gt(slpc)->defaults.min_freq = slpc->min_freq_softlimit; in slpc_set_softlimits() 643 (slpc_to_gt(slpc))->defaults.min_freq = slpc->min_freq_softlimit; in update_server_min_softlimit() 663 slpc->min_freq = intel_gpu_freq(rps, caps.min_freq); in slpc_get_rp_values() 738 if (val < slpc->min_freq || val > slpc->rp0_freq) in intel_guc_slpc_set_boost_freq()
|
/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
|
/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()
|
/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()
|
/linux/fs/bcachefs/ |
H A D | time_stats.c | 96 stats->min_freq = min(stats->min_freq, freq); in time_stats_update_one() 177 stats->min_freq = U64_MAX; in bch2_time_stats_init()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H 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()
|