/kernel/linux/linux-6.6/drivers/of/ |
H A D | fdt.c | 471 int __initdata dt_root_size_cells; variable 503 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg() 524 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_reserve_reg() 553 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) in __reserved_mem_check_root() 954 if (!prop || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_check_for_elfcorehdr() 958 elfcorehdr_size = dt_mem_next_cell(dt_root_size_cells, &prop); in early_init_dt_check_for_elfcorehdr() 992 if (!prop || (len % (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_check_for_usable_mem_range() 998 rgn[i].size = dt_mem_next_cell(dt_root_size_cells, &prop); in early_init_dt_check_for_usable_mem_range() 1071 dt_root_size_cells = OF_ROOT_NODE_SIZE_CELLS_DEFAULT; in early_init_dt_scan_root() 1076 dt_root_size_cells in early_init_dt_scan_root() [all...] |
H A D | of_reserved_mem.c | 138 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 D | fdt_address.c | 66 *sizec = dt_root_size_cells; in fdt_bus_default_count_cells()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
H A D | init.c | 162 if (!reg || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_scan_elfcorehdr() 166 elfcorehdr_size = dt_mem_next_cell(dt_root_size_cells, ®); in early_init_dt_scan_elfcorehdr() 302 if (!reg || (len < (dt_root_addr_cells + dt_root_size_cells))) in early_init_dt_scan_usablemem() 306 usablemem->size = dt_mem_next_cell(dt_root_size_cells, ®); in early_init_dt_scan_usablemem()
|
/kernel/linux/linux-5.10/drivers/of/ |
H A D | fdt.c | 464 int __initdata dt_root_size_cells; variable 478 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg() 499 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_reserve_reg() 528 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) in __reserved_mem_check_root() 963 dt_root_size_cells = OF_ROOT_NODE_SIZE_CELLS_DEFAULT; in early_init_dt_scan_root() 968 dt_root_size_cells = be32_to_cpup(prop); in early_init_dt_scan_root() 969 pr_debug("dt_root_size_cells = %x\n", dt_root_size_cells); in early_init_dt_scan_root() 1014 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory() 1018 size = dt_mem_next_cell(dt_root_size_cells, in early_init_dt_scan_memory() [all...] |
H A D | of_reserved_mem.c | 96 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_alloc_size() 108 if (len != dt_root_size_cells * sizeof(__be32)) { in __reserved_mem_alloc_size() 112 size = dt_mem_next_cell(dt_root_size_cells, &prop); in __reserved_mem_alloc_size() 150 end = start + dt_mem_next_cell(dt_root_size_cells, in __reserved_mem_alloc_size()
|
H A D | fdt_address.c | 66 *sizec = dt_root_size_cells; in fdt_bus_default_count_cells()
|
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/arm/mach-mvebu/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/arm/mach-shmobile/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | of_fdt.h | 32 extern int __initdata dt_root_size_cells;
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | of_fdt.h | 32 extern int __initdata dt_root_size_cells;
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | drmem.c | 285 if (!prop || len < dt_root_size_cells * sizeof(__be32)) in walk_drmem_lmbs_early() 290 n_root_size_cells = dt_root_size_cells; in walk_drmem_lmbs_early() 292 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | prom.c | 503 rngs = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb() 511 size = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | prom.c | 541 rngs = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb() 549 size = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 512 if (!prop || len < dt_root_size_cells * sizeof(__be32)) in probe_memory_block_size() 518 *mem_block_size = of_read_number(prop, dt_root_size_cells); in probe_memory_block_size()
|