Searched refs:tparams (Results 1 - 19 of 19) sorted by relevance

/u-boot/tools/
H A Ddumpimage.c28 static int dumpimage_extract_subimage(struct image_type_params *tparams, argument
33 if (tparams->verify_header) {
34 retval = tparams->verify_header((unsigned char *)ptr,
38 params.cmdname, tparams->name);
46 if (tparams->extract_subimage) {
47 retval = tparams->extract_subimage(ptr, &params);
50 params.cmdname, tparams->name);
56 params.cmdname, tparams->name);
71 struct image_type_params *tparams = NULL; local
121 /* set tparams a
[all...]
H A Dimagetool.c32 struct image_type_params *tparams,
38 struct image_type_params *tparams,
48 if (tparams)
49 return imagetool_verify_print_header_by_type(ptr, sbuf, tparams, params);
91 struct image_type_params *tparams,
96 if (tparams->verify_header) {
97 retval = tparams->verify_header((unsigned char *)ptr,
104 if (tparams->print_header) {
106 tparams->print_header(ptr, params);
110 params->cmdname, tparams
35 imagetool_verify_print_header( void *ptr, struct stat *sbuf, struct image_type_params *tparams, struct image_tool_params *params) argument
88 imagetool_verify_print_header_by_type( void *ptr, struct stat *sbuf, struct image_type_params *tparams, struct image_tool_params *params) argument
[all...]
H A Dmkimage.c409 static void verify_image(const struct image_type_params *tparams) argument
437 if (tparams->verify_header((unsigned char *)ptr, params.file_size, &params) != 0) {
472 struct image_type_params *tparams = NULL; local
483 /* set tparams as per input type_id */
484 tparams = imagetool_get_type(params.type);
485 if (tparams == NULL && !params.lflag) {
495 if (tparams && tparams->check_params)
496 if (tparams->check_params (&params))
502 if (params.xflag && tparams)
836 struct image_type_params *tparams = imagetool_get_type(params.type); local
[all...]
H A Drkcommon.h99 * @tparams: Pointer tot the image type structure (for setting
105 struct image_type_params *tparams);
H A Drkspi.c61 struct image_type_params *tparams)
63 rkcommon_vrec_header(params, tparams);
60 rkspi_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Daisimage.c160 uint32_t *parms, struct image_type_params *tparams,
255 struct image_type_params *tparams)
280 tparams->header_size = 0;
287 tparams->hdr = aishdr;
345 tparams, aishdr);
357 size = (aishdr - (uint32_t *)tparams->hdr) * sizeof(uint32_t);
358 tparams->header_size = size;
159 ais_insert_cmd_header(uint32_t cmd, uint32_t nargs, uint32_t *parms, struct image_type_params *tparams, uint32_t *ptr) argument
254 aisimage_generate(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dmtk_image.c247 struct image_type_params *tparams)
250 tparams->header_size = sizeof(union lk_hdr);
251 tparams->hdr = &hdr_tmp;
252 memset(&hdr_tmp, 0xff, tparams->header_size);
257 tparams->header_size = image_get_header_size();
258 tparams->hdr = &hdr_tmp;
259 memset(&hdr_tmp, 0, tparams->header_size);
264 tparams->header_size = hdr_nand_size;
266 tparams->header_size = sizeof(struct gen_device_header);
268 tparams
246 mtk_image_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
[all...]
H A Dsocfpgaimage.c401 struct image_type_params *tparams, uint8_t ver)
409 tparams->header_size = sfp_fake_header_size(data_size, ver);
416 struct image_type_params *tparams)
418 return sfp_vrec_header(params, tparams, 0);
422 struct image_type_params *tparams)
424 return sfp_vrec_header(params, tparams, 1);
400 sfp_vrec_header(struct image_tool_params *params, struct image_type_params *tparams, uint8_t ver) argument
415 socfpgaimage_vrec_header_v0(struct image_tool_params *params, struct image_type_params *tparams) argument
421 socfpgaimage_vrec_header_v1(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dsfspl.c153 struct image_type_params *tparams)
155 tparams->hdr = calloc(sizeof(struct spl_hdr), 1);
152 sfspl_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dzynqmpimage.c502 struct image_type_params *tparams)
509 tparams->header_size = sizeof(struct zynqmp_header);
510 tparams->hdr = (void *)&zynqmpimage_header;
536 tparams->header_size += fsize(fpmu);
539 dynamic_header = calloc(1, tparams->header_size);
540 tparams->hdr = dynamic_header;
501 zynqmpimage_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Drkcommon.c545 struct image_type_params *tparams)
568 tparams->header_size = RK_SPL_HDR_START;
571 tparams->hdr = malloc(tparams->header_size);
572 if (!tparams->hdr) {
577 memset(tparams->hdr, 0, tparams->header_size);
583 params->orig_file_size = tparams->header_size +
544 rkcommon_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dsunxi_egon.c175 struct image_type_params *tparams)
179 tparams->hdr = calloc(sizeof(struct boot_file_head), 1);
174 egon_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Datmelimage.c241 struct image_type_params *tparams)
320 tparams->header_size = sizeof(nand_pmecc_header);
321 tparams->hdr = nand_pmecc_header;
240 atmel_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Drenesas_spkgimage.c220 struct image_type_params *tparams)
273 tparams->hdr = out_buf;
274 tparams->header_size = sizeof(struct spkg_file);
219 spkgimage_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dimagetool.h191 * Verify the image_header for the image type given by tparams.
192 * If tparams is NULL then scan registered image types and verify the
197 * @tparams: image type parameters or NULL
206 struct image_type_params *tparams,
H A Dsunxi_toc0.c892 struct image_type_params *tparams)
894 tparams->hdr = calloc(tparams->header_size, 1);
891 toc0_vrec_header(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dimximage.c970 struct image_type_params *tparams)
1030 tparams->header_size = alloc_len;
1031 tparams->hdr = imxhdr;
969 imximage_generate(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dmxsimage.c2249 struct image_type_params *tparams)
2312 tparams->hdr = image;
2313 tparams->header_size = size;
2319 struct image_type_params *tparams)
2338 ret = sb_build_image(&ctx, tparams);
2248 sb_build_image(struct sb_image_ctx *ictx, struct image_type_params *tparams) argument
2318 mxsimage_generate(struct image_tool_params *params, struct image_type_params *tparams) argument
H A Dkwbimage.c2158 struct image_type_params *tparams)
2248 tparams->header_size = alloc_len;
2249 tparams->hdr = hdr;
2282 tparams->header_size += size;
2157 kwbimage_generate(struct image_tool_params *params, struct image_type_params *tparams) argument

Completed in 88 milliseconds