/external/u-boot/board/freescale/ls1012aqds/ |
D | ls1012aqds.c | 189 prop_val.busid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 191 prop_val.phyid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 193 prop_val.mux_val = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 195 prop_val.phy_mask = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 201 prop_val.busid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 203 prop_val.phyid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 205 prop_val.mux_val = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 207 prop_val.phy_mask = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 216 prop_val.busid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() 218 prop_val.phyid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe() [all …]
|
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
D | fdt.c | 242 tmp[0][0] = cpu_to_fdt32(0x0); in _fdt_fixup_msi_node() 243 tmp[0][1] = cpu_to_fdt32(irq_0); in _fdt_fixup_msi_node() 244 tmp[0][2] = cpu_to_fdt32(0x4); in _fdt_fixup_msi_node() 247 tmp[1][0] = cpu_to_fdt32(0x0); in _fdt_fixup_msi_node() 248 tmp[1][1] = cpu_to_fdt32(irq_1); in _fdt_fixup_msi_node() 249 tmp[1][2] = cpu_to_fdt32(0x4); in _fdt_fixup_msi_node() 250 tmp[2][0] = cpu_to_fdt32(0x0); in _fdt_fixup_msi_node() 251 tmp[2][1] = cpu_to_fdt32(irq_1 + 1); in _fdt_fixup_msi_node() 252 tmp[2][2] = cpu_to_fdt32(0x4); in _fdt_fixup_msi_node() 253 tmp[3][0] = cpu_to_fdt32(0x0); in _fdt_fixup_msi_node() [all …]
|
/external/dtc/tests/ |
D | char_literal.c | 36 expected_cells[0] = cpu_to_fdt32((unsigned char)TEST_CHAR1); in main() 37 expected_cells[1] = cpu_to_fdt32((unsigned char)TEST_CHAR2); in main() 38 expected_cells[2] = cpu_to_fdt32((unsigned char)TEST_CHAR3); in main() 39 expected_cells[3] = cpu_to_fdt32((unsigned char)TEST_CHAR4); in main() 40 expected_cells[4] = cpu_to_fdt32((unsigned char)TEST_CHAR5); in main()
|
D | sized_cells.c | 64 expected_32[i] = cpu_to_fdt32(expected_8[i]); in main() 69 expected_32[5] = cpu_to_fdt32(TEST_VALUE_1); in main()
|
D | tests.h | 102 fdt32_t x = cpu_to_fdt32(val); \ 111 fdt32_t x = cpu_to_fdt32(val); \
|
/external/dtc/libfdt/ |
D | fdt_sw.c | 181 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node() 196 *en = cpu_to_fdt32(FDT_END_NODE); in fdt_end_node() 238 prop->tag = cpu_to_fdt32(FDT_PROP); in fdt_property_placeholder() 239 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder() 240 prop->len = cpu_to_fdt32(len); in fdt_property_placeholder() 271 *end = cpu_to_fdt32(FDT_END); in fdt_finish() 289 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
|
D | fdt_rw.c | 217 (*prop)->len = cpu_to_fdt32(len); in _fdt_resize_property() 243 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in _fdt_add_property() 244 (*prop)->nameoff = cpu_to_fdt32(namestroff); in _fdt_add_property() 245 (*prop)->len = cpu_to_fdt32(len); in _fdt_add_property() 307 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop() 365 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen() 369 *endtag = cpu_to_fdt32(FDT_END_NODE); in fdt_add_subnode_namelen()
|
D | libfdt.h | 232 fdth->name = cpu_to_fdt32(val); \ 1193 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() 1305 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() 1482 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() 1654 fdt32_t tmp = cpu_to_fdt32(val); in fdt_appendprop_u32()
|
D | fdt_wip.c | 101 *p = cpu_to_fdt32(FDT_NOP); in _fdt_nop_region()
|
/external/u-boot/scripts/dtc/libfdt/ |
D | fdt_sw.c | 181 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node() 196 *en = cpu_to_fdt32(FDT_END_NODE); in fdt_end_node() 238 prop->tag = cpu_to_fdt32(FDT_PROP); in fdt_property_placeholder() 239 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder() 240 prop->len = cpu_to_fdt32(len); in fdt_property_placeholder() 271 *end = cpu_to_fdt32(FDT_END); in fdt_finish() 289 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
|
D | fdt_rw.c | 217 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_() 243 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in fdt_add_property_() 244 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_() 245 (*prop)->len = cpu_to_fdt32(len); in fdt_add_property_() 321 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop() 379 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen() 383 *endtag = cpu_to_fdt32(FDT_END_NODE); in fdt_add_subnode_namelen()
|
D | libfdt.h | 232 fdth->name = cpu_to_fdt32(val); \ 1196 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() 1308 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() 1516 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() 1688 fdt32_t tmp = cpu_to_fdt32(val); in fdt_appendprop_u32()
|
D | fdt_wip.c | 101 *p = cpu_to_fdt32(FDT_NOP); in fdt_nop_region_()
|
/external/u-boot/arch/arm/mach-omap2/ |
D | fdt-common.c | 59 *(fdt32_t *)p = cpu_to_fdt32(address); in fdt_pack_reg() 65 *(fdt32_t *)p = cpu_to_fdt32(size); in fdt_pack_reg() 77 fdt32_t address_cells = cpu_to_fdt32(fdt_address_cells(fdt, 0)); in ft_hs_fixup_dram() 78 fdt32_t size_cells = cpu_to_fdt32(fdt_size_cells(fdt, 0)); in ft_hs_fixup_dram()
|
/external/u-boot/board/gateworks/gw_ventana/ |
D | gw_ventana.c | 902 reg[0] = cpu_to_fdt32(PCI_ID(dev)); in fdt_add_pci_node() 998 imap_new[(i*32)+(0*8)+0] = cpu_to_fdt32(addr); in fdt_fixup_gw16082() 999 imap_new[(i*32)+(1*8)+0] = cpu_to_fdt32(addr); in fdt_fixup_gw16082() 1000 imap_new[(i*32)+(2*8)+0] = cpu_to_fdt32(addr); in fdt_fixup_gw16082() 1001 imap_new[(i*32)+(3*8)+0] = cpu_to_fdt32(addr); in fdt_fixup_gw16082() 1003 imap_new[(i*32)+(0*8)+3] = cpu_to_fdt32(1); in fdt_fixup_gw16082() 1004 imap_new[(i*32)+(1*8)+3] = cpu_to_fdt32(2); in fdt_fixup_gw16082() 1005 imap_new[(i*32)+(2*8)+3] = cpu_to_fdt32(3); in fdt_fixup_gw16082() 1006 imap_new[(i*32)+(3*8)+3] = cpu_to_fdt32(4); in fdt_fixup_gw16082() 1015 reg[0] = cpu_to_fdt32(0xfff00); in fdt_fixup_gw16082() [all …]
|
/external/u-boot/board/freescale/ls1046aqds/ |
D | eth.c | 179 f_link.phy_id = cpu_to_fdt32(port); in board_ft_fman_fixup_port() 180 f_link.duplex = cpu_to_fdt32(1); in board_ft_fman_fixup_port() 181 f_link.link_speed = cpu_to_fdt32(1000); in board_ft_fman_fixup_port() 212 f_link.phy_id = cpu_to_fdt32(port); in board_ft_fman_fixup_port() 213 f_link.duplex = cpu_to_fdt32(1); in board_ft_fman_fixup_port() 214 f_link.link_speed = cpu_to_fdt32(10000); in board_ft_fman_fixup_port()
|
/external/dtc/ |
D | flattree.c | 339 fdt->magic = cpu_to_fdt32(FDT_MAGIC); in make_fdt_header() 340 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header() 341 fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); in make_fdt_header() 346 fdt->off_mem_rsvmap = cpu_to_fdt32(reserve_off); in make_fdt_header() 347 fdt->off_dt_struct = cpu_to_fdt32(reserve_off + reservesize); in make_fdt_header() 348 fdt->off_dt_strings = cpu_to_fdt32(reserve_off + reservesize in make_fdt_header() 350 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header() 353 fdt->boot_cpuid_phys = cpu_to_fdt32(boot_cpuid_phys); in make_fdt_header() 355 fdt->size_dt_strings = cpu_to_fdt32(strsize); in make_fdt_header() 357 fdt->size_dt_struct = cpu_to_fdt32(dtsize); in make_fdt_header() [all …]
|
/external/u-boot/scripts/dtc/ |
D | flattree.c | 339 fdt->magic = cpu_to_fdt32(FDT_MAGIC); in make_fdt_header() 340 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header() 341 fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); in make_fdt_header() 346 fdt->off_mem_rsvmap = cpu_to_fdt32(reserve_off); in make_fdt_header() 347 fdt->off_dt_struct = cpu_to_fdt32(reserve_off + reservesize); in make_fdt_header() 348 fdt->off_dt_strings = cpu_to_fdt32(reserve_off + reservesize in make_fdt_header() 350 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header() 353 fdt->boot_cpuid_phys = cpu_to_fdt32(boot_cpuid_phys); in make_fdt_header() 355 fdt->size_dt_strings = cpu_to_fdt32(strsize); in make_fdt_header() 357 fdt->size_dt_struct = cpu_to_fdt32(dtsize); in make_fdt_header() [all …]
|
/external/u-boot/board/freescale/ls1043aqds/ |
D | eth.c | 178 f_link.phy_id = cpu_to_fdt32(port); in board_ft_fman_fixup_port() 179 f_link.duplex = cpu_to_fdt32(1); in board_ft_fman_fixup_port() 180 f_link.link_speed = cpu_to_fdt32(1000); in board_ft_fman_fixup_port() 243 f_link.phy_id = cpu_to_fdt32(port); in board_ft_fman_fixup_port() 244 f_link.duplex = cpu_to_fdt32(1); in board_ft_fman_fixup_port() 245 f_link.link_speed = cpu_to_fdt32(10000); in board_ft_fman_fixup_port()
|
/external/u-boot/arch/arm/mach-omap2/omap5/ |
D | fdt.c | 71 temp[i] = cpu_to_fdt32(hs_irq_skip[i]); in ft_hs_fixup_crossbar() 114 temp[0] = cpu_to_fdt32(0); in ft_hs_fixup_sram() 116 temp[1] = cpu_to_fdt32(max(TI_OMAP5_SECURE_BOOT_RESV_SRAM_SZ, in ft_hs_fixup_sram()
|
/external/u-boot/drivers/pci/ |
D | pcie_layerscape_fixup.c | 165 iommu_map[0] = cpu_to_fdt32(devid); in fdt_pcie_set_iommu_map_entry() 167 iommu_map[2] = cpu_to_fdt32(streamid); in fdt_pcie_set_iommu_map_entry() 168 iommu_map[3] = cpu_to_fdt32(1); in fdt_pcie_set_iommu_map_entry()
|
/external/u-boot/common/ |
D | fdt_support.c | 324 fdt32_t tmp = cpu_to_fdt32(val); in do_fixup_by_path_u32() 353 fdt32_t tmp = cpu_to_fdt32(val); in do_fixup_by_prop_u32() 379 fdt32_t tmp = cpu_to_fdt32(val); in do_fixup_by_compat_u32() 399 *(fdt32_t *)p = cpu_to_fdt32(address[i]); in fdt_pack_reg() 405 *(fdt32_t *)p = cpu_to_fdt32(size[i]); in fdt_pack_reg() 847 cell.r0 = cpu_to_fdt32(part->offset); in fdt_node_set_part_info() 848 cell.r1 = cpu_to_fdt32(part->size); in fdt_node_set_part_info() 1041 addr[na - 2] = cpu_to_fdt32(a >> 32); in of_bus_default_translate() 1042 addr[na - 1] = cpu_to_fdt32(a & 0xffffffffu); in of_bus_default_translate() 1660 cells[i++] = cpu_to_fdt32(base_address >> 32); in fdt_setup_simplefb_node() [all …]
|
/external/u-boot/include/linux/ |
D | libfdt_env.h | 21 #define cpu_to_fdt32(x) cpu_to_be32(x) macro
|
/external/u-boot/tools/libfdt/ |
D | fdt_rw.c | 31 new_prop->nameoff = cpu_to_fdt32(ret); in fdt_remove_unused_strings()
|
/external/u-boot/board/freescale/common/ |
D | fman.c | 54 ph = cpu_to_fdt32(ph); in fdt_set_phy_handle()
|