Lines Matching full:deviceid
72 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `struct usb_device_id` and in probe_callback()
74 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback()
108 pub struct DeviceId(bindings::usb_device_id); struct
110 impl DeviceId { impl
220 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `usb_device_id` and does not add
222 unsafe impl RawDeviceId for DeviceId { implementation
227 unsafe impl RawDeviceIdIndex for DeviceId { implementation
236 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>;
243 $crate::usb::DeviceId,
267 /// (usb::DeviceId::from_id(0x1234, 0x5678), ()),
268 /// (usb::DeviceId::from_id(0xabcd, 0xef01), ()),
278 /// _id: &usb::DeviceId,
300 id: &DeviceId, in probe() argument