Home
last modified time | relevance | path

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

/Linux-v5.4/scripts/dtc/libfdt/
Dfdt_sw.c223 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node()
238 *en = cpu_to_fdt32(FDT_END_NODE); in fdt_end_node()
310 prop->tag = cpu_to_fdt32(FDT_PROP); in fdt_property_placeholder()
311 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder()
312 prop->len = cpu_to_fdt32(len); in fdt_property_placeholder()
343 *end = cpu_to_fdt32(FDT_END); in fdt_finish()
361 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
Dfdt_rw.c184 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_()
214 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in fdt_add_property_()
215 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_()
216 (*prop)->len = cpu_to_fdt32(len); in fdt_add_property_()
292 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop()
350 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen()
354 *endtag = cpu_to_fdt32(FDT_END_NODE); in fdt_add_subnode_namelen()
Dlibfdt.h251 fdth->name = cpu_to_fdt32(val); \
1287 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32()
1437 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32()
1648 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32()
1820 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()
/Linux-v5.4/scripts/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 …]
Dfdtput.c102 *iptr = cpu_to_fdt32(ival); in encode_value()
Ddata.c175 value_32 = cpu_to_fdt32(value); in data_append_integer()
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()
Dlivetree.c984 value_32 = cpu_to_fdt32(m->offset); in add_local_fixup_entry()
/Linux-v5.4/drivers/firmware/efi/libstub/
Dfdt.c182 fdt_val32 = cpu_to_fdt32(*map->map_size); in update_fdt_memmap()
188 fdt_val32 = cpu_to_fdt32(*map->desc_size); in update_fdt_memmap()
194 fdt_val32 = cpu_to_fdt32(*map->desc_ver); in update_fdt_memmap()
/Linux-v5.4/include/linux/
Dlibfdt_env.h15 #define cpu_to_fdt32(x) cpu_to_be32(x) macro
/Linux-v5.4/arch/arm/boot/compressed/
Dlibfdt_env.h18 #define cpu_to_fdt32(x) cpu_to_be32(x) macro
Datags_to_fdt.c188 cpu_to_fdt32(atag->u.mem.start); in atags_to_fdt()
190 cpu_to_fdt32(atag->u.mem.size); in atags_to_fdt()
/Linux-v5.4/arch/powerpc/boot/
Dlibfdt_env.h21 #define cpu_to_fdt32(x) cpu_to_be32(x) macro
/Linux-v5.4/drivers/of/
Dfdt_address.c93 addr[na - 2] = cpu_to_fdt32(a >> 32); in fdt_bus_default_translate()
94 addr[na - 1] = cpu_to_fdt32(a & 0xffffffffu); in fdt_bus_default_translate()