Lines Matching refs:tparams
30 static int dumpimage_extract_subimage(struct image_type_params *tparams, in dumpimage_extract_subimage() argument
35 if (tparams->verify_header) { in dumpimage_extract_subimage()
36 retval = tparams->verify_header((unsigned char *)ptr, in dumpimage_extract_subimage()
44 if (tparams->extract_subimage) { in dumpimage_extract_subimage()
45 retval = tparams->extract_subimage(ptr, ¶ms); in dumpimage_extract_subimage()
49 params.cmdname, tparams->name); in dumpimage_extract_subimage()
64 struct image_type_params *tparams = NULL; in main() local
108 tparams = imagetool_get_type(params.type); in main()
109 if (tparams == NULL) { in main()
119 if (tparams->check_params) { in main()
120 if (tparams->check_params(¶ms)) in main()
147 if ((uint32_t)sbuf.st_size < tparams->header_size) { in main()
172 retval = dumpimage_extract_subimage(tparams, ptr, in main()
180 tparams, ¶ms); in main()