Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 5 of 5) 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/
Dflattree.c348 fdt->magic = cpu_to_fdt32(FDT_MAGIC); in make_fdt_header()
807 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
823 rc = fread(&magic, sizeof(magic), 1, f); in dt_from_blob()
834 magic = fdt32_to_cpu(magic); in dt_from_blob()
835 if (magic != FDT_MAGIC) in dt_from_blob()
855 fdt->magic = cpu_to_fdt32(magic); in dt_from_blob()
858 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize); in dt_from_blob()
859 p = blob + sizeof(magic) + sizeof(totalsize); in dt_from_blob()
Dfdtdump.c67 printf("// magic:\t\t0x%x\n", fdt32_to_cpu(bph->magic)); in dump_blob()
/scripts/dtc/libfdt/
Dfdt.h7 uint32_t magic; /* magic word FDT_MAGIC */ member
Dlibfdt.h145 #define fdt_magic(fdt) (fdt_get_header(fdt, magic))
162 __fdt_set_hdr(magic);