Home
last modified time | relevance | path

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

/linux/arch/arm/boot/compressed/
A Dfdt_check_mem_start.c79 addr_cells = get_cells(fdt, "#address-cells"); in fdt_check_mem_start()
81 if (addr_cells > 2 || size_cells > 2) in fdt_check_mem_start()
90 (addr_cells + size_cells) * sizeof(fdt32_t)); in fdt_check_mem_start()
92 size = get_val(usable + addr_cells, size_cells); in fdt_check_mem_start()
96 if (addr_cells > 1 && fdt32_ld(usable)) { in fdt_check_mem_start()
101 usable_base = fdt32_ld(usable + addr_cells - 1); in fdt_check_mem_start()
119 endp - reg >= addr_cells + size_cells; in fdt_check_mem_start()
120 reg += addr_cells + size_cells) { in fdt_check_mem_start()
121 size = get_val(reg + addr_cells, size_cells); in fdt_check_mem_start()
125 if (addr_cells > 1 && fdt32_ld(reg)) { in fdt_check_mem_start()
[all …]
/linux/scripts/dtc/libfdt/
A 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/drivers/of/
A Dkexec.c74 static int get_addr_size_cells(int *addr_cells, int *size_cells) in get_addr_size_cells() argument
82 *addr_cells = of_n_addr_cells(root); in get_addr_size_cells()
103 int ret, addr_cells, size_cells; in do_get_kexec_buffer() local
105 ret = get_addr_size_cells(&addr_cells, &size_cells); in do_get_kexec_buffer()
109 if (len < 4 * (addr_cells + size_cells)) in do_get_kexec_buffer()
112 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer()
113 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer()
/linux/arch/powerpc/platforms/pseries/
A Dhotplug-memory.c319 int addr_cells, size_cells; in pseries_remove_mem_node() local
334 addr_cells = of_n_addr_cells(np); in pseries_remove_mem_node()
340 base = of_read_number(prop, addr_cells); in pseries_remove_mem_node()
341 prop += addr_cells; in pseries_remove_mem_node()
937 int addr_cells, size_cells; in pseries_add_mem_node() local
952 addr_cells = of_n_addr_cells(np); in pseries_add_mem_node()
957 base = of_read_number(prop, addr_cells); in pseries_add_mem_node()
958 prop += addr_cells; in pseries_add_mem_node()
/linux/scripts/dtc/
A Dchecks.c736 node->addr_cells = -1; in fixup_addr_size_cells()
741 node->addr_cells = propval_cell(prop); in fixup_addr_size_cells()
751 (((n)->addr_cells == -1) ? 2 : (n)->addr_cells)
759 int addr_cells, size_cells, entrylen; in check_reg_format() local
773 addr_cells = node_addr_cells(node->parent); in check_reg_format()
780 prop->val.len, addr_cells, size_cells); in check_reg_format()
1206 if (node->parent->addr_cells == -1) in check_avoid_default_addr_size()
1605 if (node->addr_cells < 0) { in check_interrupt_map()
1797 if (cnt == 1 && node->addr_cells != -1) in check_graph_child_address()
1824 if (node->parent->addr_cells != 1) in check_graph_reg()
[all …]
A Ddtc.h230 int addr_cells, size_cells; member
/linux/drivers/bus/
A Dmvebu-mbus.c1204 int *addr_cells, int *c_addr_cells, int *c_size_cells, in mbus_parse_ranges() argument
1214 *addr_cells = *c_addr_cells = *c_size_cells = *cell_count = 0; in mbus_parse_ranges()
1220 *addr_cells = of_n_addr_cells(node); in mbus_parse_ranges()
1228 *cell_count = *addr_cells + *c_addr_cells + *c_size_cells; in mbus_parse_ranges()
1241 int addr_cells, c_addr_cells, c_size_cells; in mbus_dt_setup() local
1245 ret = mbus_parse_ranges(np, &addr_cells, &c_addr_cells, in mbus_dt_setup()
1266 base = of_read_number(r + c_addr_cells, addr_cells); in mbus_dt_setup()
1267 size = of_read_number(r + c_addr_cells + addr_cells, in mbus_dt_setup()
/linux/arch/powerpc/mm/nohash/
A Dkaslr_booke.c243 static __init void get_cell_sizes(const void *fdt, int node, int *addr_cells, in get_cell_sizes() argument
253 *addr_cells = *size_cells = 1; in get_cell_sizes()
257 *addr_cells = fdt32_to_cpu(*prop); in get_cell_sizes()

Completed in 21 milliseconds