Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/phy/
H A Dax88796b_rust.rs9 net::phy::{self, reg::C22, DeviceId, Driver},
17 DeviceId::new_with_driver::<PhyAX88772A>(),
18 DeviceId::new_with_driver::<PhyAX88772C>(),
19 DeviceId::new_with_driver::<PhyAX88796B>()
45 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_exact_mask(0x003b1861);
109 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_exact_mask(0x003b1881);
129 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_model_mask(0x003b1841);
H A Dqt2025.rs26 phy::DeviceId::new_with_driver::<PhyQT2025>(),
40 const PHY_DEVICE_ID: phy::DeviceId = phy::DeviceId::new_with_exact_mask(0x0043a400);
/linux-6.15/rust/kernel/
H A Dof.rs8 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>;
13 pub struct DeviceId(bindings::of_device_id); struct
19 unsafe impl RawDeviceId for DeviceId { implementation
29 impl DeviceId { impl
53 $crate::of::DeviceId,
H A Dpci.rs73 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback()
124 pub struct DeviceId(bindings::pci_device_id); struct
126 impl DeviceId { implementation
136 subvendor: DeviceId::PCI_ANY_ID, in from_id()
137 subdevice: DeviceId::PCI_ANY_ID, in from_id()
150 vendor: DeviceId::PCI_ANY_ID, in from_class()
151 device: DeviceId::PCI_ANY_ID, in from_class()
152 subvendor: DeviceId::PCI_ANY_ID, in from_class()
153 subdevice: DeviceId::PCI_ANY_ID, in from_class()
166 unsafe impl RawDeviceId for DeviceId { implementation
[all …]
H A Ddriver.rs164 let id = unsafe { &*raw_id.cast::<of::DeviceId>() }; in of_id_info()
166 Some(table.info(<of::DeviceId as crate::device_id::RawDeviceId>::index(id))) in of_id_info()
/linux-6.15/rust/kernel/net/
H A Dphy.rs586 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_custom_mask(0, 0);
693 pub struct DeviceId { struct
698 impl DeviceId { argument
701 DeviceId { in new_with_exact_mask()
709 DeviceId { in new_with_model_mask()
717 DeviceId { in new_with_vendor_mask()
725 DeviceId { in new_with_custom_mask()
/linux-6.15/drivers/gpu/nova-core/
H A Ddriver.rs21 pci::DeviceId::from_id(bindings::PCI_VENDOR_ID_NVIDIA, bindings::PCI_ANY_ID as _),
/linux-6.15/samples/rust/
H A Drust_driver_platform.rs17 [(of::DeviceId::new(c_str!("test,rust-device")), Info(42))]
H A Drust_dma.rs42 pci::DeviceId::from_id(bindings::PCI_VENDOR_ID_REDHAT, 0x5),
H A Drust_driver_pci.rs38 pci::DeviceId::from_id(bindings::PCI_VENDOR_ID_REDHAT, 0x5),
/linux-6.15/drivers/usb/serial/
H A Dio_usbvend.h221 #define MAKE_USB_PRODUCT_ID(OemId, DeviceId) \ argument
222 ((__u16) (((OemId) << 10) || (DeviceId)))
/linux-6.15/fs/smb/client/
H A Dsmb2pdu.h390 __le32 DeviceId; member
H A Dreaddir.c279 le32_to_cpu(info->DeviceId), in cifs_posix_to_fattr()
/linux-6.15/fs/smb/server/
H A Dsmb2pdu.h408 __le32 DeviceId; member
H A Dsmb2pdu.c4024 posix_info->DeviceId = cpu_to_le32(ksmbd_kstat->kstat->rdev); in smb2_populate_readdir_entry()
5257 file_info->DeviceId = cpu_to_le32(stat.rdev); in find_file_posix_info()
/linux-6.15/fs/smb/common/
H A Dsmb2pdu.h1786 __le32 DeviceId; member