Lines Matching refs:frag

411 		struct vsc_img_frag *frag;
428 frag = &fw_loader->frags[csi_image_map[i].frag_index];
430 frag->data = sign->image;
431 frag->size = le32_to_cpu(sign->image_size);
432 frag->location = le32_to_cpu(img->image_location[i]);
433 frag->type = csi_image_map[i].image_type;
491 struct vsc_img_frag *frag, *last_frag;
505 frag = &fw_loader->frags[frag_index];
507 frag->data = sign->image;
508 frag->size = le32_to_cpu(sign->image_size);
509 frag->location = le32_to_cpu(img->image_location[i]);
510 frag->type = ace_image_map[i].image_type;
512 if (!frag->location) {
514 frag->location =
534 struct vsc_img_frag *frag = &fw_loader->frags[VSC_IMG_SKU_CFG_FRAG];
559 frag->data = image->data;
560 frag->size = image->size;
561 frag->type = VSC_IMG_SKU_CFG_TYPE;
562 frag->location = VSC_SKU_CFG_LOCATION;
576 struct vsc_img_frag *frag = &fw_loader->frags[VSC_IMG_BOOTLOADER_FRAG];
596 cmd->data.dl_start.img_type = frag->type;
597 cmd->data.dl_start.img_len = cpu_to_le32(frag->size);
598 cmd->data.dl_start.img_loc = cpu_to_le32(frag->location);
607 p = frag->data;
608 remain = frag->size;
644 struct vsc_img_frag *frag = &fw_loader->frags[i];
646 cmd->data.dl_set.payload[index++] = cpu_to_le32(frag->location);
647 cmd->data.dl_set.payload[index++] = cpu_to_le32(frag->size);
658 struct vsc_img_frag *frag = &fw_loader->frags[i];
664 cmd->data.dl_start.img_type = frag->type;
665 cmd->data.dl_start.img_len = cpu_to_le32(frag->size);
666 cmd->data.dl_start.img_loc = cpu_to_le32(frag->location);
676 p = frag->data;
677 remain = frag->size;