Home
last modified time | relevance | path

Searched refs:CpuId (Results 1 – 3 of 3) sorted by relevance

/rust/kernel/
A Dcpu.rs47 pub struct CpuId(u32); struct
49 impl CpuId { impls
118 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()
A Dcpumask.rs9 cpu::CpuId,
92 pub fn set(&mut self, cpu: CpuId) { in set() argument
103 pub fn clear(&mut self, cpu: CpuId) { in clear() argument
113 pub fn test(&self, cpu: CpuId) -> bool { in test()
A Dcpufreq.rs13 cpu::CpuId,
469 pub fn cpu(&self) -> CpuId { in cpu() argument
471 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