Home
last modified time | relevance | path

Searched refs:states_usage (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/cpuidle/
Dcpuidle.c89 if (dev->states_usage[i].disable || in find_deepest_state()
164 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper()
165 dev->states_usage[index].s2idle_usage++; in enter_s2idle_proper()
271 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state()
272 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
276 if (dev->states_usage[i].disable) in cpuidle_enter_state()
280 dev->states_usage[entered_state].above++; in cpuidle_enter_state()
285 if (dev->states_usage[i].disable) in cpuidle_enter_state()
293 dev->states_usage[entered_state].below++; in cpuidle_enter_state()
300 dev->states_usage[index].rejected++; in cpuidle_enter_state()
[all …]
Ddriver.c374 dev->states_usage[idx].disable |= CPUIDLE_STATE_DISABLED_BY_DRIVER; in cpuidle_driver_state_disabled()
376 dev->states_usage[idx].disable &= ~CPUIDLE_STATE_DISABLED_BY_DRIVER; in cpuidle_driver_state_disabled()
Dcpuidle-tegra.c242 if (dev->states_usage[index].disable) in tegra_cpuidle_enter()
Dcpuidle-powernv.c59 if (dev->states_usage[i].disable) in get_snooze_timeout()
Dsysfs.c483 kobj->state_usage = &device->states_usage[i]; in cpuidle_add_state_sysfs()
/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dmenu.c291 !dev->states_usage[0].disable)) { in menu_select()
341 if (dev->states_usage[i].disable) in menu_select()
410 if (dev->states_usage[i].disable) in menu_select()
Dladder.c88 !dev->states_usage[last_idx + 1].disable && in ladder_select_state()
101 (dev->states_usage[last_idx].disable || in ladder_select_state()
Dteo.c224 if (dev->states_usage[i].disable) in teo_find_shallower_state()
271 if (dev->states_usage[i].disable) { in teo_select()
/kernel/linux/linux-5.10/include/linux/
Dcpuidle.h103 struct cpuidle_state_usage states_usage[CPUIDLE_STATE_MAX]; member