Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dpci.rs96 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 Dauxiliary.rs69 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 Dusb.rs74 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback()
108 pub struct DeviceId(bindings::usb_device_id); struct
110 impl DeviceId { implementation
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 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,
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 Ddriver.rs256 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 Drust_driver_i2c.rs20 [(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 Drust_driver_usb.rs16 [(usb::DeviceId::from_id(0x1234, 0x5678), ()),]
25 _id: &usb::DeviceId, in probe() argument
H A Drust_i2c_client.rs93 [(of::DeviceId::new(c_str!("test,rust-device")), ())]
100 [(acpi::DeviceId::new(c_str!("LNUXBEEF")), ())]
H A Drust_driver_auxiliary.rs30 [(auxiliary::DeviceId::new(MODULE_NAME, AUXILIARY_NAME), ())]
64 [(pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5), ())]
H A Drust_driver_platform.rs88 [(of::DeviceId::new(c_str!("test,rust-device")), Info(42))]
95 [(acpi::DeviceId::new(c_str!("LNUXBEEF")), Info(0))]
H A Drust_driver_pci.rs41 pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5),
H A Drust_dma.rs51 [(pci::DeviceId::from_id(pci::Vendor::REDHAT, 0x5), ())]
H A Drust_debugfs.rs101 [(acpi::DeviceId::new(c_str!("LNUXBEEF")), ())]
/linux/drivers/gpu/nova-core/
H A Ddriver.rs50 pci::DeviceId::from_class_and_vendor(
58 pci::DeviceId::from_class_and_vendor(
/linux/drivers/gpu/drm/tyr/
H A Ddriver.rs94 (of::DeviceId::new(c_str!("rockchip,rk3588-mali")), ()),
95 (of::DeviceId::new(c_str!("arm,mali-valhall-csf")), ())
/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/drivers/gpu/drm/nova/
H A Ddriver.rs39 auxiliary::DeviceId::new(NOVA_CORE_MODULE_NAME, AUXILIARY_NAME),
/linux/drivers/cpufreq/
H A Drcpufreq_dt.rs200 [(of::DeviceId::new(c_str!("operating-points-v2")), ())]
/linux/fs/smb/server/
H A Dsmb2pdu.h298 __le32 DeviceId; member
H A Dsmb2pdu.c4052 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 Dpwm_th1520.rs330 [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
/linux/fs/smb/client/
H A Dreaddir.c280 le32_to_cpu(info->DeviceId), in cifs_posix_to_fattr()