Searched refs:magic (Results 1 – 7 of 7) sorted by relevance
/scripts/ |
D | pnmtologo.c | 129 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/ |
D | dtc.c | 133 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()
|
D | flattree.c | 324 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()
|
D | dtx_diff | 44 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
|
D | fdtdump.c | 68 printf("// magic:\t\t0x%x\n", fdt32_to_cpu(bph->magic)); in dump_blob()
|
/scripts/dtc/libfdt/ |
D | fdt.h | 13 fdt32_t magic; /* magic word FDT_MAGIC */ member
|
D | libfdt.h | 236 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) 253 fdt_set_hdr_(magic);
|