Searched refs:magic (Results 1 – 5 of 5) sorted by relevance
129 int magic; in read_image() local138 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()
348 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() local823 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()
67 printf("// magic:\t\t0x%x\n", fdt32_to_cpu(bph->magic)); in dump_blob()
7 uint32_t magic; /* magic word FDT_MAGIC */ member
145 #define fdt_magic(fdt) (fdt_get_header(fdt, magic))162 __fdt_set_hdr(magic);