Searched refs:cpu_to_fdt32 (Results 1 – 18 of 18) sorted by relevance
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()
64 expected_32[i] = cpu_to_fdt32(expected_8[i]); in main()69 expected_32[5] = cpu_to_fdt32(TEST_VALUE_1); in main()
102 uint32_t x = cpu_to_fdt32(val); \111 uint32_t x = cpu_to_fdt32(val); \
48 subnodes = cpu_to_fdt32(*prop); in test_node()
51 properties = cpu_to_fdt32(*prop); in test_node()
48 *((uint32_t *)p) = cpu_to_fdt32(FDT_NOP); in nopulate_struct()
72 uint32_t val = cpu_to_fdt32(propval); \
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()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()
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()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()
231 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()
94 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() function
101 *p = cpu_to_fdt32(FDT_NOP); in _fdt_nop_region()
251 adj_val = cpu_to_fdt32(adj_val); in overlay_update_local_node_references()384 phandle = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
348 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 …]
188 value_32 = cpu_to_fdt32(value); in data_append_integer()
113 *iptr = cpu_to_fdt32(ival); in encode_value()
539 cpu_to_fdt32(0xffffffff); in fixup_phandle_references()544 *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references()
953 value_32 = cpu_to_fdt32(m->offset); in add_local_fixup_entry()