Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs184 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in early_init_scan_memory() localVariable
186 let total_elements_in_reg = reg.value.len() / ((addr_cells + size_cells) * 4); in early_init_scan_memory()
189 let base_index = i * (addr_cells + size_cells); in early_init_scan_memory()
192 let (size, _) = read_cell(reg.value, base_index, size_cells); in early_init_scan_memory()
418 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in reserved_mem_reserve_reg() localVariable
427 let (size, bi) = read_cell(reg.value, base_index, size_cells); in reserved_mem_reserve_reg()