Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/cpuidle/
Dcpuidle.c87 struct cpuidle_state_usage *su = &dev->states_usage[i]; in find_deepest_state()
162 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper()
163 dev->states_usage[index].s2idle_usage++; in enter_s2idle_proper()
263 dev->states_usage[entered_state].time += dev->last_residency; in cpuidle_enter_state()
264 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
269 dev->states_usage[i].disable) in cpuidle_enter_state()
273 dev->states_usage[entered_state].above++; in cpuidle_enter_state()
279 dev->states_usage[i].disable) in cpuidle_enter_state()
287 dev->states_usage[entered_state].below++; in cpuidle_enter_state()
383 if (drv->states[i].disabled || dev->states_usage[i].disable) in cpuidle_poll_time()
[all …]
Dcpuidle-powernv.c60 struct cpuidle_state_usage *su = &dev->states_usage[i]; in get_snooze_timeout()
Dsysfs.c476 kobj->state_usage = &device->states_usage[i]; in cpuidle_add_state_sysfs()
/Linux-v5.4/drivers/cpuidle/governors/
Dmenu.c301 !drv->states[0].disabled && !dev->states_usage[0].disable)) { in menu_select()
352 struct cpuidle_state_usage *su = &dev->states_usage[i]; in menu_select()
426 dev->states_usage[i].disable) in menu_select()
Dladder.c88 !dev->states_usage[last_idx + 1].disable && in ladder_select_state()
102 dev->states_usage[last_idx].disable || in ladder_select_state()
Dteo.c215 if (drv->states[i].disabled || dev->states_usage[i].disable) in teo_find_shallower_state()
257 struct cpuidle_state_usage *su = &dev->states_usage[i]; in teo_select()
/Linux-v5.4/include/linux/
Dcpuidle.h91 struct cpuidle_state_usage states_usage[CPUIDLE_STATE_MAX]; member