Lines Matching refs:imx_hdr
111 static uint32_t detect_imximage_version(struct imx_header *imx_hdr) in detect_imximage_version() argument
113 imx_header_v1_t *hdr_v1 = &imx_hdr->header.hdr_v1; in detect_imximage_version()
114 imx_header_v2_t *hdr_v2 = &imx_hdr->header.hdr_v2; in detect_imximage_version()
451 static void print_hdr_v1(struct imx_header *imx_hdr) in print_hdr_v1() argument
453 imx_header_v1_t *hdr_v1 = &imx_hdr->header.hdr_v1; in print_hdr_v1()
468 ver = detect_imximage_version(imx_hdr); in print_hdr_v1()
479 static void print_hdr_v2(struct imx_header *imx_hdr) in print_hdr_v2() argument
481 imx_header_v2_t *hdr_v2 = &imx_hdr->header.hdr_v2; in print_hdr_v2()
498 version = detect_imximage_version(imx_hdr); in print_hdr_v2()
799 struct imx_header *imx_hdr = (struct imx_header *) ptr; in imximage_verify_header() local
801 if (detect_imximage_version(imx_hdr) == IMXIMAGE_VER_INVALID) in imximage_verify_header()
809 struct imx_header *imx_hdr = (struct imx_header *) ptr; in imximage_print_header() local
810 uint32_t version = detect_imximage_version(imx_hdr); in imximage_print_header()
814 print_hdr_v1(imx_hdr); in imximage_print_header()
817 print_hdr_v2(imx_hdr); in imximage_print_header()