Lines Matching refs:state_count
1557 state = &drv->states[drv->state_count++]; in intel_idle_init_cstates_acpi()
1896 drv->states[drv->state_count] = cpuidle_state_table[cstate]; in intel_idle_init_cstates_icpu()
1899 drv->states[drv->state_count].enter = intel_idle_irq; in intel_idle_init_cstates_icpu()
1904 drv->states[drv->state_count].enter = intel_idle_ibrs; in intel_idle_init_cstates_icpu()
1908 drv->states[drv->state_count].enter = intel_idle_xstate; in intel_idle_init_cstates_icpu()
1910 if ((disabled_states_mask & BIT(drv->state_count)) || in intel_idle_init_cstates_icpu()
1914 drv->states[drv->state_count].flags |= CPUIDLE_FLAG_OFF; in intel_idle_init_cstates_icpu()
1916 if (intel_idle_state_needs_timer_stop(&drv->states[drv->state_count])) in intel_idle_init_cstates_icpu()
1917 drv->states[drv->state_count].flags |= CPUIDLE_FLAG_TIMER_STOP; in intel_idle_init_cstates_icpu()
1919 drv->state_count++; in intel_idle_init_cstates_icpu()
1939 drv->state_count = 1; in intel_idle_cpuidle_driver_init()