Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 196) sorted by relevance

12345678

/u-boot/arch/xtensa/lib/
A Dbootm.c38 params->size = 0; in setup_last_tag()
66 return params; in setup_commandline_tag()
87 return params; in setup_ramdisk_tag()
112 BP_TAG_SERIAL_BAUDRATE, params->size, params->data[0]); in setup_serial_tag()
126 BP_TAG_FDT, params->size, params->data[0]); in setup_fdt_tag()
158 params = setup_first_tag(params); in do_bootm_linux()
159 params = setup_memory_tag(params); in do_bootm_linux()
160 params = setup_commandline_tag(params, commandline); in do_bootm_linux()
161 params = setup_serial_tag(params); in do_bootm_linux()
168 params = setup_fdt_tag(params, images->ft_addr); in do_bootm_linux()
[all …]
/u-boot/tools/
A Dmkimage.c366 params.ep = params.addr; in main()
386 if (params.lflag || params.fflag) { in main()
395 params.cmdname, params.imagefile, in main()
400 if (params.lflag || params.fflag) { in main()
406 params.cmdname, params.imagefile, in main()
414 params.cmdname, params.imagefile); in main()
421 params.cmdname, params.imagefile, in main()
452 params.cmdname, params.datafile, in main()
459 params.cmdname, params.datafile, in main()
583 params.addr, 0, 0, 0, params.addr in main()
[all …]
A Ddumpimage.c80 params.lflag = 1; in main()
84 params.iflag = 1; in main()
127 params.cmdname, genimg_get_type_name(params.type)); in main()
143 if (!params.lflag && !params.outfile) { in main()
145 params.cmdname); in main()
164 params.cmdname, params.imagefile); in main()
188 params.cmdname, params.imagefile); in main()
208 params.cmdname); in usage()
214 params.cmdname); in usage()
217 params.cmdname); in usage()
[all …]
A Ddefault_image.c38 return ((params->dflag && (params->fflag || params->lflag)) || in image_check_params()
39 (params->fflag && (params->dflag || params->lflag)) || in image_check_params()
40 (params->lflag && (params->dflag || params->fflag))); in image_check_params()
61 params->cmdname, params->imagefile); in image_verify_header()
73 params->cmdname, params->imagefile); in image_verify_header()
83 params->cmdname, params->imagefile); in image_verify_header()
106 ep = params->ep; in image_set_header()
107 addr = params->addr; in image_set_header()
117 if (params->os == IH_OS_TEE) { in image_set_header()
149 ulong idx = params->pflag; in image_extract_subimage()
[all …]
A Dfit_image.c45 destfd = mmap_fdt(params->cmdname, params->keydest, size_inc, in fit_add_file_data()
56 if (params->datafile || params->reset_timestamp) { in fit_add_file_data()
97 size = imagetool_get_filesize(params, params->datafile); in fit_calc_size()
103 size = imagetool_get_filesize(params, params->fit_ramdisk); in fit_calc_size()
452 align_size = params->bl_len ? params->bl_len : 4; in fit_extract_data()
740 params->imagefile, params->cmdname); in fit_handle_file()
821 params->cmdname, tmpfile, params->imagefile, in fit_handle_file()
901 if ((params->pflag < 0) || (count <= params->pflag)) { in fit_extract_contents()
937 return ((params->dflag && params->fflag) || in fit_check_params()
938 (params->fflag && params->lflag) || in fit_check_params()
[all …]
A Drkcommon.c142 if (params->lflag || params->iflag) in rkcommon_check_params()
180 params->imagename ? params->imagename : "NULL"); in rkcommon_check_params()
254 rkcommon_set_header0(buf, params); in rkcommon_set_header()
346 if (params->imagename == NULL) in rkcommon_verify_header()
443 params->file_size = ROUND(params->orig_file_size, RK_SIZE_ALIGN); in rkcommon_vrec_header()
462 params->cmdname, params->imagefile, in pad_file()
480 if (params->vflag) in copy_file()
496 if (params->vflag) in copy_file()
510 params->cmdname, params->imagefile, strerror(errno)); in copy_file()
541 return pad_file(params, ifd, in rockchip_copy_image()
[all …]
A Dsocfpgaimage.c136 uint32_t entry_offset = params->eflag ? params->ep : ENTRY_POINT_OFFSET; in sfp_build_header()
336 return (params->dflag && (params->fflag || params->lflag)) || in socfpgaimage_check_params_v0()
337 (params->fflag && (params->dflag || params->lflag)) || in socfpgaimage_check_params_v0()
338 (params->lflag && (params->dflag || params->fflag)); in socfpgaimage_check_params_v0()
347 if (params->eflag && (params->ep < ENTRY_POINT_OFFSET || in socfpgaimage_check_params_v1()
348 params->ep % 4 != 0)) { in socfpgaimage_check_params_v1()
356 return (params->dflag && (params->fflag || params->lflag)) || in socfpgaimage_check_params_v1()
357 (params->fflag && (params->dflag || params->lflag)) || in socfpgaimage_check_params_v1()
358 (params->lflag && (params->dflag || params->fflag)); in socfpgaimage_check_params_v1()
405 if (params->datafile && in sfp_vrec_header()
[all …]
A Drkspi.c20 struct image_tool_params *params) in rkspi_set_header() argument
25 size = params->orig_file_size; in rkspi_set_header()
27 rkcommon_set_header(buf, sbuf, ifd, params); in rkspi_set_header()
34 if (params->vflag) in rkspi_set_header()
36 size, params->file_size); in rkspi_set_header()
60 static int rkspi_vrec_header(struct image_tool_params *params, in rkspi_vrec_header() argument
63 rkcommon_vrec_header(params, tparams); in rkspi_vrec_header()
70 params->file_size = ROUND(params->file_size, RKSPI_SECT_LEN) << 1; in rkspi_vrec_header()
A Dgpimage-common.c75 int gpimage_check_params(struct image_tool_params *params) in gpimage_check_params() argument
77 return (params->dflag && (params->fflag || params->lflag)) || in gpimage_check_params()
78 (params->fflag && (params->dflag || params->lflag)) || in gpimage_check_params()
79 (params->lflag && (params->dflag || params->fflag)); in gpimage_check_params()
A Daisimage.c181 char *datafile = params->datafile; in ais_alloc_buffer()
242 *aisptr++ = params->ep; in ais_copy_image()
266 char *name = params->imagename; in aisimage_generate()
355 *aishdr++ = params->ep; in aisimage_generate()
392 if (!params) in aisimage_check_params()
394 if (!strlen(params->imagename)) { in aisimage_check_params()
397 params->cmdname); in aisimage_check_params()
406 return (params->dflag && (params->fflag || params->lflag)) || in aisimage_check_params()
407 (params->fflag && (params->dflag || params->lflag)) || in aisimage_check_params()
408 (params->lflag && (params->dflag || params->fflag)) || in aisimage_check_params()
[all …]
A Drkcommon.h24 int rkcommon_check_params(struct image_tool_params *params);
32 const char *rkcommon_get_spl_hdr(struct image_tool_params *params);
42 int rkcommon_get_spl_size(struct image_tool_params *params);
52 struct image_tool_params *params);
62 struct image_tool_params *params);
81 bool rkcommon_need_rc4_spl(struct image_tool_params *params);
104 int rkcommon_vrec_header(struct image_tool_params *params,
A Dublimage.c195 struct image_tool_params *params) in ublimage_verify_header() argument
213 struct image_tool_params *params) in ublimage_set_header() argument
218 parse_cfg_file(ublhdr, params->imagename); in ublimage_set_header()
221 int ublimage_check_params(struct image_tool_params *params) in ublimage_check_params() argument
223 if (!params) in ublimage_check_params()
225 if (!strlen(params->imagename)) { in ublimage_check_params()
228 params->cmdname); in ublimage_check_params()
237 return (params->dflag && (params->fflag || params->lflag)) || in ublimage_check_params()
238 (params->fflag && (params->dflag || params->lflag)) || in ublimage_check_params()
239 (params->lflag && (params->dflag || params->fflag)) || in ublimage_check_params()
[all …]
A Dsunxi_egon.c17 static int egon_check_params(struct image_tool_params *params) in egon_check_params() argument
20 return !params->dflag; in egon_check_params()
24 struct image_tool_params *params) in egon_verify_header() argument
73 struct image_tool_params *params) in egon_set_header() argument
86 header->length = cpu_to_le32(params->file_size); in egon_set_header()
92 if (params->imagename && params->imagename[0]) { in egon_set_header()
93 if (strlen(params->imagename) > sizeof(header->string_pool) - 1) in egon_set_header()
96 strcpy((char *)header->string_pool, params->imagename); in egon_set_header()
114 static int egon_vrec_header(struct image_tool_params *params, in egon_vrec_header() argument
120 return ALIGN(params->file_size, PAD_SIZE) - params->file_size; in egon_vrec_header()
A Dimagetool.c33 struct image_tool_params *params) in imagetool_verify_print_header() argument
45 sbuf->st_size, params); in imagetool_verify_print_header()
53 if (!params->quiet) in imagetool_verify_print_header()
58 params->cmdname, (*curr)->name); in imagetool_verify_print_header()
72 struct image_tool_params *params) in imagetool_verify_print_header_by_type() argument
77 params); in imagetool_verify_print_header_by_type()
84 if (!params->quiet) in imagetool_verify_print_header_by_type()
89 params->cmdname, tparams->name); in imagetool_verify_print_header_by_type()
94 params->cmdname, tparams->name, retval); in imagetool_verify_print_header_by_type()
135 params->cmdname, fname, strerror(errno)); in imagetool_get_filesize()
[all …]
/u-boot/arch/nds32/lib/
A Dbootm.c40 static struct tag *params; variable
142 params->u.core.flags = 0; in setup_start_tag()
146 params = tag_next(params); in setup_start_tag()
161 params = tag_next(params); in setup_memory_tags()
184 params->hdr.size = in setup_commandline_tag()
190 params = tag_next(params); in setup_commandline_tag()
206 params = tag_next(params); in setup_initrd_tag()
222 params = tag_next(params); in setup_serial_tag()
223 *tmp = params; in setup_serial_tag()
237 params = tag_next(params); in setup_revision_tag()
[all …]
/u-boot/drivers/ddr/marvell/a38x/
A Dddr3_init.c103 struct tune_train_params params; in mv_ddr_training_params_set() local
113 params.ck_delay = TUNE_TRAINING_PARAMS_CK_DELAY; in mv_ddr_training_params_set()
115 params.g_zpri_data = TUNE_TRAINING_PARAMS_PRI_DATA; in mv_ddr_training_params_set()
116 params.g_znri_data = TUNE_TRAINING_PARAMS_NRI_DATA; in mv_ddr_training_params_set()
117 params.g_zpri_ctrl = TUNE_TRAINING_PARAMS_PRI_CTRL; in mv_ddr_training_params_set()
118 params.g_znri_ctrl = TUNE_TRAINING_PARAMS_NRI_CTRL; in mv_ddr_training_params_set()
124 params.g_dic = TUNE_TRAINING_PARAMS_DIC; in mv_ddr_training_params_set()
125 params.g_rtt_nom = TUNE_TRAINING_PARAMS_RTT_NOM; in mv_ddr_training_params_set()
127 params.g_rtt_wr = TUNE_TRAINING_PARAMS_RTT_WR_1CS; in mv_ddr_training_params_set()
135 params.ck_delay = ck_delay; in mv_ddr_training_params_set()
[all …]
/u-boot/arch/arm/lib/
A Dbootm.c45 static struct tag *params; variable
138 params->u.core.flags = 0; in setup_start_tag()
142 params = tag_next (params); in setup_start_tag()
156 params = tag_next (params); in setup_memory_tags()
177 params->hdr.size = in setup_commandline_tag()
182 params = tag_next (params); in setup_commandline_tag()
197 params = tag_next (params); in setup_initrd_tag()
210 params = tag_next (params); in setup_serial_tag()
211 *tmp = params; in setup_serial_tag()
222 params = tag_next (params); in setup_revision_tag()
[all …]
/u-boot/arch/arm/mach-omap2/am33xx/
A Dclock.c21 const struct dpll_params *params) in setup_post_dividers() argument
24 if (params->m2 >= 0) in setup_post_dividers()
26 if (params->m3 >= 0) in setup_post_dividers()
28 if (params->m4 >= 0) in setup_post_dividers()
30 if (params->m5 >= 0) in setup_post_dividers()
32 if (params->m6 >= 0) in setup_post_dividers()
80 if (!params) in do_setup_dpll()
107 params = get_dpll_core_params(); in setup_dplls()
110 params = get_dpll_mpu_params(); in setup_dplls()
113 params = get_dpll_per_params(); in setup_dplls()
[all …]
/u-boot/drivers/tee/
A Dsandbox.c76 return params[n].attr; in get_attr()
80 struct tee_param *params) in check_params() argument
111 num_params, params); in ta_avb_open_session()
132 num_params, params); in ta_avb_invoke_func()
152 num_params, params); in ta_avb_invoke_func()
162 val = (u64)params[1].u.value.a << 32 | params[1].u.value.b; in ta_avb_invoke_func()
174 num_params, params); in ta_avb_invoke_func()
186 num_params, params); in ta_avb_invoke_func()
202 num_params, params); in ta_avb_invoke_func()
226 num_params, params); in ta_avb_invoke_func()
[all …]
/u-boot/drivers/ram/rockchip/
A Dsdram_rk3399.c374 if (params->base.odt == 1) { in phy_io_config()
658 if (params->base.odt == 1) { in set_ds_odt()
1511 &params->base, &sys_reg2, in dram_all_config()
1696 return params; in get_phy_index_params()
1730 return params; in lpddr4_get_phy_index_params()
2935 pctl_start(dram, params, 3); in sdram_init()
2943 params->base.dramtype); in sdram_init()
2947 rank, params); in sdram_init()
2958 params->base.num_channels = 0; in sdram_init()
2968 params->base.num_channels++; in sdram_init()
[all …]
/u-boot/drivers/tee/optee/
A Di2c.c47 arg->params[0].attr != attr[0] || in optee_suppl_cmd_i2c_transfer()
48 arg->params[1].attr != attr[1] || in optee_suppl_cmd_i2c_transfer()
49 arg->params[2].attr != attr[2] || in optee_suppl_cmd_i2c_transfer()
50 arg->params[3].attr != attr[3]) { in optee_suppl_cmd_i2c_transfer()
59 if (i2c_get_chip_for_busnum((int)arg->params[0].u.value.b, in optee_suppl_cmd_i2c_transfer()
60 (int)arg->params[0].u.value.c, in optee_suppl_cmd_i2c_transfer()
64 if (check_xfer_flags(chip_dev, arg->params[1].u.value.a)) in optee_suppl_cmd_i2c_transfer()
67 switch (arg->params[0].u.value.a) { in optee_suppl_cmd_i2c_transfer()
70 (size_t)arg->params[2].u.rmem.size); in optee_suppl_cmd_i2c_transfer()
74 (size_t)arg->params[2].u.rmem.size); in optee_suppl_cmd_i2c_transfer()
[all …]
/u-boot/arch/arm/mach-mvebu/serdes/a38x/
A Dseq_exec.c36 data = params->data[data_arr_idx]; in write_op_execute()
37 mask = params->mask; in write_op_execute()
45 params->unit_offset, in write_op_execute()
75 delay = params->wait_time; in delay_op_execute()
91 data = params->data[data_arr_idx]; in poll_op_execute()
92 mask = params->mask; in poll_op_execute()
93 num_of_loops = params->num_of_loops; in poll_op_execute()
94 wait_time = params->wait_time; in poll_op_execute()
102 params->unit_offset, in poll_op_execute()
129 if (params->wait_time == 0) in get_cfg_seq_op()
[all …]
/u-boot/test/py/tests/
A Dtest_fit.py163 def make_its(params): argument
176 def make_fit(mkimage, params): argument
189 its = make_its(params)
334 params = {
372 fit = make_fit(mkimage, params)
373 params['fit'] = fit
374 cmd = base_script % params
402 params['fdt_load'] = 'load = <%#x>;' % params['fdt_addr']
403 fit = make_fit(mkimage, params)
414 params['ramdisk_load'] = 'load = <%#x>;' % params['ramdisk_addr']
[all …]
/u-boot/drivers/usb/gadget/
A Drndis.c225 if (params->dev) { in gen_ndis_query_resp()
246 if (params->dev) { in gen_ndis_query_resp()
255 if (params->dev) { in gen_ndis_query_resp()
332 if (params->stats) { in gen_ndis_query_resp()
346 if (params->stats) { in gen_ndis_query_resp()
360 if (params->stats) { in gen_ndis_query_resp()
371 if (params->stats) { in gen_ndis_query_resp()
513 if (params->dev) { in gen_ndis_query_resp()
523 if (params->dev) { in gen_ndis_query_resp()
736 *params->filter = params->saved_filter; in gen_ndis_set_resp()
[all …]
/u-boot/drivers/video/imx/
A Dipu_common.c601 if (params->mem_dc_sync.di > 1) { in ipu_init_channel()
607 ipu_dc_init(1, params->mem_dc_sync.di, in ipu_init_channel()
608 params->mem_dc_sync.interlaced); in ipu_init_channel()
609 ipu_di_use_count[params->mem_dc_sync.di]++; in ipu_init_channel()
614 if (params->mem_dp_bg_sync.di > 1) { in ipu_init_channel()
621 params->mem_dp_bg_sync.out_pixel_fmt); in ipu_init_channel()
622 ipu_dc_init(5, params->mem_dp_bg_sync.di, in ipu_init_channel()
623 params->mem_dp_bg_sync.interlaced); in ipu_init_channel()
824 struct ipu_ch_param params; in ipu_ch_param_init() local
826 memset(&params, 0, sizeof(params)); in ipu_ch_param_init()
[all …]

Completed in 51 milliseconds

12345678