Searched refs:IdTable (Results 1 – 15 of 15) sorted by relevance
| /linux/samples/rust/ |
| H A D | rust_driver_i2c.rs | 37 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); 38 const I2C_ID_TABLE: Option<i2c::IdTable<Self::IdInfo>> = Some(&I2C_TABLE); 39 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE);
|
| H A D | rust_i2c_client.rs | 108 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); 109 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE);
|
| H A D | rust_driver_auxiliary.rs | 42 const ID_TABLE: auxiliary::IdTable<Self::IdInfo> = &AUX_TABLE; in probe() 97 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in connect()
|
| H A D | rust_driver_platform.rs | 103 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); in probe() 104 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 | 142 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in drop()
|
| H A D | rust_dma.rs | 71 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in probe()
|
| /linux/rust/kernel/ |
| H A D | i2c.rs | 71 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; typedef 190 fn i2c_id_table() -> Option<IdTable<<Self as driver::Adapter>::IdInfo>> { in i2c_id_table() 221 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>> { in of_id_table() 225 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>> { in acpi_id_table() 319 const I2C_ID_TABLE: Option<IdTable<Self::IdInfo>> = None; 322 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; 325 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
|
| H A D | platform.rs | 133 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>> { in of_id_table() 137 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>> { in acpi_id_table() 221 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; 224 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
|
| H A D | device_id.rs | 15 /// This is meant to be implemented by buses/subsystems so that they can use [`IdTable`] to 166 pub trait IdTable<T: RawDeviceId, U> { 171 impl<T: RawDeviceId, U, const N: usize> IdTable<T, U> for IdArray<T, U, N> { 165 pub trait IdTable<T: RawDeviceId, U> { global() interface
|
| H A D | auxiliary.rs | 177 /// IdTable type for auxiliary drivers. 178 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; 180 /// Create a auxiliary `IdTable` with its alias for modpost. 203 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`]. 304 /// The [`acpi::IdTable`] of the corresponding driver in acpi_id_info() 305 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>>; in acpi_id_info() 307 /// The [`of::IdTable`] of the corresponding driver. in acpi_id_info() 308 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>>; in acpi_id_info()
|
| H A D | pci.rs | 244 /// `IdTable` type for PCI. 245 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; 247 /// Create a PCI `IdTable` with its alias for modpost. 278 /// const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; 303 const ID_TABLE: IdTable<Self::IdInfo>; 243 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; global() typedef
|
| H A D | usb.rs | 239 /// [`IdTable`](kernel::device_id::IdTable) type for USB. 240 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; 242 /// Create a USB `IdTable` with its alias for modpost. 272 /// const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE; 297 const ID_TABLE: IdTable<Self::IdInfo>; 254 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; global() typedef
|