Lines Matching full:img
378 struct vsc_img *img; in vsc_identify_csi_image() local
386 img = (struct vsc_img *)image->data; in vsc_identify_csi_image()
387 if (!img) { in vsc_identify_csi_image()
392 if (le32_to_cpu(img->magic) != VSC_MAGIC_FILE) { in vsc_identify_csi_image()
397 if (le32_to_cpu(img->image_count) != VSC_CSI_IMG_CNT) { in vsc_identify_csi_image()
401 fw_loader->count += le32_to_cpu(img->image_count) - 1; in vsc_identify_csi_image()
404 FIELD_GET(VSC_BOOT_IMG_OPTION_MASK, le32_to_cpu(img->option)); in vsc_identify_csi_image()
407 (img->image_location + le32_to_cpu(img->image_count)); in vsc_identify_csi_image()
429 if (!le32_to_cpu(img->image_location[i])) { in vsc_identify_csi_image()
438 frag->location = le32_to_cpu(img->image_location[i]); in vsc_identify_csi_image()
460 struct vsc_img *img; in vsc_identify_ace_image() local
471 img = (struct vsc_img *)image->data; in vsc_identify_ace_image()
472 if (!img) { in vsc_identify_ace_image()
477 if (le32_to_cpu(img->magic) != VSC_MAGIC_FILE) { in vsc_identify_ace_image()
482 if (le32_to_cpu(img->image_count) != VSC_ACE_IMG_CNT) { in vsc_identify_ace_image()
486 fw_loader->count += le32_to_cpu(img->image_count); in vsc_identify_ace_image()
489 (img->image_location + le32_to_cpu(img->image_count)); in vsc_identify_ace_image()
515 frag->location = le32_to_cpu(img->image_location[i]); in vsc_identify_ace_image()