Lines Matching refs:cpu_to_fdt32
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()
420 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob()
868 fdt->magic = cpu_to_fdt32(magic); in dt_from_blob()
869 fdt->totalsize = cpu_to_fdt32(totalsize); in dt_from_blob()