Searched refs:IdTable (Results 1 – 15 of 15) sorted by relevance
| /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 | platform.rs | 130 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>> { in of_id_table() 134 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>> { in acpi_id_table() 216 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; 219 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
|
| 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 | auxiliary.rs | 173 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; typedef 201 const ID_TABLE: IdTable<Self::IdInfo>;
|
| H A D | pci.rs | 243 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; typedef 304 const ID_TABLE: IdTable<Self::IdInfo>;
|
| H A D | driver.rs | 292 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>>; in acpi_id_table() 326 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>>; in of_id_table()
|
| 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 290 /// const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE; 308 const ID_TABLE: IdTable<Self::IdInfo>;
|
| /linux/samples/rust/ |
| H A D | rust_driver_i2c.rs | 39 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); 40 const I2C_ID_TABLE: Option<i2c::IdTable<Self::IdInfo>> = Some(&I2C_TABLE); 41 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE);
|
| H A D | rust_i2c_client.rs | 109 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); 110 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE);
|
| H A D | rust_driver_auxiliary.rs | 37 const ID_TABLE: auxiliary::IdTable<Self::IdInfo> = &AUX_TABLE; 71 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
|
| H A D | rust_driver_platform.rs | 104 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); in probe() 105 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); in probe()
|
| H A D | rust_debugfs.rs | 120 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; in probe() 121 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); in probe()
|
| H A D | rust_driver_usb.rs | 29 const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE; in probe()
|
| H A D | rust_driver_pci.rs | 144 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
|
| H A D | rust_dma.rs | 61 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
|