Lines Matching refs:cpu_smt_control
596 enum cpuhp_smt_control cpu_smt_control __read_mostly = CPU_SMT_ENABLED;
607 cpu_smt_control = CPU_SMT_FORCE_DISABLED; in cpu_smt_disable()
610 cpu_smt_control = CPU_SMT_DISABLED; in cpu_smt_disable()
625 cpu_smt_control = CPU_SMT_NOT_SUPPORTED; in cpu_smt_set_num_threads()
635 if (cpu_smt_control != CPU_SMT_ENABLED) in cpu_smt_set_num_threads()
664 if (cpu_smt_control == CPU_SMT_ENABLED && cpu_smt_thread_allowed(cpu)) in cpu_bootable()
668 if (cpu_smt_control == CPU_SMT_NOT_IMPLEMENTED) in cpu_bootable()
672 if (cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in cpu_bootable()
690 return cpu_smt_control != CPU_SMT_FORCE_DISABLED && in cpu_smt_possible()
691 cpu_smt_control != CPU_SMT_NOT_SUPPORTED; in cpu_smt_possible()
2726 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2746 cpu_smt_control = CPU_SMT_ENABLED; in cpuhp_smt_enable()
2945 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED) in __store_smt_control()
2948 if (cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in __store_smt_control()
2978 force_off = ctrlval != cpu_smt_control && ctrlval == CPU_SMT_FORCE_DISABLED; in __store_smt_control()
3009 const char *state = smt_states[cpu_smt_control]; in control_show()
3017 if (cpu_smt_control == CPU_SMT_ENABLED && in control_show()