Searched refs:states_usage (Results 1 – 9 of 9) sorted by relevance
91 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 …]
378 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()
233 if (dev->states_usage[index].disable) in tegra_cpuidle_enter()
59 if (dev->states_usage[i].disable) in get_snooze_timeout()
484 kobj->state_usage = &device->states_usage[i]; in cpuidle_add_state_sysfs()
269 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()
296 !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()
88 !dev->states_usage[last_idx + 1].disable && in ladder_select_state()101 (dev->states_usage[last_idx].disable || in ladder_select_state()
103 struct cpuidle_state_usage states_usage[CPUIDLE_STATE_MAX]; member