Lines Matching defs:cpu
254 pmGetLogicalCPU(int cpu)
256 return(cpu_to_lcpu(cpu));
268 pmGetCore(int cpu)
270 return(cpu_to_core(cpu));
282 pmGetDie(int cpu)
284 return(cpu_to_die(cpu));
296 pmGetPackage(int cpu)
298 return(cpu_to_package(cpu));
326 pmCPUGetDeadline(cpu_data_t *cpu)
333 deadline = (*pmDispatch->GetDeadline)(&cpu->lcpu);
343 pmCPUSetDeadline(cpu_data_t *cpu, uint64_t deadline)
348 deadline = (*pmDispatch->SetDeadline)(&cpu->lcpu, deadline);
357 pmCPUDeadline(cpu_data_t *cpu)
362 (*pmDispatch->Deadline)(&cpu->lcpu);
369 pmCPUExitIdle(cpu_data_t *cpu)
376 do_ipi = (*pmDispatch->exitIdle)(&cpu->lcpu);
384 pmCPUExitHalt(int cpu)
391 rc = pmDispatch->exitHalt(cpu_to_lcpu(cpu));
397 pmCPUExitHaltToOff(int cpu)
404 rc = pmDispatch->exitHaltToOff(cpu_to_lcpu(cpu));
425 pmCPUMarkRunning(cpu_data_t *cpu)
432 (*pmDispatch->markCPURunning)(&cpu->lcpu);
633 int cpu = processor->cpu_id;
637 return(pmDispatch->pmIsCPUUnAvailable(cpu_to_lcpu(cpu)));
761 pmCPUGetHibernate(int cpu)
763 return(cpu_datap(cpu)->cpu_hibernate);
773 pmReSyncDeadlines(int cpu)
782 if ((uint32_t)cpu == current_cpu_datap()->lcpu.cpu_num)
785 cpu_PM_interrupt(cpu);
789 pmSendIPI(int cpu)
791 lapic_send_ipi(cpu, LAPIC_PM_INTERRUPT);