Lines Matching full:deviceid
94 //! Besides the common device ID types, such as [`of::DeviceId`] and [`acpi::DeviceId`], most buses
349 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `struct acpi_device_id`
351 let id = unsafe { &*raw_id.cast::<acpi::DeviceId>() };
353 Some(table.info(<acpi::DeviceId as crate::device_id::RawDeviceIdIndex>::index(id)))
380 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `struct of_device_id`
382 let id = unsafe { &*raw_id.cast::<of::DeviceId>() };
385 <of::DeviceId as crate::device_id::RawDeviceIdIndex>::index(id),
411 // - `DeviceId` is a `#[repr(transparent)]` wrapper of `struct of_device_id`
413 let id = unsafe { &*raw_id.cast::<of::DeviceId>() };
416 <of::DeviceId as crate::device_id::RawDeviceIdIndex>::index(id),