Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs5 Fdt,
80 pub fn fdt_ref(&self) -> Result<Fdt<'static>, SystemError> { in fdt_ref()
82 let fdt: Fdt<'_> = unsafe { in fdt_ref()
83 fdt::Fdt::from_ptr(fdt_vaddr.as_ptr()).map_err(|e| { in fdt_ref()
91 fn early_init_scan_nodes(&self, fdt: &Fdt) { in early_init_scan_nodes() argument
103 fn early_init_scan_root(&self, fdt: &Fdt) -> Result<(), SystemError> { in early_init_scan_root()
124 fn early_init_scan_chosen(&self, fdt: &Fdt) -> Result<(), SystemError> { in early_init_scan_chosen()
162 fn early_init_scan_memory(&self, fdt: &Fdt) -> bool { in early_init_scan_memory()
304 let fdt = unsafe { Fdt::from_ptr(vaddr.data() as *const u8) }; in early_init_fdt_scan_reserved_mem()
328 fn early_reserve_fdt_itself(&self, fdt: &Fdt) { in early_reserve_fdt_itself() argument
[all …]
/DragonOS/kernel/src/arch/riscv64/pci/
H A Dpci_host_ecam.rs1 use fdt::{node::FdtNode, Fdt};
13 pub(super) fn pci_host_ecam_driver_init(fdt: &Fdt<'_>) -> Result<(), SystemError> { in pci_host_ecam_driver_init()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs5 use fdt::Fdt;
112 Fdt::from_ptr( in get_fdt_params()
/DragonOS/kernel/src/arch/riscv64/init/
H A Dmod.rs116 unsafe { fdt::Fdt::from_ptr(fdt_paddr.data() as *const u8).expect("Failed to parse fdt!") }; in early_setup_arch()