| /linux/rust/kernel/ |
| H A D | pci.rs | 96 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback() 148 pub struct DeviceId(bindings::pci_device_id); struct 150 impl DeviceId { impl 161 subvendor: DeviceId::PCI_ANY_ID, in from_id() 162 subdevice: DeviceId::PCI_ANY_ID, in from_id() 176 vendor: DeviceId::PCI_ANY_ID, in from_class() 177 device: DeviceId::PCI_ANY_ID, in from_class() 178 subvendor: DeviceId::PCI_ANY_ID, in from_class() 179 subdevice: DeviceId::PCI_ANY_ID, in from_class() 200 device: DeviceId::PCI_ANY_ID, in from_class_and_vendor() [all …]
|
| H A D | auxiliary.rs | 69 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback() 105 pub struct DeviceId(bindings::auxiliary_device_id); struct 107 impl DeviceId { impl 141 unsafe impl RawDeviceId for DeviceId { implementation 146 unsafe impl RawDeviceIdIndex for DeviceId { implementation 156 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; 163 $crate::auxiliary::DeviceId,
|
| H A D | usb.rs | 74 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback() 108 pub struct DeviceId(bindings::usb_device_id); struct 110 impl DeviceId { impl 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, 300 id: &DeviceId, in probe() argument
|
| H A D | i2c.rs | 39 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, 211 let id = unsafe { &*raw_id.cast::<DeviceId>() }; in i2c_id_info() 213 Some(table.info(<DeviceId as RawDeviceIdIndex>::index(id))) in i2c_id_info()
|
| H A D | driver.rs | 256 let id = unsafe { &*raw_id.cast::<acpi::DeviceId>() }; in acpi_id_info() 258 Some(table.info(<acpi::DeviceId as crate::device_id::RawDeviceIdIndex>::index(id))) in acpi_id_info() 290 let id = unsafe { &*raw_id.cast::<of::DeviceId>() }; in of_id_info() 293 table.info(<of::DeviceId as crate::device_id::RawDeviceIdIndex>::index( in of_id_info()
|
| /linux/samples/rust/ |
| H A D | rust_driver_i2c.rs | 20 [(acpi::DeviceId::new(c_str!("LNUXBEEF")), 0)] 27 [(i2c::DeviceId::new(c_str!("rust_driver_i2c")), 0)] 34 [(of::DeviceId::new(c_str!("test,rust_driver_i2c")), 0)]
|
| H A D | rust_driver_usb.rs | 16 [(usb::DeviceId::from_id(0x1234, 0x5678), ()),] 25 _id: &usb::DeviceId, in probe() argument
|
| H A D | rust_i2c_client.rs | 93 [(of::DeviceId::new(c_str!("test,rust-device")), ())] 100 [(acpi::DeviceId::new(c_str!("LNUXBEEF")), ())]
|
| H A D | rust_driver_auxiliary.rs | 30 [(auxiliary::DeviceId::new(MODULE_NAME, AUXILIARY_NAME), ())] 64 [(pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5), ())]
|
| H A D | rust_driver_platform.rs | 88 [(of::DeviceId::new(c_str!("test,rust-device")), Info(42))] 95 [(acpi::DeviceId::new(c_str!("LNUXBEEF")), Info(0))]
|
| H A D | rust_driver_pci.rs | 41 pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5),
|
| H A D | rust_dma.rs | 51 [(pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5), ())]
|
| H A D | rust_debugfs.rs | 101 [(acpi::DeviceId::new(c_str!("LNUXBEEF")), ())]
|
| /linux/drivers/gpu/nova-core/ |
| H A D | driver.rs | 50 pci::DeviceId::from_class_and_vendor( 58 pci::DeviceId::from_class_and_vendor(
|
| /linux/drivers/gpu/drm/tyr/ |
| H A D | driver.rs | 94 (of::DeviceId::new(c_str!("rockchip,rk3588-mali")), ()), 95 (of::DeviceId::new(c_str!("arm,mali-valhall-csf")), ())
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-amd-iommu | 106 DeviceId QWORD[3] QWORD[2] QWORD[1] QWORD[0] iommu 122 DeviceId 0000:01:00.0
|
| /linux/drivers/usb/serial/ |
| H A D | io_usbvend.h | 221 #define MAKE_USB_PRODUCT_ID(OemId, DeviceId) \ argument 222 ((__u16) (((OemId) << 10) || (DeviceId)))
|
| /linux/drivers/gpu/drm/nova/ |
| H A D | driver.rs | 39 auxiliary::DeviceId::new(NOVA_CORE_MODULE_NAME, AUXILIARY_NAME),
|
| /linux/drivers/cpufreq/ |
| H A D | rcpufreq_dt.rs | 200 [(of::DeviceId::new(c_str!("operating-points-v2")), ())]
|
| /linux/fs/smb/server/ |
| H A D | smb2pdu.h | 298 __le32 DeviceId; member
|
| H A D | smb2pdu.c | 4052 posix_info->DeviceId = cpu_to_le32(ksmbd_kstat->kstat->rdev); in smb2_populate_readdir_entry() 5306 file_info->DeviceId = cpu_to_le32(stat.rdev); in find_file_posix_info()
|
| /linux/drivers/pwm/ |
| H A D | pwm_th1520.rs | 330 [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
|
| /linux/fs/smb/client/ |
| H A D | readdir.c | 280 le32_to_cpu(info->DeviceId), in cifs_posix_to_fattr()
|