Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/of/
Dfdt.c541 int __initdata dt_root_size_cells; variable
555 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg()
575 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_reserve_reg()
604 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) in __reserved_mem_check_root()
1000 dt_root_size_cells = OF_ROOT_NODE_SIZE_CELLS_DEFAULT; in early_init_dt_scan_root()
1005 dt_root_size_cells = be32_to_cpup(prop); in early_init_dt_scan_root()
1006 pr_debug("dt_root_size_cells = %x\n", dt_root_size_cells); in early_init_dt_scan_root()
1051 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory()
1055 size = dt_mem_next_cell(dt_root_size_cells, &reg); in early_init_dt_scan_memory()
Dof_reserved_mem.c97 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_alloc_size()
109 if (len != dt_root_size_cells * sizeof(__be32)) { in __reserved_mem_alloc_size()
113 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_alloc_size()
151 end = start + dt_mem_next_cell(dt_root_size_cells, in __reserved_mem_alloc_size()
Dfdt_address.c66 *sizec = dt_root_size_cells; in fdt_bus_default_count_cells()
/Linux-v4.19/arch/arm/mach-mvebu/
Dboard-v7.c86 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in mvebu_scan_mem()
90 size = dt_mem_next_cell(dt_root_size_cells, &reg); in mvebu_scan_mem()
/Linux-v4.19/arch/arm64/mm/
Dinit.c180 if (!reg || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_scan_elfcorehdr()
184 elfcorehdr_size = dt_mem_next_cell(dt_root_size_cells, &reg); in early_init_dt_scan_elfcorehdr()
345 if (!reg || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_scan_usablemem()
349 usablemem->size = dt_mem_next_cell(dt_root_size_cells, &reg); in early_init_dt_scan_usablemem()
/Linux-v4.19/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c133 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in rcar_gen2_scan_mem()
137 size = dt_mem_next_cell(dt_root_size_cells, &reg); in rcar_gen2_scan_mem()
/Linux-v4.19/arch/powerpc/mm/
Ddrmem.c279 if (!prop || len < dt_root_size_cells * sizeof(__be32)) in walk_drmem_lmbs_early()
282 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()
310 if (!prop || len < dt_root_size_cells * sizeof(__be32)) { in init_drmem_lmb_size()
315 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in init_drmem_lmb_size()
/Linux-v4.19/include/linux/
Dof_fdt.h41 extern int __initdata dt_root_size_cells;
/Linux-v4.19/arch/powerpc/kernel/
Dprom.c500 rngs = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()
508 size = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()