Searched refs:PciInfo (Results 1 – 7 of 7) sorted by relevance
21 use fdtpci::PciInfo;33 pub(super) static PCI_INFO: OnceBox<PciInfo> = OnceBox::new();67 pub fn initialize(pci_info: PciInfo, memory: &mut MemoryTracker) -> Result<PciRoot, PciError> { in initialize() argument
509 struct PciInfo { struct511 irq_masks: ArrayVec<[PciIrqMask; PciInfo::MAX_IRQS]>, argument512 irq_maps: ArrayVec<[PciIrqMap; PciInfo::MAX_IRQS]>, argument515 impl PciInfo { implementation522 type PciIrqMask = [u32; PciInfo::IRQ_MASK_CELLS];523 type PciIrqMap = [u32; PciInfo::IRQ_MAP_CELLS];548 fn read_pci_info_from(fdt: &Fdt) -> libfdt::Result<PciInfo> { in read_pci_info_from() argument557 let mut chunks = CellChunkIterator::<{ PciInfo::IRQ_MASK_CELLS }>::new(irq_masks); in read_pci_info_from()558 let irq_masks = (&mut chunks).take(PciInfo::MAX_IRQS).collect(); in read_pci_info_from()561 warn!("Input DT has more than {} PCI entries!", PciInfo::MAX_IRQS); in read_pci_info_from()[all …]
49 use fdtpci::{PciError, PciInfo};102 let pci_info = PciInfo::from_fdt(fdt).map_err(handle_pci_error)?; in main()
20 use fdtpci::PciInfo;117 pub fn get_bar_region(pci_info: &PciInfo) -> MemoryRegion { in get_bar_region()
33 use fdtpci::PciInfo;92 let pci_info = PciInfo::from_fdt(fdt).unwrap(); in main()
95 pub struct PciInfo { struct102 impl PciInfo { impl
36 use fdtpci::PciInfo;170 let pci_info = PciInfo::from_fdt(fdt)?; in try_main()