Lines Matching defs:img
372 struct vsc_img *img;
380 img = (struct vsc_img *)image->data;
381 if (!img) {
386 if (le32_to_cpu(img->magic) != VSC_MAGIC_FILE) {
391 if (le32_to_cpu(img->image_count) != VSC_CSI_IMG_CNT) {
395 fw_loader->count += le32_to_cpu(img->image_count) - 1;
398 FIELD_GET(VSC_BOOT_IMG_OPTION_MASK, le32_to_cpu(img->option));
401 (img->image_location + le32_to_cpu(img->image_count));
423 if (!le32_to_cpu(img->image_location[i])) {
432 frag->location = le32_to_cpu(img->image_location[i]);
454 struct vsc_img *img;
465 img = (struct vsc_img *)image->data;
466 if (!img) {
471 if (le32_to_cpu(img->magic) != VSC_MAGIC_FILE) {
476 if (le32_to_cpu(img->image_count) != VSC_ACE_IMG_CNT) {
480 fw_loader->count += le32_to_cpu(img->image_count);
483 (img->image_location + le32_to_cpu(img->image_count));
509 frag->location = le32_to_cpu(img->image_location[i]);