Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/riscv64/pci/
H A Dpci_host_ecam.rs22 let bus_range: &[u8] = node.property("bus-range").ok_or(SystemError::EINVAL)?.value; in pci_host_ecam_driver_init() localVariable
24 let (bus_begin, bus_end) = match bus_range.len() { in pci_host_ecam_driver_init()
26 u32::from_be_bytes(bus_range[0..4].try_into().unwrap()), in pci_host_ecam_driver_init()
27 u32::from_be_bytes(bus_range[4..8].try_into().unwrap()), in pci_host_ecam_driver_init()