Lines Matching refs:type

27 	.type = IH_TYPE_KERNEL,
144 static int add_content(int type, const char *fname) in add_content() argument
151 cont->type = type; in add_content()
205 int type = IH_TYPE_INVALID; in process_args() local
286 params.type = IH_TYPE_FLATDT; in process_args()
355 type = genimg_get_type_id(optarg); in process_args()
356 if (type < 0) { in process_args()
393 if (params.type == IH_TYPE_FLATDT) { in process_args()
394 params.fit_image_type = type ? type : IH_TYPE_KERNEL; in process_args()
400 } else if (params.lflag || type != IH_TYPE_INVALID) { in process_args()
401 if (type == IH_TYPE_SCRIPT && !params.datafile) in process_args()
403 params.type = type; in process_args()
485 tparams = imagetool_get_type(params.type); in main()
488 params.cmdname, genimg_get_type_name(params.type)); in main()
609 if (!params.skipcpy && params.type != IH_TYPE_MULTI && params.type != IH_TYPE_SCRIPT) { in main()
653 if (params.type == IH_TYPE_MULTI || in main()
654 params.type == IH_TYPE_SCRIPT) { in main()
695 } else if (params.type == IH_TYPE_PBLIMAGE) { in main()
698 } else if (params.type == IH_TYPE_ZYNQMPBIF) { in main()
705 } else if (params.type == IH_TYPE_IMX8IMAGE) { in main()
712 } else if (params.type == IH_TYPE_IMX8MIMAGE) { in main()
719 } else if ((params.type == IH_TYPE_RKSD) || in main()
720 (params.type == IH_TYPE_RKSPI)) { in main()
730 if (params.type == IH_TYPE_FIRMWARE_IVT) { in main()
842 struct image_type_params *tparams = imagetool_get_type(params.type); in copy_file()
876 (((params.type > IH_TYPE_INVALID) && (params.type < IH_TYPE_FLATDT)) || in copy_file()
877 (params.type == IH_TYPE_KERNEL_NOLOAD) || (params.type == IH_TYPE_FIRMWARE_IVT))) { in copy_file()