Home
last modified time | relevance | path

Searched refs:IdTable (Results 1 – 15 of 15) sorted by relevance

/linux/samples/rust/
H A Drust_driver_i2c.rs37 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 Drust_i2c_client.rs108 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 Drust_driver_auxiliary.rs42 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 Drust_driver_platform.rs103 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 Drust_debugfs.rs120 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 Drust_driver_usb.rs29 const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE; in probe()
H A Drust_driver_pci.rs142 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in drop()
H A Drust_dma.rs71 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in probe()
/linux/rust/kernel/
H A Di2c.rs71 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 Dplatform.rs133 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 Ddevice_id.rs15 /// 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 Dauxiliary.rs177 /// 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 Ddriver.rs24 //! 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 Dpci.rs244 /// `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 Dusb.rs239 /// [`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