Lines Matching refs:CPU

99 static hpet_proxy_t	*hpet_proxy_users;	/* one per CPU */
1001 * This ISR runs on one CPU which pokes other CPUs out of Deep C-state as
1039 * the HPET. The CPU running this ISR will NEVER find itself in the
1042 ASSERT(hpet_proxy_users[CPU->cpu_id] == HPET_INFINITY);
1083 if (id != CPU->cpu_id)
1116 * Find the next CPU to wake up and next HPET program time.
1120 next_proxy_id = CPU->cpu_id;
1124 if (id != CPU->cpu_id)
1148 * We are gambling some CPU will attempt to enter a
1168 * next CPU. We must wake the CPU ourself to
1172 if (next_proxy_id != CPU->cpu_id)
1185 * Use an HPET timer to act as this CPU's proxy local APIC timer.
1186 * Used in deep c-states C2 and above while the CPU's local APIC timer stalls.
1193 * HPET : not scheduled to wake this CPU
1198 * HPET : scheduled to wake this CPU
1203 * HPET : not scheduled to wake this CPU
1219 processorid_t cpu_id = CPU->cpu_id;
1224 cpu_part = CPU->cpu_part;
1225 cpu_sid = CPU->cpu_seqid;
1227 ASSERT(CPU->cpu_thread == CPU->cpu_idle_thread);
1231 * to interrupt the CPU and when this CPU enters an idle state.
1236 * a deadlock with the ISR if the ISR runs on this CPU after the
1267 hset_update = (((CPU->cpu_flags & CPU_OFFLINE) == 0) &&
1339 * We do not reprogram the HPET here because this CPU has real work to do.
1340 * On a idle system the CPU was probably woken up by the HPET's ISR.
1342 * On a moderately loaded system another CPU will usually enter Deep C-state
1349 processorid_t cpu_id = CPU->cpu_id;
1351 ASSERT(CPU->cpu_thread == CPU->cpu_idle_thread);