Home
last modified time | relevance | path

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

/external/dtc/tests/
Dchar_literal.c36 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()
Dsized_cells.c64 expected_32[i] = cpu_to_fdt32(expected_8[i]); in main()
69 expected_32[5] = cpu_to_fdt32(TEST_VALUE_1); in main()
Dtests.h102 uint32_t x = cpu_to_fdt32(val); \
111 uint32_t x = cpu_to_fdt32(val); \
Dsubnode_iterate.c48 subnodes = cpu_to_fdt32(*prop); in test_node()
Dproperty_iterate.c51 properties = cpu_to_fdt32(*prop); in test_node()
Dnopulate.c48 *((uint32_t *)p) = cpu_to_fdt32(FDT_NOP); in nopulate_struct()
Dnode_offset_by_prop_value.c72 uint32_t val = cpu_to_fdt32(propval); \
/external/dtc/libfdt/
Dfdt_sw.c181 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()
239 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property()
240 prop->len = cpu_to_fdt32(len); in fdt_property()
259 *end = cpu_to_fdt32(FDT_END); in fdt_finish()
277 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
Dfdt_rw.c217 (*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()
306 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop()
364 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen()
368 *endtag = cpu_to_fdt32(FDT_END_NODE); in fdt_add_subnode_namelen()
Dlibfdt.h231 fdth->name = cpu_to_fdt32(val); \
1176 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32()
1288 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32()
1449 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32()
1591 fdt32_t tmp = cpu_to_fdt32(val); in fdt_appendprop_u32()
Dlibfdt_env.h94 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() function
Dfdt_wip.c101 *p = cpu_to_fdt32(FDT_NOP); in _fdt_nop_region()
Dfdt_overlay.c251 adj_val = cpu_to_fdt32(adj_val); in overlay_update_local_node_references()
384 phandle = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
/external/dtc/
Dflattree.c348 fdt->magic = cpu_to_fdt32(FDT_MAGIC); in make_fdt_header()
349 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header()
350 fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); in make_fdt_header()
355 fdt->off_mem_rsvmap = cpu_to_fdt32(reserve_off); in make_fdt_header()
356 fdt->off_dt_struct = cpu_to_fdt32(reserve_off + reservesize); in make_fdt_header()
357 fdt->off_dt_strings = cpu_to_fdt32(reserve_off + reservesize in make_fdt_header()
359 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
362 fdt->boot_cpuid_phys = cpu_to_fdt32(boot_cpuid_phys); in make_fdt_header()
364 fdt->size_dt_strings = cpu_to_fdt32(strsize); in make_fdt_header()
366 fdt->size_dt_struct = cpu_to_fdt32(dtsize); in make_fdt_header()
[all …]
Ddata.c188 value_32 = cpu_to_fdt32(value); in data_append_integer()
Dfdtput.c113 *iptr = cpu_to_fdt32(ival); in encode_value()
Dchecks.c539 cpu_to_fdt32(0xffffffff); in fixup_phandle_references()
544 *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references()
Dlivetree.c953 value_32 = cpu_to_fdt32(m->offset); in add_local_fixup_entry()