Home
last modified time | relevance | path

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

/external/crosvm/devices/src/pci/
Dpci_configuration.rs203 pub enum PciBarRegionType { enum
220 region_type: PciBarRegionType,
431 let min_size = if config.region_type == PciBarRegionType::IORegion { in add_pci_bar()
451 PciBarRegionType::Memory32BitRegion | PciBarRegionType::IORegion => { in add_pci_bar()
456 PciBarRegionType::Memory64BitRegion => { in add_pci_bar()
476 PciBarRegionType::Memory32BitRegion | PciBarRegionType::Memory64BitRegion => { in add_pci_bar()
483 PciBarRegionType::IORegion => { in add_pci_bar()
519 pub fn get_bar_type(&self, bar_num: usize) -> Option<PciBarRegionType> { in get_bar_type() argument
533 PciBarRegionType::IORegion => u64::from(self.registers[bar_idx] & BAR_IO_ADDR_MASK), in get_bar_addr()
534 PciBarRegionType::Memory32BitRegion => { in get_bar_addr()
[all …]
Dmod.rs25 PciBarConfiguration, PciBarPrefetchable, PciBarRegionType, PciCapability, PciCapabilityID,
/external/crosvm/devices/src/virtio/fs/
Dmod.rs18 PciAddress, PciBarConfiguration, PciBarPrefetchable, PciBarRegionType, PciCapability,
327 PciBarRegionType::Memory64BitRegion, in get_device_bars()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs50 PciAddress, PciBarConfiguration, PciBarPrefetchable, PciBarRegionType, PciCapability,
1204 PciBarRegionType::Memory64BitRegion, in get_device_bars()