Searched refs:bar_range (Results 1 – 4 of 4) sorted by relevance
71 let bar_range = pci_info.bar_range.start as usize..pci_info.bar_range.end as usize; in initialize() localVariable72 memory.map_mmio_range(bar_range).map_err(PciError::BarMapFailed)?; in initialize()
70 let bar_range = { in mmio_phys_to_virt() localVariable71 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()
99 pub bar_range: Range<u32>, field108 let bar_range = parse_ranges(&pci_node)?; in from_fdt() localVariable110 Ok(Self { cam_range, bar_range }) in from_fdt()
118 MemoryRegion::new(pci_info.bar_range.start as usize, pci_info.bar_range.end as usize) in get_bar_region()