Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/pci/
H A Decam.rs35 let ecam_root_info = Self { in new() localVariable
41 return ecam_root_info; in new()
55 pub fn add_ecam_root_info(&self, ecam_root_info: EcamRootInfo) { in add_ecam_root_info()
56 if !pci_root_manager().has_root(ecam_root_info.segment_group_number) { in add_ecam_root_info()
58 Some(ecam_root_info), in add_ecam_root_info()
60 ecam_root_info.bus_begin, in add_ecam_root_info()
61 ecam_root_info.bus_end, in add_ecam_root_info()
73 ecam_root_info.segment_group_number in add_ecam_root_info()
H A Droot.rs32 pub ecam_root_info: Option<EcamRootInfo>, field
48 if let Some(ecam_root_info) = &self.ecam_root_info { in fmt()
52ecam_root_info.segment_group_number, ecam_root_info.bus_begin, ecam_root_info.bus_end, ecam_root_i… in fmt()
78 ecam_root_info: Option<EcamRootInfo>, in new()
84 ecam_root_info, in new()
91 if ecam_root_info.is_some() { in new()
114 .map_phys(self.ecam_root_info.unwrap().physical_address_base, size) in map()
139 let bdf = ((bus_device_function.bus - self.ecam_root_info.unwrap().bus_begin) as u32) << 8 in cam_offset()
166 if self.ecam_root_info.is_some() { in read_config()
194 if self.ecam_root_info.is_some() { in write_config()
[all …]