Searched refs:size_cells (Results 1 – 8 of 8) sorted by relevance
/linux/arch/arm/boot/compressed/ |
H A D | fdt_check_mem_start.c | 66 uint32_t addr_cells, size_cells, usable_base, base; in fdt_check_mem_start() local 81 size_cells = get_cells(fdt, "#size-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() 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()
|
/linux/scripts/dtc/libfdt/ |
H 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/drivers/net/ethernet/mellanox/mlxsw/ |
H 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() 414 hdroom->int_buf.size_cells = reserve_cells; in mlxsw_sp_hdroom_bufs_reset_sizes() 416 hdroom->int_buf.size_cells = 0; in mlxsw_sp_hdroom_bufs_reset_sizes() 440 buf->size_cells = thres_cells + delay_cells; in mlxsw_sp_hdroom_bufs_reset_sizes() 445 buf->size_cells = max(buf->set_size_cells, buf->thres_cells); in mlxsw_sp_hdroom_bufs_reset_sizes() 472 mlxsw_sp_hdroom_buf_pack(pbmc_pl, i, buf->size_cells, buf->thres_cells, buf->lossy); in mlxsw_sp_hdroom_configure_buffers() 519 mlxsw_reg_sbib_pack(sbib_pl, mlxsw_sp_port->local_port, hdroom->int_buf.size_cells); in mlxsw_sp_hdroom_configure_int_buf() 535 taken_headroom_cells += hdroom->bufs.buf[i].size_cells; in mlxsw_sp_hdroom_bufs_fit() 560 if (hdroom->bufs.buf[i].size_cells) in __mlxsw_sp_hdroom_configure() [all …]
|
H 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()
|
H A D | spectrum.h | 543 u32 size_cells; member 569 u32 size_cells; member
|
/linux/arch/powerpc/mm/nohash/ |
H 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/scripts/dtc/ |
H A D | checks.c | 738 node->size_cells = -1; in fixup_addr_size_cells() 746 node->size_cells = propval_cell(prop); in fixup_addr_size_cells() 754 (((n)->size_cells == -1) ? 1 : (n)->size_cells) 760 int addr_cells, size_cells, entrylen; in check_reg_format() local 775 size_cells = node_size_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() 1211 if (node->parent->size_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 …]
|
H A D | dtc.h | 230 int addr_cells, size_cells; member
|