Home
last modified time | relevance | path

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

/openbmc/linux/drivers/of/
H A Dfdt.c471 int __initdata dt_root_size_cells; variable
504 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg()
525 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_reserve_reg()
554 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) in __reserved_mem_check_root()
955 if (!prop || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_check_for_elfcorehdr()
959 elfcorehdr_size = dt_mem_next_cell(dt_root_size_cells, &prop); in early_init_dt_check_for_elfcorehdr()
993 if (!prop || (len % (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_check_for_usable_mem_range()
999 rgn[i].size = dt_mem_next_cell(dt_root_size_cells, &prop); in early_init_dt_check_for_usable_mem_range()
1072 dt_root_size_cells = OF_ROOT_NODE_SIZE_CELLS_DEFAULT; in early_init_dt_scan_root()
1077 dt_root_size_cells = be32_to_cpup(prop); in early_init_dt_scan_root()
[all …]
H A Dof_reserved_mem.c138 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_alloc_size()
150 if (len != dt_root_size_cells * sizeof(__be32)) { in __reserved_mem_alloc_size()
154 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_alloc_size()
188 end = start + dt_mem_next_cell(dt_root_size_cells, in __reserved_mem_alloc_size()
H A Dfdt_address.c66 *sizec = dt_root_size_cells; in fdt_bus_default_count_cells()
/openbmc/linux/arch/powerpc/mm/
H A Dinit_64.c539 if (!prop || l < dt_root_size_cells * sizeof(__be32)) in probe_memory_block_size()
545 *block_size = of_read_number(prop, dt_root_size_cells); in probe_memory_block_size()
574 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in probe_memory_block_size()
579 size = dt_mem_next_cell(dt_root_size_cells, &reg); in probe_memory_block_size()
H A Ddrmem.c292 if (!prop || len < dt_root_size_cells * sizeof(__be32)) in walk_drmem_lmbs_early()
297 n_root_size_cells = dt_root_size_cells; in walk_drmem_lmbs_early()
299 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()
/openbmc/linux/arch/arm/mach-mvebu/
H A Dboard-v7.c83 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in mvebu_scan_mem()
87 size = dt_mem_next_cell(dt_root_size_cells, &reg); in mvebu_scan_mem()
/openbmc/linux/arch/arm/mach-shmobile/
H A Dsetup-rcar-gen2.c150 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in rcar_gen2_scan_mem()
154 size = dt_mem_next_cell(dt_root_size_cells, &reg); in rcar_gen2_scan_mem()
/openbmc/linux/include/linux/
H A Dof_fdt.h32 extern int __initdata dt_root_size_cells;
/openbmc/linux/arch/powerpc/kernel/
H A Dprom.c548 rngs = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()
556 size = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()