Searched refs:size_cells (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/arch/arm/boot/compressed/ |
A D | fdt_check_mem_start.c | 65 uint32_t addr_cells, size_cells, usable_base, base; in fdt_check_mem_start() local 80 size_cells = get_cells(fdt, "#size-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() 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()
|
/linux-6.3-rc2/scripts/dtc/libfdt/ |
A D | fdt_addresses.c | 60 int addr_cells, size_cells, ret; in fdt_appendprop_addrrange() local 71 size_cells = ret; in fdt_appendprop_addrrange() 88 if (size_cells == 1) { in fdt_appendprop_addrrange() 93 } else if (size_cells == 2) { in fdt_appendprop_addrrange() 100 (addr_cells + size_cells) * sizeof(fdt32_t)); in fdt_appendprop_addrrange()
|
/linux-6.3-rc2/drivers/of/ |
A D | kexec.c | 75 static int get_addr_size_cells(int *addr_cells, int *size_cells) in get_addr_size_cells() argument 84 *size_cells = of_n_size_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() 114 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer()
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | hotplug-memory.c | 33 int size_cells; in pseries_memory_block_size() local 36 size_cells = of_n_size_cells(np); in pseries_memory_block_size() 39 if (prop && len >= size_cells * sizeof(__be32)) in pseries_memory_block_size() 40 memblock_size = of_read_number(prop, size_cells); in pseries_memory_block_size() 318 int addr_cells, size_cells; in pseries_remove_mem_node() local 334 size_cells = of_n_size_cells(np); in pseries_remove_mem_node() 341 lmb_size = of_read_number(prop, size_cells); in pseries_remove_mem_node() 936 int addr_cells, size_cells; in pseries_add_mem_node() local 952 size_cells = of_n_size_cells(np); in pseries_add_mem_node() 958 lmb_size = of_read_number(prop, size_cells); in pseries_add_mem_node()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_buffers.c | 139 u32 size_cells) in mlxsw_sp_port_headroom_8x_adjust() argument 145 return mlxsw_sp_port->mapping.width == 8 ? 2 * size_cells : size_cells; in mlxsw_sp_port_headroom_8x_adjust() 412 hdroom->int_buf.size_cells = reserve_cells; in mlxsw_sp_hdroom_bufs_reset_sizes() 414 hdroom->int_buf.size_cells = 0; in mlxsw_sp_hdroom_bufs_reset_sizes() 558 if (hdroom->bufs.buf[i].size_cells) in __mlxsw_sp_hdroom_configure() 762 u32 size_cells; in mlxsw_sp_sb_prs_init() local 771 rest_cells[dir] -= size_cells; in mlxsw_sp_sb_prs_init() 776 u32 size_cells; in mlxsw_sp_sb_prs_init() local 782 size_cells = rest_cells[pool_dess[i].dir]; in mlxsw_sp_sb_prs_init() 784 size_cells, false); in mlxsw_sp_sb_prs_init() [all …]
|
A D | spectrum_dcb.c | 594 u32 bytes = mlxsw_sp_cells_bytes(mlxsw_sp, hdroom->bufs.buf[i].size_cells); in mlxsw_sp_dcbnl_getbuffer() 601 buf->total_size += mlxsw_sp_cells_bytes(mlxsw_sp, hdroom->int_buf.size_cells); in mlxsw_sp_dcbnl_getbuffer()
|
A D | spectrum.h | 541 u32 size_cells; member 567 u32 size_cells; member
|
/linux-6.3-rc2/arch/powerpc/mm/nohash/ |
A D | kaslr_booke.c | 238 int *size_cells) in get_cell_sizes() argument 247 *addr_cells = *size_cells = 1; in get_cell_sizes() 254 *size_cells = fdt32_to_cpu(*prop); in get_cell_sizes()
|
/linux-6.3-rc2/scripts/dtc/ |
A D | checks.c | 737 node->size_cells = -1; in fixup_addr_size_cells() 745 node->size_cells = propval_cell(prop); in fixup_addr_size_cells() 753 (((n)->size_cells == -1) ? 1 : (n)->size_cells) 759 int addr_cells, size_cells, entrylen; in check_reg_format() local 774 size_cells = node_size_cells(node->parent); in check_reg_format() 775 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format() 780 prop->val.len, addr_cells, size_cells); in check_reg_format() 1209 if (node->parent->size_cells == -1) in check_avoid_default_addr_size() 1260 if (node->addr_cells < 0 || node->size_cells < 0) in check_unique_unit_address_common() 1831 if (node->parent->size_cells != 0) in check_graph_reg() [all …]
|
A D | dtc.h | 230 int addr_cells, size_cells; member
|
Completed in 32 milliseconds