Searched refs:IdTable (Results 1 – 15 of 15) sorted by relevance
| /linux/samples/rust/ |
| H A D | rust_driver_i2c.rs | 40 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); 41 const I2C_ID_TABLE: Option<i2c::IdTable<Self::IdInfo>> = Some(&I2C_TABLE); 42 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE);
|
| H A D | rust_i2c_client.rs | 110 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); 111 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE);
|
| H A D | rust_driver_auxiliary.rs | 36 const ID_TABLE: auxiliary::IdTable<Self::IdInfo> = &AUX_TABLE; 78 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in probe()
|
| H A D | rust_driver_platform.rs | 105 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); in probe() 106 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); in probe()
|
| H A D | rust_debugfs.rs | 121 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; in probe() 122 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); in probe()
|
| H A D | rust_driver_usb.rs | 30 const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE; in probe()
|
| H A D | rust_driver_pci.rs | 143 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in drop()
|
| H A D | rust_dma.rs | 62 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
|
| /linux/rust/kernel/ |
| H A D | i2c.rs | 74 /// IdTable type for I2C 75 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; 77 /// Create a I2C `IdTable` with its alias for modpost. 197 /// The [`i2c::IdTable`] of the corresponding driver. 198 fn i2c_id_table() -> Option<IdTable<<Self as driver::Adapter>::IdInfo>> { 202 /// Returns the driver's private data from the matching entry in the [`i2c::IdTable`], if any. 204 /// If this returns `None`, it means there is no match with an entry in the [`i2c::IdTable`]. 228 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>> { 232 fn acpi_id_table() -> Option<acpi::IdTable<Sel in of_id_table() 76 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; global() typedef [all...] |
| H A D | device_id.rs | 165 pub trait IdTable<T: RawDeviceId, U> { trait 176 impl<T: RawDeviceId, U, const N: usize> IdTable<T, U> for IdArray<T, U, N> {
|
| H A D | platform.rs | 132 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>> { in of_id_table() 136 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>> { in acpi_id_table() 198 /// const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); 199 /// const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); 222 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; 225 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None; in probe()
|
| H A D | auxiliary.rs | 178 /// IdTable type for auxiliary drivers. 179 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; 181 /// Create a auxiliary `IdTable` with its alias for modpost. 210 const ID_TABLE: IdTable<Self::IdInfo>; 173 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; global() typedef
|
| H A D | driver.rs | 24 //! const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; 27 //! const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None; 77 //! infrastructure, such as finding the ID info from an [`of::IdTable`] or [`acpi::IdTable`]. 324 /// The [`acpi::IdTable`] of the corresponding driver 325 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>>; 327 /// Returns the driver's private data from the matching entry in the [`acpi::IdTable`], if any. 329 /// If this returns `None`, it means there is no match with an entry in the [`acpi::IdTable`]. 358 /// The [`of::IdTable`] of the corresponding driver. in of_id_info() 359 fn of_id_table() -> Option<of::IdTable<Sel in of_id_info() [all...] |
| H A D | pci.rs | 242 /// `IdTable` type for PCI. 243 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; typedef 245 /// Create a PCI `IdTable` with its alias for modpost. 283 /// const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; 308 const ID_TABLE: IdTable<Self::IdInfo>;
|
| H A D | usb.rs | 251 /// [`IdTable`](kernel::device_id::IdTable) type for USB. 252 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; 254 /// Create a USB `IdTable` with its alias for modpost. typedef 291 /// const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE; 316 const ID_TABLE: IdTable<Self::IdInfo>; in probe()
|