Lines Matching refs:IdInfo
18 //! type IdInfo: 'static;
24 //! const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None;
27 //! const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
32 //! id_info: &'bound Self::IdInfo,
302 type IdInfo: 'static;
305 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>>;
308 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>>;
317 /// The caller must ensure that the `dev` matched data is of type `Self::IdInfo`.
319 unsafe fn id_info(dev: &device::Device) -> Option<&'static Self::IdInfo> {
323 // SAFETY: Per safety requirement, `data` is of type `Self::IdInfo`.
324 unsafe { data.cast::<Self::IdInfo>().as_ref() }