Lines Matching refs:global
326 static struct global_params global; variable
1087 if (READ_ONCE(global.no_turbo)) { in hybrid_get_capacity_perf()
1497 policy->cpuinfo.max_freq = READ_ONCE(global.no_turbo) ? in __intel_pstate_update_max_freq()
1545 return sprintf(buf, "%u\n", global.object); \
1635 ret = sprintf(buf, "%u\n", global.no_turbo); in show_no_turbo()
1660 WRITE_ONCE(global.turbo_disabled, turbo_is_disabled()); in store_no_turbo()
1661 if (global.turbo_disabled && !no_turbo) { in store_no_turbo()
1664 if (global.no_turbo) in store_no_turbo()
1670 if (no_turbo == global.no_turbo) { in store_no_turbo()
1674 WRITE_ONCE(global.no_turbo, no_turbo); in store_no_turbo()
1683 if (global.min_perf_pct > pct) in store_no_turbo()
1684 global.min_perf_pct = pct; in store_no_turbo()
1722 perf_pct = global.min_perf_pct; in update_qos_request()
1725 perf_pct = global.max_perf_pct; in update_qos_request()
1754 global.max_perf_pct = clamp_t(int, input, global.min_perf_pct, 100); in store_max_perf_pct()
1787 global.min_perf_pct = clamp_t(int, input, in store_min_perf_pct()
1788 min_perf_pct_min(), global.max_perf_pct); in store_min_perf_pct()
2142 if (READ_ONCE(global.no_turbo) && !READ_ONCE(global.turbo_disabled)) in atom_get_val()
2307 if (READ_ONCE(global.no_turbo) && !READ_ONCE(global.turbo_disabled)) in core_get_val()
2610 target = READ_ONCE(global.no_turbo) ? in get_target_pstate()
2881 return READ_ONCE(global.no_turbo) ? in intel_pstate_get_max_freq()
2926 global_max = DIV_ROUND_UP(turbo_max * global.max_perf_pct, 100); in intel_pstate_update_perf_limits()
2927 global_min = DIV_ROUND_UP(turbo_max * global.min_perf_pct, 100); in intel_pstate_update_perf_limits()
3018 max_freq = READ_ONCE(global.no_turbo) ? in intel_pstate_verify_cpu_policy()
3112 policy->cpuinfo.max_freq = READ_ONCE(global.no_turbo) ? in __intel_pstate_cpu_init()
3315 cap_pstate = READ_ONCE(global.no_turbo) ? in intel_cpufreq_adjust_perf()
3392 freq = DIV_ROUND_UP(cpu->pstate.turbo_freq * global.min_perf_pct, 100); in intel_cpufreq_cpu_init()
3401 freq = DIV_ROUND_UP(cpu->pstate.turbo_freq * global.max_perf_pct, 100); in intel_cpufreq_cpu_init()
3502 memset(&global, 0, sizeof(global)); in intel_pstate_register_driver()
3503 global.max_perf_pct = 100; in intel_pstate_register_driver()
3504 global.turbo_disabled = turbo_is_disabled(); in intel_pstate_register_driver()
3505 global.no_turbo = global.turbo_disabled; in intel_pstate_register_driver()
3507 arch_set_max_freq_ratio(global.turbo_disabled); in intel_pstate_register_driver()
3518 global.min_perf_pct = min_perf_pct_min(); in intel_pstate_register_driver()