Lines Matching refs:cstate
77 * States are indexed by the cstate number,
164 unsigned int cstate;
169 cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) + 1;
183 if (!(lapic_timer_reliable_states & (1 << (cstate))))
207 if (!(lapic_timer_reliable_states & (1 << (cstate))))
309 int i, cstate;
321 for (cstate = 1; cstate < MWAIT_MAX_NUM_CSTATES; ++cstate) {
324 if (cstate > max_cstate) {
331 num_substates = (mwait_substates >> ((cstate) * 4))
336 if (cpuidle_state_table[cstate].enter == NULL) {
338 if (*cpuidle_state_table[cstate].name == '\0')
342 boot_cpu_data.x86_model, cstate);
346 if ((cstate > 2) &&
352 cpuidle_state_table[cstate];