Searched refs:CpuId (Results 1 – 3 of 3) sorted by relevance
47 pub struct CpuId(u32); struct49 impl CpuId { impls118 impl From<CpuId> for u32 {119 fn from(id: CpuId) -> Self { in from()124 impl From<CpuId> for i32 {125 fn from(id: CpuId) -> Self { in from()141 pub unsafe fn from_cpu(cpu: CpuId) -> Result<&'static Device> { in from_cpu()
9 cpu::CpuId,92 pub fn set(&mut self, cpu: CpuId) { in set() argument103 pub fn clear(&mut self, cpu: CpuId) { in clear() argument113 pub fn test(&self, cpu: CpuId) -> bool { in test()
13 cpu::CpuId,469 pub fn cpu(&self) -> CpuId { in cpu() argument471 unsafe { CpuId::from_u32_unchecked(self.as_ref().cpu) } in cpu()683 fn from_cpu(cpu: CpuId) -> Result<Self> { in from_cpu()1267 let cpu_id = unsafe { CpuId::from_u32_unchecked(cpu) }; in adjust_perf_callback()1325 let cpu_id = unsafe { CpuId::from_u32_unchecked(cpu) }; in get_callback()1351 let cpu_id = unsafe { CpuId::from_i32_unchecked(cpu) }; in bios_limit_callback()
Completed in 7 milliseconds