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.rs185 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in early_init_scan_memory() localVariable
187 let total_elements_in_reg = reg.value.len() / ((addr_cells + size_cells) * 4); in early_init_scan_memory()
190 let base_index = i * (addr_cells + size_cells); in early_init_scan_memory()
193 let (size, _) = read_cell(reg.value, base_index, size_cells); in early_init_scan_memory()
419 let size_cells = FDT_GLOBAL_DATA.read().root_size_cells as usize; in reserved_mem_reserve_reg() localVariable
428 let (size, bi) = read_cell(reg.value, base_index, size_cells); in reserved_mem_reserve_reg()