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.c141 fdt32_t magic; in guess_input_format() local
156 if (fread(&magic, 4, 1, f) != 1) { in guess_input_format()
162 if (fdt32_to_cpu(magic) == FDT_MAGIC) in guess_input_format()
Dflattree.c339 fdt->magic = cpu_to_fdt32(FDT_MAGIC); in make_fdt_header()
814 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
841 magic = fdt32_to_cpu(magic_buf); in dt_from_blob()
842 if (magic != FDT_MAGIC) in dt_from_blob()
862 fdt->magic = cpu_to_fdt32(magic); in dt_from_blob()
865 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize); in dt_from_blob()
866 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.h58 fdt32_t magic; /* magic word FDT_MAGIC */ member
Dlibfdt.h217 #define fdt_magic(fdt) (fdt_get_header(fdt, magic))
234 __fdt_set_hdr(magic);