Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/pci/
H A Droot.rs83 let mut pci_root = Self { in new() localVariable
92 pci_root.map()?; in new()
95 Ok(Arc::new(pci_root)) in new()
233 pci_root: HashMap<SegmentGroupNumber, Arc<PciRoot>>, field
240 pci_root: HashMap::new(), in new()
252 pub fn add_pci_root(&self, pci_root: Arc<PciRoot>) { in add_pci_root()
255 if let Some(ecam_root_info) = pci_root.ecam_root_info { in add_pci_root()
257 .pci_root in add_pci_root()
258 .insert(ecam_root_info.segment_group_number, pci_root); in add_pci_root()
260 inner.pci_root.insert(pci_root.bus_begin as u16, pci_root); in add_pci_root()
[all …]