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