Searched refs:cpu_to_fdt32 (Results 1 – 21 of 21) sorted by relevance
23 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()
89 fdt32_t x = cpu_to_fdt32(val); \98 fdt32_t x = cpu_to_fdt32(val); \114 fdt32_t x = cpu_to_fdt32(val); \
51 expected_32[i] = cpu_to_fdt32(expected_8[i]); in main()56 expected_32[5] = cpu_to_fdt32(TEST_VALUE_1); in main()
59 fdt32_t val = cpu_to_fdt32(propval); \
35 *((fdt32_t *)p) = cpu_to_fdt32(FDT_NOP); in nopulate_struct()
73 val = cpu_to_fdt32(val); in mkfile_u32()
209 val = cpu_to_fdt32(addr >> (32 * (--cells))); in check_getprop_addrrange()215 val = cpu_to_fdt32(size >> (32 * (--cells))); in check_getprop_addrrange()
228 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()
198 (*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()
255 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()
56 *p = cpu_to_fdt32(FDT_NOP); in fdt_nop_region_()
51 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() function
267 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()
324 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 …]
175 value_32 = cpu_to_fdt32(value); in data_append_integer()
99 *iptr = cpu_to_fdt32(ival); in encode_value()
983 value_32 = cpu_to_fdt32(m->offset); in add_local_fixup_entry()
600 cpu_to_fdt32(0xffffffff); in fixup_phandle_references()605 *((fdt32_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references()
235 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()
209 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()
174 *(uint32_t *)value = cpu_to_fdt32(*(uint32_t *)value); in fdtw_write_inplace_cells()