Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/
Dvirtio_device.rs25 use crate::pci::PciBarIndex;
161 fn read_bar(&mut self, _bar_index: PciBarIndex, _offset: u64, _data: &mut [u8]) {} in read_bar() argument
166 fn write_bar(&mut self, _bar_index: PciBarIndex, _offset: u64, _data: &[u8]) {} in write_bar() argument
Dvirtio_pci_device.rs53 use crate::pci::PciBarIndex;
799 if bar.bar_index() == self.settings_bar as PciBarIndex { in read_bar()
853 if bar.bar_index() == self.settings_bar as PciBarIndex { in write_bar()
/external/crosvm/devices/src/pci/
Dpci_configuration.rs42 pub const ROM_BAR_IDX: PciBarIndex = 6;
280 pub type PciBarIndex = usize; typedef
286 bar_idx: PciBarIndex,
293 bar_num: PciBarIndex,
320 BarInUse(PciBarIndex),
322 BarInUse64(PciBarIndex),
324 BarInvalid(PciBarIndex),
326 BarInvalid64(PciBarIndex),
483 pub fn add_pci_bar(&mut self, config: PciBarConfiguration) -> Result<PciBarIndex> { in add_pci_bar() argument
602 pub fn get_bar_type(&self, bar_num: PciBarIndex) -> Option<PciBarRegionType> { in get_bar_type()
[all …]
Dmod.rs57 pub use self::pci_configuration::PciBarIndex;
Dvfio_pci.rs81 use crate::pci::PciBarIndex;
671 mapped_mmio_bars: BTreeMap<PciBarIndex, (u64, Vec<MemSlot>)>,
/external/crosvm/devices/src/virtio/vhost/user/
Dproxy.rs80 use crate::pci::PciBarIndex;
1414 fn check_io_bar_metadata(&self, bar_index: PciBarIndex) -> Result<()> { in check_io_bar_metadata()
1867 fn read_bar(&mut self, bar_index: PciBarIndex, offset: u64, data: &mut [u8]) { in read_bar() argument
1880 fn write_bar(&mut self, bar_index: PciBarIndex, offset: u64, data: &[u8]) { in write_bar() argument