Searched refs:dt_root_size_cells (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/of/ |
D | fdt.c | 465 int __initdata dt_root_size_cells; variable 479 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg() 500 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_reserve_reg() 529 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) in __reserved_mem_check_root() 968 dt_root_size_cells = OF_ROOT_NODE_SIZE_CELLS_DEFAULT; in early_init_dt_scan_root() 973 dt_root_size_cells = be32_to_cpup(prop); in early_init_dt_scan_root() 974 pr_debug("dt_root_size_cells = %x\n", dt_root_size_cells); in early_init_dt_scan_root() 1019 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory() 1023 size = dt_mem_next_cell(dt_root_size_cells, ®); in early_init_dt_scan_memory()
|
D | of_reserved_mem.c | 77 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_alloc_size() 89 if (len != dt_root_size_cells * sizeof(__be32)) { in __reserved_mem_alloc_size() 93 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_alloc_size() 131 end = start + dt_mem_next_cell(dt_root_size_cells, in __reserved_mem_alloc_size()
|
D | fdt_address.c | 66 *sizec = dt_root_size_cells; in fdt_bus_default_count_cells()
|
/Linux-v5.4/arch/arm/mach-mvebu/ |
D | board-v7.c | 86 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, ®); in mvebu_scan_mem()
|
/Linux-v5.4/arch/arm64/mm/ |
D | init.c | 133 if (!reg || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_scan_elfcorehdr() 137 elfcorehdr_size = dt_mem_next_cell(dt_root_size_cells, ®); in early_init_dt_scan_elfcorehdr() 287 if (!reg || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_scan_usablemem() 291 usablemem->size = dt_mem_next_cell(dt_root_size_cells, ®); in early_init_dt_scan_usablemem()
|
/Linux-v5.4/arch/powerpc/mm/ |
D | drmem.c | 275 if (!prop || len < dt_root_size_cells * sizeof(__be32)) in walk_drmem_lmbs_early() 278 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early() 306 if (!prop || len < dt_root_size_cells * sizeof(__be32)) { in init_drmem_lmb_size() 311 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in init_drmem_lmb_size()
|
/Linux-v5.4/arch/arm/mach-shmobile/ |
D | setup-rcar-gen2.c | 151 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in rcar_gen2_scan_mem() 155 size = dt_mem_next_cell(dt_root_size_cells, ®); in rcar_gen2_scan_mem()
|
/Linux-v5.4/include/linux/ |
D | of_fdt.h | 32 extern int __initdata dt_root_size_cells;
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | prom.c | 500 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()
|