Searched refs:dt_root_size_cells (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/of/ |
D | of_reserved_mem.c | 105 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg() 126 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_reserve_reg() 155 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) in __reserved_mem_check_root() 259 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_alloc_size() 271 if (len != dt_root_size_cells * sizeof(__be32)) { in __reserved_mem_alloc_size() 275 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_alloc_size() 309 end = start + dt_mem_next_cell(dt_root_size_cells, in __reserved_mem_alloc_size()
|
D | fdt.c | 55 int cell_size = sizeof(uint32_t)*(dt_root_addr_cells + dt_root_size_cells); in of_fdt_limit_memory() 457 int __initdata dt_root_size_cells; variable 820 if (!prop || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_check_for_elfcorehdr() 824 elfcorehdr_size = dt_mem_next_cell(dt_root_size_cells, &prop); in early_init_dt_check_for_elfcorehdr() 858 if (!prop || (len % (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_check_for_usable_mem_range() 864 rgn[i].size = dt_mem_next_cell(dt_root_size_cells, &prop); in early_init_dt_check_for_usable_mem_range() 937 dt_root_size_cells = OF_ROOT_NODE_SIZE_CELLS_DEFAULT; in early_init_dt_scan_root() 942 dt_root_size_cells = be32_to_cpup(prop); in early_init_dt_scan_root() 943 pr_debug("dt_root_size_cells = %x\n", dt_root_size_cells); in early_init_dt_scan_root() 994 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory() [all …]
|
D | fdt_address.c | 66 *sizec = dt_root_size_cells; in fdt_bus_default_count_cells()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | init_64.c | 539 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, ®); in probe_memory_block_size()
|
D | drmem.c | 292 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()
|
/linux-6.12.1/arch/arm/mach-mvebu/ |
D | board-v7.c | 83 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, ®); in mvebu_scan_mem()
|
/linux-6.12.1/arch/arm/mach-shmobile/ |
D | setup-rcar-gen2.c | 150 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, ®); in rcar_gen2_scan_mem()
|
/linux-6.12.1/include/linux/ |
D | of_fdt.h | 32 extern int __initdata dt_root_size_cells;
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | prom.c | 558 rngs = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb() 566 size = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()
|