Home
last modified time | relevance | path

Searched refs:turbo_disabled (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kernel/cpu/
H A Daperfmperf.c90 void arch_set_max_freq_ratio(bool turbo_disabled) in arch_set_max_freq_ratio() argument
92 arch_max_freq_ratio = turbo_disabled ? SCHED_CAPACITY_SCALE : in arch_set_max_freq_ratio()
97 static bool __init turbo_disabled(void) in turbo_disabled() function
285 arch_set_max_freq_ratio(turbo_disabled()); in intel_set_max_freq_ratio()
314 void freq_invariance_set_perf_ratio(u64 ratio, bool turbo_disabled) in freq_invariance_set_perf_ratio() argument
317 arch_set_max_freq_ratio(turbo_disabled); in freq_invariance_set_perf_ratio()
/linux/arch/x86/include/asm/
H A Dtopology.h292 extern void arch_set_max_freq_ratio(bool turbo_disabled);
293 extern void freq_invariance_set_perf_ratio(u64 ratio, bool turbo_disabled);
301 static inline void arch_set_max_freq_ratio(bool turbo_disabled) { } in arch_set_max_freq_ratio() argument
302 static inline void freq_invariance_set_perf_ratio(u64 ratio, bool turbo_disabled) { } in freq_invariance_set_perf_ratio() argument
/linux/drivers/cpufreq/
H A Dintel_pstate.c184 bool turbo_disabled; member
1529 WRITE_ONCE(global.turbo_disabled, turbo_is_disabled()); in store_no_turbo()
1530 if (global.turbo_disabled && !no_turbo) { in store_no_turbo()
2016 if (READ_ONCE(global.no_turbo) && !READ_ONCE(global.turbo_disabled)) in atom_get_val()
2181 if (READ_ONCE(global.no_turbo) && !READ_ONCE(global.turbo_disabled)) in core_get_val()
3377 global.turbo_disabled = turbo_is_disabled(); in intel_pstate_register_driver()
3378 global.no_turbo = global.turbo_disabled; in intel_pstate_register_driver()
3380 arch_set_max_freq_ratio(global.turbo_disabled); in intel_pstate_register_driver()