Home
last modified time | relevance | path

Searched refs:cpuidle_curr_governor (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/cpuidle/
Dgovernor.c22 struct cpuidle_governor *cpuidle_curr_governor; variable
54 if (gov == cpuidle_curr_governor) in cpuidle_switch_governor()
59 if (cpuidle_curr_governor) { in cpuidle_switch_governor()
64 cpuidle_curr_governor = gov; in cpuidle_switch_governor()
93 if (!cpuidle_curr_governor || in cpuidle_register_governor()
95 (cpuidle_curr_governor->rating < gov->rating && in cpuidle_register_governor()
96 strncasecmp(param_governor, cpuidle_curr_governor->name, in cpuidle_register_governor()
Dcpuidle.c327 return cpuidle_curr_governor->select(drv, dev, stop_tick); in cpuidle_select()
372 if (cpuidle_curr_governor->reflect && index >= 0) in cpuidle_reflect()
373 cpuidle_curr_governor->reflect(dev, index); in cpuidle_reflect()
513 if (!cpuidle_curr_governor) in cpuidle_enable_device()
528 if (cpuidle_curr_governor->enable) { in cpuidle_enable_device()
529 ret = cpuidle_curr_governor->enable(drv, dev); in cpuidle_enable_device()
563 if (!drv || !cpuidle_curr_governor) in cpuidle_disable_device()
568 if (cpuidle_curr_governor->disable) in cpuidle_disable_device()
569 cpuidle_curr_governor->disable(drv, dev); in cpuidle_disable_device()
Dcpuidle.h11 extern struct cpuidle_governor *cpuidle_curr_governor;
Ddriver.c278 cpuidle_prev_governor = cpuidle_curr_governor; in cpuidle_register_driver()
Dsysfs.c67 if (cpuidle_curr_governor) in show_current_governor()
68 ret = sprintf(buf, "%s\n", cpuidle_curr_governor->name); in show_current_governor()