Lines Matching refs:image

98 static void	emlxs_dump_image_header(emlxs_hba_t *hba, PIMAGE_HDR image);
150 static void emlxs_verify_image(emlxs_hba_t *hba, emlxs_fw_image_t *image);
192 /* We need to swap the image buffer before we start */
199 /* Perform a 32 bit swap of the image */
218 /* Validate image */
223 /* Verify image */
226 /* Get image type */
235 /* Check for absolute image */
454 /* Copy remaining image into payload */
476 "%s: Unable to download image. status=%x",
561 /* Verify image size */
745 fw->size = *wptr++; /* image size */
824 /* Check if this is a UFI image */
830 /* Check if this is a UFI plus image */
832 /* Check if this is a UFI plus image */
890 /* Check if this is a standard BE2 image */
893 "Invalid image provided.");
926 "Invalid image size (%d != %d)",
1093 "Unknown image type found. type=%x",
1146 /* Make sure image will fit in block specified */
1149 "%s: Image too large for block. image=%x block=%x",
1211 "%s: be=%x%s type=%x block=%x image=%x offset=%x crc=%x "
1262 /* Check if this is a standard BE3 image */
1265 "Invalid image provided.");
1288 "Invalid image size (%d != %d)",
1312 "No flash image found.");
1390 /* Verify image checksum */
1482 "Unknown image type found. type=%x",
1513 /* Make sure image will fit in block specified */
1516 "%s: Image too large for block. image=%x block=%x",
1578 "%s: be=%x%s type=%x block=%x image=%x offset=%x crc=%x "
1630 "Invalid image provided. Non-UFI format.");
1646 "Invalid image provided. Unknown BE version. (%x)",
1848 "OBJ File: Unable to download image. status=%x "
1869 "OBJ File: Unable to download image. "
2044 "Invalid image provided.");
2150 /* We need to swap the image buffer before we start */
2157 /* Perform a 32 bit swap of the image */
2174 "Invalid image length: 0x%x > 128", len);
2188 /* Check the image vendor id */
2192 "Invalid image id: 0x%x", id);
2371 emlxs_dump_image_header(emlxs_hba_t *hba, PIMAGE_HDR image)
2377 "Img Header: BlockSize = 0x%x", image->BlockSize);
2379 "Img Header: PROG_ID Type = 0x%x", image->Id.Type);
2381 "Img Header: PROG_ID Id = 0x%x", image->Id.Id);
2383 "Img Header: PROG_ID Ver = 0x%x", image->Id.Ver);
2385 "Img Header: PROG_ID Rev = 0x%x", image->Id.Rev);
2387 "Img Header: PROG_ID revcomp = 0x%x", image->Id.un.revcomp);
2389 "Img Header: Flags = 0x%x", image->Flags);
2391 "Img Header: EntryAdr = 0x%x", image->EntryAdr);
2393 "Img Header: InitAdr = 0x%x", image->InitAdr);
2395 "Img Header: ExitAdr = 0x%x", image->ExitAdr);
2397 "Img Header: ImageBase = 0x%x", image->ImageBase);
2399 "Img Header: ImageSize = 0x%x", image->ImageSize);
2401 "Img Header: ZinitSize = 0x%x", image->ZinitSize);
2403 "Img Header: RelocSize = 0x%x", image->RelocSize);
2405 "Img Header: HdrCks = 0x%x", image->HdrCks);
4565 emlxs_fw_image_t *image)
4588 /* Get image type */
4602 "Invalid image header length: 0x%x < 0x%x",
4628 image->awc.offset =
4631 image->awc.version = AifHdr.AVersion;
4632 image->awc.revcomp = 0;
4640 &image->awc, id, type, "AWC file"))) {
4647 image->bwc.offset =
4650 image->bwc.version = AifHdr.AVersion;
4651 image->bwc.revcomp = 0;
4659 &image->bwc, id, type, "BWC file"))) {
4666 image->dwc.offset =
4669 image->dwc.version = AifHdr.AVersion;
4670 image->dwc.revcomp = 0;
4678 &image->dwc, id, type, "DWC file"))) {
4702 image->prog[type].offset =
4708 image->prog[type].version =
4714 image->prog[type].revcomp =
4719 &image->prog[type], ImageHdr.Id.Id,
4753 "Invalid image header length: 0x%x < 0x%x", Size,
4790 image->dwc.offset = 0;
4791 image->dwc.version = AifHdr.AVersion;
4792 image->dwc.revcomp = 0;
4798 if ((rval = emlxs_validate_version(hba, &image->dwc, id, type,
4817 image->prog[type].offset = NextImage;
4820 image->prog[type].version =
4826 image->prog[type].revcomp = ImageHdr.Id.un.revcomp;
4830 &image->prog[type], ImageHdr.Id.Id, type,
4840 /* Precheck image size */
4843 "Invalid image header length: 0x%x < 0x%x", Size,
4862 /* Validate image length */
4865 "Invalid image length: 0x%x != 0x%x", Size,
4885 image->prog[type].offset = 0;
4888 image->prog[type].version =
4894 image->prog[type].revcomp = ImageHdr.Id.un.revcomp;
4897 if ((rval = emlxs_validate_version(hba, &image->prog[type],
4905 * image file is < version 3.8
4908 ver = (image->prog[SLI2_OVERLAY].version &
5875 /* Update the parms with the boot image id */
5888 /* Scan load list for a boot image */
5892 * Update the parms with boot image id