Home
last modified time | relevance | path

Searched refs:CompatibleTable (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dplatform_driver.rs4 CompatibleTable,
19 fn compatible_table(&self) -> CompatibleTable; in compatible_table() argument
Dplatform_device.rs4 CompatibleTable,
14 fn compatible_table(&self) -> CompatibleTable; in compatible_table() argument
Dmod.rs23 pub struct CompatibleTable(BTreeSet<&'static str>); struct
26 impl CompatibleTable { implementation
32 pub fn new(id_vec: Vec<&'static str>) -> CompatibleTable { in new() argument
33 CompatibleTable(BTreeSet::from_iter(id_vec.iter().cloned())) in new()
40 pub fn matches(&self, other: &CompatibleTable) -> bool { in matches()
68 fn get_compatible_table(&self) -> CompatibleTable { in get_compatible_table() argument
69 CompatibleTable::new(vec!["platform"]) in get_compatible_table()
283 fn compatible_table(&self) -> CompatibleTable { in compatible_table() argument
284 CompatibleTable::new(vec!["platform"]) in compatible_table()
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs7 self, platform_device::PlatformDevice, platform_driver::PlatformDriver, CompatibleTable,
131 fn compatible_table(&self) -> platform::CompatibleTable { in compatible_table() argument
132 platform::CompatibleTable::new(vec!["uart"]) in compatible_table()
254 fn compatible_table(&self) -> platform::CompatibleTable { in compatible_table() argument
255 return CompatibleTable::new(vec!["uart"]); in compatible_table()
/DragonOS-0.1.8/docs/kernel/filesystem/
Dsysfs.md88 pub struct CompatibleTable(BTreeSet<&'static str>);