Home
last modified time | relevance | path

Searched refs:cpu_to_fdt32 (Results 1 – 21 of 21) sorted by relevance

/external/dtc/tests/
Dchar_literal.c23 expected_cells[0] = cpu_to_fdt32((unsigned char)TEST_CHAR1); in main()
24 expected_cells[1] = cpu_to_fdt32((unsigned char)TEST_CHAR2); in main()
25 expected_cells[2] = cpu_to_fdt32((unsigned char)TEST_CHAR3); in main()
26 expected_cells[3] = cpu_to_fdt32((unsigned char)TEST_CHAR4); in main()
27 expected_cells[4] = cpu_to_fdt32((unsigned char)TEST_CHAR5); in main()
Dtests.h89 fdt32_t x = cpu_to_fdt32(val); \
98 fdt32_t x = cpu_to_fdt32(val); \
114 fdt32_t x = cpu_to_fdt32(val); \
Dsized_cells.c51 expected_32[i] = cpu_to_fdt32(expected_8[i]); in main()
56 expected_32[5] = cpu_to_fdt32(TEST_VALUE_1); in main()
Dnode_offset_by_prop_value.c59 fdt32_t val = cpu_to_fdt32(propval); \
Dnopulate.c35 *((fdt32_t *)p) = cpu_to_fdt32(FDT_NOP); in nopulate_struct()
Dfs_tree1.c73 val = cpu_to_fdt32(val); in mkfile_u32()
Dtestutils.c209 val = cpu_to_fdt32(addr >> (32 * (--cells))); in check_getprop_addrrange()
215 val = cpu_to_fdt32(size >> (32 * (--cells))); in check_getprop_addrrange()
/external/dtc/libfdt/
Dfdt_sw.c228 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node()
243 *en = cpu_to_fdt32(FDT_END_NODE); in fdt_end_node()
315 prop->tag = cpu_to_fdt32(FDT_PROP); in fdt_property_placeholder()
316 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder()
317 prop->len = cpu_to_fdt32(len); in fdt_property_placeholder()
348 *end = cpu_to_fdt32(FDT_END); in fdt_finish()
366 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
Dfdt_rw.c198 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_()
229 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in fdt_add_property_()
230 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_()
231 (*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()
Dlibfdt.h255 fdth->name = cpu_to_fdt32(val); \
1292 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32()
1442 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32()
1653 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32()
1825 fdt32_t tmp = cpu_to_fdt32(val); in fdt_appendprop_u32()
Dfdt_wip.c56 *p = cpu_to_fdt32(FDT_NOP); in fdt_nop_region_()
Dlibfdt_env.h51 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() function
Dfdt_overlay.c267 adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); in overlay_update_local_node_references()
401 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
/external/dtc/
Dflattree.c324 fdt->magic = cpu_to_fdt32(FDT_MAGIC); in make_fdt_header()
325 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header()
326 fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); in make_fdt_header()
331 fdt->off_mem_rsvmap = cpu_to_fdt32(reserve_off); in make_fdt_header()
332 fdt->off_dt_struct = cpu_to_fdt32(reserve_off + reservesize); in make_fdt_header()
333 fdt->off_dt_strings = cpu_to_fdt32(reserve_off + reservesize in make_fdt_header()
335 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
338 fdt->boot_cpuid_phys = cpu_to_fdt32(boot_cpuid_phys); in make_fdt_header()
340 fdt->size_dt_strings = cpu_to_fdt32(strsize); in make_fdt_header()
342 fdt->size_dt_struct = cpu_to_fdt32(dtsize); in make_fdt_header()
[all …]
Ddata.c175 value_32 = cpu_to_fdt32(value); in data_append_integer()
Dfdtput.c99 *iptr = cpu_to_fdt32(ival); in encode_value()
Dlivetree.c983 value_32 = cpu_to_fdt32(m->offset); in add_local_fixup_entry()
Dchecks.c600 cpu_to_fdt32(0xffffffff); in fixup_phandle_references()
605 *((fdt32_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references()
/external/arm-trusted-firmware/plat/rpi/rpi4/
Drpi4_bl31_setup.c235 gic_int_prop[0] = cpu_to_fdt32(1); // PPI in rpi4_prepare_dtb()
236 gic_int_prop[1] = cpu_to_fdt32(9); // PPI #9 in rpi4_prepare_dtb()
237 gic_int_prop[2] = cpu_to_fdt32(0x0f04); // all cores, level high in rpi4_prepare_dtb()
/external/arm-trusted-firmware/common/
Dfdt_fixup.c209 addresses[0] = cpu_to_fdt32(HIGH_BITS(base)); in fdt_add_reserved_memory()
210 addresses[1] = cpu_to_fdt32(base & 0xffffffff); in fdt_add_reserved_memory()
211 addresses[2] = cpu_to_fdt32(size & 0xffffffff); in fdt_add_reserved_memory()
425 redist_size_32 = cpu_to_fdt32(nr_cores * gicr_frame_size); in fdt_adjust_gic_redist()
Dfdt_wrappers.c174 *(uint32_t *)value = cpu_to_fdt32(*(uint32_t *)value); in fdtw_write_inplace_cells()