Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cpuidle/
Dcpuidle.c91 if (dev->states_usage[i].disable || in find_deepest_state()
166 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper()
167 dev->states_usage[index].s2idle_usage++; in enter_s2idle_proper()
273 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state()
274 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
278 if (dev->states_usage[i].disable) in cpuidle_enter_state()
282 dev->states_usage[entered_state].above++; in cpuidle_enter_state()
288 if (dev->states_usage[i].disable) in cpuidle_enter_state()
296 dev->states_usage[entered_state].below++; in cpuidle_enter_state()
305 dev->states_usage[index].rejected++; in cpuidle_enter_state()
[all …]
Ddriver.c378 dev->states_usage[idx].disable |= CPUIDLE_STATE_DISABLED_BY_DRIVER; in cpuidle_driver_state_disabled()
380 dev->states_usage[idx].disable &= ~CPUIDLE_STATE_DISABLED_BY_DRIVER; in cpuidle_driver_state_disabled()
Dcpuidle-tegra.c233 if (dev->states_usage[index].disable) in tegra_cpuidle_enter()
Dcpuidle-powernv.c59 if (dev->states_usage[i].disable) in get_snooze_timeout()
Dsysfs.c484 kobj->state_usage = &device->states_usage[i]; in cpuidle_add_state_sysfs()
/linux-6.1.9/drivers/cpuidle/governors/
Dteo.c269 if (dev->states_usage[i].disable) in teo_find_shallower_state()
318 if (!dev->states_usage[0].disable) { in teo_select()
343 if (dev->states_usage[i].disable) in teo_select()
413 !dev->states_usage[i].disable) { in teo_select()
428 if (dev->states_usage[i].disable) in teo_select()
Dmenu.c296 !dev->states_usage[0].disable)) { in menu_select()
346 if (dev->states_usage[i].disable) in menu_select()
415 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()
/linux-6.1.9/include/linux/
Dcpuidle.h103 struct cpuidle_state_usage states_usage[CPUIDLE_STATE_MAX]; member