Searched refs:last_state_idx (Results 1 – 5 of 5) sorted by relevance
57 dev->last_state_idx = new_idx; in ladder_do_selection()71 int last_idx = dev->last_state_idx; in ladder_select_state()141 dev->last_state_idx = first_idx; in ladder_enable_device()170 dev->last_state_idx = index; in ladder_reflect()
63 if (dev->last_state_idx == 0) { in haltpoll_select()114 dev->last_state_idx = index; in haltpoll_reflect()
174 u64 lat_ns = drv->states[dev->last_state_idx].exit_latency_ns; in teo_update()303 if (dev->last_state_idx >= 0) { in teo_select()305 dev->last_state_idx = -1; in teo_select()487 dev->last_state_idx = state; in teo_reflect()
440 dev->last_state_idx = index; in menu_reflect()453 int last_idx = dev->last_state_idx; in menu_update()
99 int last_state_idx; member