Home
last modified time | relevance | path

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

/u-boot/scripts/dtc/libfdt/
A Dfdt_addresses.c60 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()
/u-boot/arch/arm/mach-omap2/
A Dfdt-common.c54 int size_cells = fdt_size_cells(fdt, 0); in fdt_pack_reg() local
63 if (size_cells == 2) in fdt_pack_reg()
67 p += 4 * size_cells; in fdt_pack_reg()
79 fdt32_t size_cells = cpu_to_fdt32(fdt_size_cells(fdt, 0)); in ft_hs_fixup_dram() local
105 fdt_setprop(fdt, offs, "#size-cells", &size_cells, sizeof(size_cells)); in ft_hs_fixup_dram()
/u-boot/lib/
A Dfdtdec_test.c197 uint32_t size_cells) in check_fdt_carveout() argument
215 &expected.end, address_cells, size_cells); in check_fdt_carveout()
232 uint32_t size_cells) in make_fdt_carveout() argument
235 fdt32_t ns = cpu_to_fdt32(size_cells); in make_fdt_carveout()
253 err = make_fdt_carveout_device(fdt, address_cells, size_cells); in make_fdt_carveout()
257 address_cells, size_cells); in make_fdt_carveout()
A Dfdtdec.c1656 int addr_cells, size_cells; in fdtdec_decode_ram_size() local
1680 size_cells = fdt_size_cells(blob, node); in fdtdec_decode_ram_size()
1714 end = cell + len / 4 - addr_cells - size_cells; in fdtdec_decode_ram_size()
1729 if (size_cells == 2) in fdtdec_decode_ram_size()
/u-boot/scripts/dtc/
A Dchecks.c690 node->size_cells = -1; in fixup_addr_size_cells()
698 node->size_cells = propval_cell(prop); in fixup_addr_size_cells()
706 (((n)->size_cells == -1) ? 1 : (n)->size_cells)
712 int addr_cells, size_cells, entrylen; in check_reg_format() local
727 size_cells = node_size_cells(node->parent); in check_reg_format()
728 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
733 prop->val.len, addr_cells, size_cells); in check_reg_format()
1008 if (node->parent->size_cells == -1) in check_avoid_default_addr_size()
1043 if (node->addr_cells < 0 || node->size_cells < 0) in check_unique_unit_address()
1489 if (node->parent->size_cells != 0) in check_graph_reg()
[all …]
A Ddtc.h167 int addr_cells, size_cells; member
/u-boot/drivers/pci/
A Dpci-uclass.c907 int pci_addr_cells, addr_cells, size_cells; in decode_regions() local
923 size_cells = ofnode_read_simple_size_cells(node); in decode_regions()
927 cells_per_record = pci_addr_cells + addr_cells + size_cells; in decode_regions()
952 size = fdtdec_get_number(prop, size_cells); in decode_regions()
953 prop += size_cells; in decode_regions()
1228 int pci_addr_cells, addr_cells, size_cells; in pci_get_dma_regions() local
1243 size_cells = ofnode_read_simple_size_cells(dev_ofnode(dev)); in pci_get_dma_regions()
1247 cells_per_record = pci_addr_cells + addr_cells + size_cells; in pci_get_dma_regions()
1256 memp->size = fdtdec_get_number(prop, size_cells); in pci_get_dma_regions()
1257 prop += size_cells; in pci_get_dma_regions()
/u-boot/common/
A Dfdt_support.c390 int size_cells = fdt_size_cells(fdt, 0); in fdt_pack_reg() local
400 if (size_cells == 2) in fdt_pack_reg()
404 p += 4 * size_cells; in fdt_pack_reg()

Completed in 20 milliseconds