Lines Matching refs:states_usage
89 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()
407 if (dev->states_usage[i].disable) in cpuidle_poll_time()
585 memset(dev->states_usage, 0, sizeof(dev->states_usage)); in __cpuidle_device_init()
607 dev->states_usage[i].disable |= CPUIDLE_STATE_DISABLED_BY_DRIVER; in __cpuidle_register_device()
610 dev->states_usage[i].disable |= CPUIDLE_STATE_DISABLED_BY_USER; in __cpuidle_register_device()