Lines Matching defs:pci_device_id
67 id: *const bindings::pci_device_id,
75 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `struct pci_device_id` and
124 /// Abstraction for the PCI device ID structure ([`struct pci_device_id`]).
126 /// [`struct pci_device_id`]: https://docs.kernel.org/PCI/pci.html#c.pci_device_id
129 pub struct DeviceId(bindings::pci_device_id);
139 Self(bindings::pci_device_id {
156 Self(bindings::pci_device_id {
179 Self(bindings::pci_device_id {
192 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `pci_device_id` and does not add
195 type RawType = bindings::pci_device_id;
200 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::pci_device_id, driver_data);