Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs23 static FDT_GLOBAL_DATA: RwLock<FdtGlobalData> = RwLock::new(FdtGlobalData::new()); variable
106 let mut guard = FDT_GLOBAL_DATA.write(); in early_init_scan_root()
131 FDT_GLOBAL_DATA.write().chosen_node_name = Some(CHOSEN_NAME2); in early_init_scan_chosen()
134 FDT_GLOBAL_DATA.write().chosen_node_name = Some(CHOSEN_NAME1); in early_init_scan_chosen()
184 let addr_cells = FDT_GLOBAL_DATA.read().root_addr_cells as usize; in early_init_scan_memory()
185 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in early_init_scan_memory()
402 FDT_GLOBAL_DATA.read(); in reserved_mem_reserve_reg()
418 let addr_cells = FDT_GLOBAL_DATA.read().root_addr_cells as usize; in reserved_mem_reserve_reg()
419 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in reserved_mem_reserve_reg()