Lines Matching refs:CPU

425 	(*CPU->cpu_m.mcpu_idle_cpu)();
429 * Function called by CPU idle notification framework to check whether CPU
431 * If CPU has been awakened, call cpu_idle_exit() to notify CPU idle
440 * If interrupt happened, do_interrupt() will notify CPU idle
449 * Idle the present CPU until wakened via an interrupt
454 cpu_t *cpup = CPU;
460 * If this CPU is online, and there's multiple CPUs
462 * by adding ourselves to the partition's halted CPU
474 * and then the halted CPU bitmap is checked to determine who
479 * this CPU remains halted.
481 * Either the producing CPU will see we're halted and will awaken us,
482 * or this CPU will see the work available in disp_anywork().
496 * Work destined for this CPU may become available after
498 * bit in the halted CPU bitmap, and a poke.
566 * be woken up so that they can steal the thread we placed on this CPU.
580 * Clear the halted bit for that CPU since it will be
585 * We may find the current CPU present in the halted cpuset
591 if (cpu != CPU)
611 * The CPU specified for wakeup isn't currently halted, so check
621 if (cpu_found != CPU->cpu_seqid) {
628 * Function called by CPU idle notification framework to check whether CPU
630 * If CPU has been awakened, call cpu_idle_exit() to notify CPU idle
641 * CPU has been awakened, notify CPU idle notification system.
647 * If interrupt happened, do_interrupt() will notify CPU idle
658 * Idle the present CPU until awakened via touching its monitored line
663 volatile uint32_t *mcpu_mwait = CPU->cpu_m.mcpu_mwait;
664 cpu_t *cpup = CPU;
673 * CPU bitmap.
678 * If this CPU is online, and there's multiple CPUs
680 * by adding ourselves to the partition's halted CPU
692 * and then the halted CPU bitmap is checked to determine who
709 * Work destined for this CPU may become available after
711 * bit in the halted CPU bitmap, and a write to our mcpu_mwait.
751 * need to be woken up so that they can steal the thread we placed on this CPU.
765 * Clear the halted bit for that CPU since it will be woken up
770 * Clear the halted bit for that CPU since it will be
775 * We may find the current CPU present in the halted cpuset
807 * It's possible that after we find a CPU, somebody else
844 CPU->cpu_intr_actv |= (1 << (XC_SYS_PIL - 1));
860 CPU->cpu_intr_actv &= ~(1 << (XC_SYS_PIL - 1));
1016 * Initialize the dispatcher's function hooks to enable CPU halting
1032 CPU->cpu_m.mcpu_idle_cpu = cpu_idle;
1036 CPU->cpu_m.mcpu_mwait = cpuid_mwait_alloc(CPU);
1040 if (CPU->cpu_m.mcpu_mwait == NULL) {
1046 CPU->cpu_m.mcpu_idle_cpu = cpu_idle;
1048 CPU->cpu_m.mcpu_idle_cpu = cpu_idle_mwait;
1051 CPU->cpu_m.mcpu_idle_cpu = cpu_idle;
1053 non_deep_idle_cpu = CPU->cpu_m.mcpu_idle_cpu;
1082 * by CPU DR driver at runtime.
1181 setspl(CPU->cpu_pri);
1216 vcpu_time_info_t *vti = &CPU->cpu_m.mcpu_vcpu_info->time;
1581 * Default handler to create device node for CPU.
1803 * utilization and setup CPC requests for specified CPU as needed
1806 * events should be programmed on this CPU or -1 when platform or processor