Lines Matching full:deviceid
87 // SAFETY: `DeviceId` is a `#[repr(transparent)`] wrapper of `struct auxiliary_device_id`
89 let id = unsafe { &*id.cast::<DeviceId>() };
127 pub struct DeviceId(bindings::auxiliary_device_id);
129 impl DeviceId {
130 /// Create a new [`DeviceId`] from name.
156 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `auxiliary_device_id` and does not add
158 unsafe impl RawDeviceId for DeviceId {
163 unsafe impl RawDeviceIdIndex for DeviceId {
173 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>;
180 $crate::auxiliary::DeviceId,