Home
last modified time | relevance | path

Searched refs:addr_cells (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/arm/boot/compressed/
Dfdt_check_mem_start.c66 uint32_t addr_cells, size_cells, usable_base, base; in fdt_check_mem_start() local
80 addr_cells = get_cells(fdt, "#address-cells"); in fdt_check_mem_start()
82 if (addr_cells > 2 || size_cells > 2) in fdt_check_mem_start()
91 (addr_cells + size_cells) * sizeof(fdt32_t)); in fdt_check_mem_start()
93 size = get_val(usable + addr_cells, size_cells); in fdt_check_mem_start()
97 if (addr_cells > 1 && fdt32_ld(usable)) { in fdt_check_mem_start()
102 usable_base = fdt32_ld(usable + addr_cells - 1); in fdt_check_mem_start()
120 endp - reg >= addr_cells + size_cells; in fdt_check_mem_start()
121 reg += addr_cells + size_cells) { in fdt_check_mem_start()
122 size = get_val(reg + addr_cells, size_cells); in fdt_check_mem_start()
[all …]
/linux-6.12.1/scripts/dtc/libfdt/
Dfdt_addresses.c60 int addr_cells, size_cells, ret; in fdt_appendprop_addrrange() local
66 addr_cells = ret; in fdt_appendprop_addrrange()
75 if (addr_cells == 1) { in fdt_appendprop_addrrange()
80 } else if (addr_cells == 2) { in fdt_appendprop_addrrange()
87 prop += addr_cells * sizeof(fdt32_t); in fdt_appendprop_addrrange()
100 (addr_cells + size_cells) * sizeof(fdt32_t)); in fdt_appendprop_addrrange()
/linux-6.12.1/drivers/of/
Dkexec.c75 static int get_addr_size_cells(int *addr_cells, int *size_cells) in get_addr_size_cells() argument
83 *addr_cells = of_n_addr_cells(root); in get_addr_size_cells()
104 int ret, addr_cells, size_cells; in do_get_kexec_buffer() local
106 ret = get_addr_size_cells(&addr_cells, &size_cells); in do_get_kexec_buffer()
110 if (len < 4 * (addr_cells + size_cells)) in do_get_kexec_buffer()
113 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer()
114 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer()
/linux-6.12.1/scripts/dtc/
Dchecks.c737 node->addr_cells = -1; in fixup_addr_size_cells()
742 node->addr_cells = propval_cell(prop); in fixup_addr_size_cells()
752 (((n)->addr_cells == -1) ? 2 : (n)->addr_cells)
760 int addr_cells, size_cells, entrylen; in check_reg_format() local
774 addr_cells = node_addr_cells(node->parent); in check_reg_format()
776 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
781 prop->val.len, addr_cells, size_cells); in check_reg_format()
1208 if (node->parent->addr_cells == -1) in check_avoid_default_addr_size()
1224 if (!node->parent || node->addr_cells < 0 || node->size_cells < 0) in check_avoid_unnecessary_addr_size()
1262 if (node->addr_cells < 0 || node->size_cells < 0) in check_unique_unit_address_common()
[all …]
Ddtc.h230 int addr_cells, size_cells; member
/linux-6.12.1/arch/powerpc/mm/nohash/
Dkaslr_booke.c237 static __init void get_cell_sizes(const void *fdt, int node, int *addr_cells, in get_cell_sizes() argument
247 *addr_cells = *size_cells = 1; in get_cell_sizes()
251 *addr_cells = fdt32_to_cpu(*prop); in get_cell_sizes()