Home
last modified time | relevance | path

Searched refs:DeviceId (Results 1 – 19 of 19) sorted by relevance

/linux/rust/kernel/
H A Dpci.rs112 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback()
164 pub struct DeviceId(bindings::pci_device_id); struct
166 impl DeviceId { impl
177 subvendor: DeviceId::PCI_ANY_ID, in from_id()
178 subdevice: DeviceId::PCI_ANY_ID, in from_id()
192 vendor: DeviceId::PCI_ANY_ID, in from_class()
193 device: DeviceId::PCI_ANY_ID, in from_class()
194 subvendor: DeviceId::PCI_ANY_ID, in from_class()
195 subdevice: DeviceId::PCI_ANY_ID, in from_class()
216 device: DeviceId::PCI_ANY_ID, in from_class_and_vendor()
[all …]
H A Dusb.rs92 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback()
126 pub struct DeviceId(bindings::usb_device_id); struct
128 impl DeviceId { impl
240 unsafe impl RawDeviceId for DeviceId { implementation
245 unsafe impl RawDeviceIdIndex for DeviceId { implementation
254 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>;
261 $crate::usb::DeviceId,
318 id: &DeviceId, in probe() argument
H A Dauxiliary.rs89 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback()
127 pub struct DeviceId(bindings::auxiliary_device_id); struct
129 impl DeviceId { implementation
158 unsafe impl RawDeviceId for DeviceId { implementation
163 unsafe impl RawDeviceIdIndex for DeviceId { implementation
173 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>;
180 $crate::auxiliary::DeviceId,
H A Di2c.rs39 pub struct DeviceId(bindings::i2c_device_id); struct
41 impl DeviceId { implementation
62 unsafe impl RawDeviceId for DeviceId { implementation
67 unsafe impl RawDeviceIdIndex for DeviceId { implementation
76 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>;
83 $crate::i2c::DeviceId,
220 let id = unsafe { &*raw_id.cast::<DeviceId>() }; in i2c_id_info()
222 Some(table.info(<DeviceId as RawDeviceIdIndex>::index(id))) in i2c_id_info()
H A Ddriver.rs318 let id = unsafe { &*raw_id.cast::<acpi::DeviceId>() }; in acpi_id_info()
320 Some(table.info(<acpi::DeviceId as crate::device_id::RawDeviceIdIndex>::index(id))) in acpi_id_info()
352 let id = unsafe { &*raw_id.cast::<of::DeviceId>() }; in of_id_info()
355 table.info(<of::DeviceId as crate::device_id::RawDeviceIdIndex>::index( in of_id_info()
/linux/samples/rust/
H A Drust_driver_i2c.rs19 [(acpi::DeviceId::new(c"LNUXBEEF"), 0)]
26 [(i2c::DeviceId::new(c"rust_driver_i2c"), 0)]
33 [(of::DeviceId::new(c"test,rust_driver_i2c"), 0)]
H A Drust_driver_usb.rs24 [(usb::DeviceId::from_id(0x1234, 0x5678), ()),] in probe()
33 _id: &usb::DeviceId,
25 probe( intf: &usb::Interface<Core>, _id: &usb::DeviceId, _info: &Self::IdInfo, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_i2c_client.rs92 [(of::DeviceId::new(c"test,rust-device"), ())]
99 [(acpi::DeviceId::new(c"LNUXBEEF"), ())]
H A Drust_driver_auxiliary.rs31 [(auxiliary::DeviceId::new(MODULE_NAME, AUXILIARY_NAME), ())]
65 [(pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5), ())]
H A Drust_driver_platform.rs92 [(of::DeviceId::new(c"test,rust-device"), Info(42))]
99 [(acpi::DeviceId::new(c"LNUXBEEF"), Info(0))]
H A Drust_dma.rs51 [(pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5), ())]
H A Drust_driver_pci.rs49 pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5),
H A Drust_debugfs.rs115 [(acpi::DeviceId::new(c"LNUXBEEF"), ())] in probe()
/linux/Documentation/ABI/testing/
H A Ddebugfs-amd-iommu106 DeviceId QWORD[3] QWORD[2] QWORD[1] QWORD[0] iommu
122 DeviceId 0000:01:00.0
/linux/drivers/usb/serial/
H A Dio_usbvend.h221 #define MAKE_USB_PRODUCT_ID(OemId, DeviceId) \ argument
222 ((__u16) (((OemId) << 10) || (DeviceId)))
/linux/fs/smb/server/
H A Dsmb2pdu.h298 __le32 DeviceId; member
H A Dsmb2pdu.c4063 posix_info->DeviceId = cpu_to_le32(ksmbd_kstat->kstat->rdev); in smb2_populate_readdir_entry()
5317 file_info->DeviceId = cpu_to_le32(stat.rdev); in find_file_posix_info()
/linux/fs/smb/client/
H A Dreaddir.c279 le32_to_cpu(info->DeviceId), in cifs_posix_to_fattr()
/linux/fs/smb/common/
H A Dsmb2pdu.h1882 __le32 DeviceId; member