Home
last modified time | relevance | path

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

/packages/modules/Virtualization/vmbase/src/virtio/
Dpci.rs71 let bar_range = pci_info.bar_range.start as usize..pci_info.bar_range.end as usize; in initialize() localVariable
72 memory.map_mmio_range(bar_range).map_err(PciError::BarMapFailed)?; in initialize()
Dhal.rs70 let bar_range = { in mmio_phys_to_virt() localVariable
71 let start = pci_info.bar_range.start.try_into().unwrap(); in mmio_phys_to_virt()
72 let end = pci_info.bar_range.end.try_into().unwrap(); in mmio_phys_to_virt()
81 mmio_range.is_within(&bar_range), in mmio_phys_to_virt()
/packages/modules/Virtualization/libs/fdtpci/src/
Dlib.rs99 pub bar_range: Range<u32>, field
108 let bar_range = parse_ranges(&pci_node)?; in from_fdt() localVariable
110 Ok(Self { cam_range, bar_range }) in from_fdt()
/packages/modules/Virtualization/vmbase/example/src/
Dpci.rs118 MemoryRegion::new(pci_info.bar_range.start as usize, pci_info.bar_range.end as usize) in get_bar_region()