Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Di2c.rs74 /// 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 Dplatform.rs130 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 Ddevice_id.rs165 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 Dauxiliary.rs173 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; typedef
201 const ID_TABLE: IdTable<Self::IdInfo>;
H A Dpci.rs243 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>; typedef
304 const ID_TABLE: IdTable<Self::IdInfo>;
H A Ddriver.rs292 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 Dusb.rs251 /// [`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 Drust_driver_i2c.rs39 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 Drust_i2c_client.rs109 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 Drust_driver_auxiliary.rs37 const ID_TABLE: auxiliary::IdTable<Self::IdInfo> = &AUX_TABLE;
71 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
H A Drust_driver_platform.rs104 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 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.rs144 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
H A Drust_dma.rs61 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;