Home
last modified time | relevance | path

Searched refs:PciInfo (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Virtualization/vmbase/src/virtio/
Dpci.rs21 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
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs509 struct PciInfo { struct
511 irq_masks: ArrayVec<[PciIrqMask; PciInfo::MAX_IRQS]>, argument
512 irq_maps: ArrayVec<[PciIrqMap; PciInfo::MAX_IRQS]>, argument
515 impl PciInfo { implementation
522 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() argument
557 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 …]
Dmain.rs49 use fdtpci::{PciError, PciInfo};
102 let pci_info = PciInfo::from_fdt(fdt).map_err(handle_pci_error)?; in main()
/packages/modules/Virtualization/vmbase/example/src/
Dpci.rs20 use fdtpci::PciInfo;
117 pub fn get_bar_region(pci_info: &PciInfo) -> MemoryRegion { in get_bar_region()
Dmain.rs33 use fdtpci::PciInfo;
92 let pci_info = PciInfo::from_fdt(fdt).unwrap(); in main()
/packages/modules/Virtualization/libs/fdtpci/src/
Dlib.rs95 pub struct PciInfo { struct
102 impl PciInfo { impl
/packages/modules/Virtualization/rialto/src/
Dmain.rs36 use fdtpci::PciInfo;
170 let pci_info = PciInfo::from_fdt(fdt)?; in try_main()