Lines Matching defs:cpu
213 pmGetLogicalCPU(int cpu)
215 return(cpu_to_lcpu(cpu));
227 pmGetCore(int cpu)
229 return(cpu_to_core(cpu));
241 pmGetDie(int cpu)
243 return(cpu_to_die(cpu));
255 pmGetPackage(int cpu)
257 return(cpu_to_package(cpu));
283 pmCPUGetDeadline(cpu_data_t *cpu)
290 deadline = (*pmDispatch->GetDeadline)(&cpu->lcpu);
300 pmCPUSetDeadline(cpu_data_t *cpu, uint64_t deadline)
305 deadline = (*pmDispatch->SetDeadline)(&cpu->lcpu, deadline);
314 pmCPUDeadline(cpu_data_t *cpu)
319 (*pmDispatch->Deadline)(&cpu->lcpu);
326 pmCPUExitIdle(cpu_data_t *cpu)
330 cpu->lcpu.flags |= X86CORE_FL_WAKEUP;
334 do_ipi = (*pmDispatch->exitIdle)(&cpu->lcpu);
339 cpu->lcpu.flags &= ~X86CORE_FL_WAKEUP;
345 pmCPUExitHalt(int cpu)
352 rc = pmDispatch->exitHalt(cpu_to_lcpu(cpu));
358 pmCPUExitHaltToOff(int cpu)
365 rc = pmDispatch->exitHaltToOff(cpu_to_lcpu(cpu));
384 pmCPUMarkRunning(cpu_data_t *cpu)
391 (*pmDispatch->markCPURunning)(&cpu->lcpu);
569 machine_cpu_is_inactive(int cpu)
573 return(pmDispatch->pmIsCPUUnAvailable(cpu_to_lcpu(cpu)));
594 pmCPUGetHibernate(int cpu)
596 return(cpu_datap(cpu)->cpu_hibernate);
606 pmReSyncDeadlines(int cpu)
615 if ((uint32_t)cpu == current_cpu_datap()->lcpu.cpu_num)
618 cpu_PM_interrupt(cpu);