Home
last modified time | relevance | path

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

/external/crosvm/devices/src/pci/
Dpci_configuration.rs226 bar_num: usize, field
233 while self.bar_num < NUM_BAR_REGS { in next()
234 let bar_config = self.config.get_bar_configuration(self.bar_num); in next()
235 self.bar_num += 1; in next()
501 bar_num: 0, in get_bars()
505 fn get_bar_configuration(&self, bar_num: usize) -> Option<PciBarConfiguration> { in get_bar_configuration()
506 let config = self.bar_configs.get(bar_num)?; in get_bar_configuration()
511 config.addr = self.get_bar_addr(bar_num); in get_bar_configuration()
519 pub fn get_bar_type(&self, bar_num: usize) -> Option<PciBarRegionType> { in get_bar_type()
520 self.bar_configs.get(bar_num)?.map(|c| c.region_type) in get_bar_type()
[all …]