Home
last modified time | relevance | path

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

/external/crosvm/devices/src/pci/
Dpci_configuration.rs41 pub const NUM_BAR_REGS: usize = 7; // 6 normal BARs + expansion ROM BAR. constant
260 bar_used: [bool; NUM_BAR_REGS],
261 bar_configs: [Option<PciBarConfiguration>; NUM_BAR_REGS],
300 while self.bar_num < NUM_BAR_REGS { in next()
323 #[error("bar {0} invalid, max {}", NUM_BAR_REGS - 1)]
393 bar_used: [false; NUM_BAR_REGS], in new()
394 bar_configs: [None; NUM_BAR_REGS], in new()
484 if config.bar_idx >= NUM_BAR_REGS { in add_pci_bar()
Dpci_device.rs38 use crate::pci::pci_configuration::NUM_BAR_REGS;
631 for bar_num in 0..NUM_BAR_REGS { in get_ranges()