Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 7 of 7) sorted by relevance

/scripts/
Dpnmtologo.c129 int magic; in read_image() local
138 magic = fgetc(fp); in read_image()
139 if (magic != 'P') in read_image()
141 magic = fgetc(fp); in read_image()
142 switch (magic) { in read_image()
173 switch (magic) { in read_image()
/scripts/dtc/
Ddtc.c133 fdt32_t magic; in guess_input_format() local
148 if (fread(&magic, 4, 1, f) != 1) { in guess_input_format()
154 if (fdt32_to_cpu(magic) == FDT_MAGIC) in guess_input_format()
Dflattree.c324 fdt->magic = cpu_to_fdt32(FDT_MAGIC); in make_fdt_header()
799 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
826 magic = fdt32_to_cpu(magic_buf); in dt_from_blob()
827 if (magic != FDT_MAGIC) in dt_from_blob()
847 fdt->magic = cpu_to_fdt32(magic); in dt_from_blob()
850 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize); in dt_from_blob()
851 p = blob + sizeof(magic) + sizeof(totalsize); in dt_from_blob()
Ddtx_diff44 If DTx contains the binary blob magic value in the first four bytes,
101 magic=`hexdump -n 4 -e '/1 "%02x"' ${dtx}`
102 if [ "${magic}" = "d00dfeed" ] ; then
Dfdtdump.c68 printf("// magic:\t\t0x%x\n", fdt32_to_cpu(bph->magic)); in dump_blob()
/scripts/dtc/libfdt/
Dfdt.h13 fdt32_t magic; /* magic word FDT_MAGIC */ member
Dlibfdt.h236 #define fdt_magic(fdt) (fdt_get_header(fdt, magic))
253 fdt_set_hdr_(magic);