Lines Matching refs:states_usage
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()
412 if (dev->states_usage[i].disable) in cpuidle_poll_time()
590 memset(dev->states_usage, 0, sizeof(dev->states_usage)); in __cpuidle_device_init()
612 dev->states_usage[i].disable |= CPUIDLE_STATE_DISABLED_BY_DRIVER; in __cpuidle_register_device()
615 dev->states_usage[i].disable |= CPUIDLE_STATE_DISABLED_BY_USER; in __cpuidle_register_device()