Lines Matching defs:cp
215 volatile cpu_t *cp = (volatile cpu_t *) cp0;
217 int cpuid = cp->cpu_id;
223 ASSERT(cp->cpu_flags & CPU_QUIESCED);
231 cp->cpu_flags &= ~CPU_READY;
236 if (cp->cpu_intr_actv == 0 &&
237 (cp->cpu_thread == cp->cpu_idle_thread ||
238 cp->cpu_thread == cp->cpu_startup_thread)) {
247 if (cp->cpu_intr_actv) {
249 } else if (cp->cpu_thread != cp->cpu_idle_thread &&
250 cp->cpu_thread != cp->cpu_startup_thread) {
263 mp_cpu_start(struct cpu *cp)
270 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cp->cpu_id);
272 cmp_error_resteer(cp->cpu_id);
282 mp_cpu_stop(struct cpu *cp)
286 cmp_error_resteer(cp->cpu_id);
292 CPU_SIGNATURE(OS_SIG, SIGST_OFFLINE, SIGSUBST_NULL, cp->cpu_id);
300 mp_cpu_poweron(struct cpu *cp)
304 return (plat_cpu_poweron(cp)); /* platform-dependent hook */
313 mp_cpu_poweroff(struct cpu *cp)
317 return (plat_cpu_poweroff(cp)); /* platform-dependent hook */
323 mp_cpu_faulted_enter(struct cpu *cp)
325 cpu_faulted_enter(cp);
329 mp_cpu_faulted_exit(struct cpu *cp)
331 cpu_faulted_exit(cp);