Home
last modified time | relevance | path

Searched refs:has_cstate_core (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dcstate.c143 static bool has_cstate_core; variable
405 if (has_cstate_core && in cstate_cpu_exit()
440 if (has_cstate_core && target >= nr_cpu_ids) in cstate_cpu_init()
673 has_cstate_core = !!core_msr_mask; in cstate_probe()
676 return (has_cstate_core || has_cstate_pkg) ? 0 : -ENODEV; in cstate_probe()
684 if (has_cstate_core) in cstate_cleanup()
700 if (has_cstate_core) { in cstate_init()
703 has_cstate_core = false; in cstate_init()
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dcstate.c148 static bool has_cstate_core; variable
408 if (has_cstate_core && in cstate_cpu_exit()
443 if (has_cstate_core && target >= nr_cpu_ids) in cstate_cpu_init()
714 has_cstate_core = !!core_msr_mask; in cstate_probe()
717 return (has_cstate_core || has_cstate_pkg) ? 0 : -ENODEV; in cstate_probe()
725 if (has_cstate_core) in cstate_cleanup()
741 if (has_cstate_core) { in cstate_init()
744 has_cstate_core = false; in cstate_init()

Completed in 3 milliseconds