Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 534) sorted by relevance

12345678910>>...22

/u-boot/cmd/
A Dpart.c42 part = blk_get_device_part_str(argv[0], argv[1], &dev_desc, &info, 0); in do_part_uuid()
47 env_set(argv[2], info.uuid); in do_part_uuid()
67 if (argv[i][0] == '-') { in do_part_list()
75 var = argv[i]; in do_part_list()
86 ret = blk_get_device_by_str(argv[0], argv[1], &desc); in do_part_list()
132 ret = blk_get_device_by_str(argv[0], argv[1], &desc); in do_part_info()
163 env_set(argv[3], buf); in do_part_info()
206 char *const argv[]) in do_part() argument
211 if (!strcmp(argv[1], "uuid")) in do_part()
213 else if (!strcmp(argv[1], "list")) in do_part()
[all …]
A Dyaffs2.c78 mtpoint = argv[1]; in do_ydevconfig()
97 mtpoint = argv[1]; in do_ymount()
114 mtpoint = argv[1]; in do_yumount()
146 filename = argv[1]; in do_yrd()
167 filename = argv[1]; in do_ywr()
190 filename = argv[1]; in do_yrdm()
227 dirname = argv[1]; in do_ymkdir()
242 dirname = argv[1]; in do_yrmdir()
257 name = argv[1]; in do_yrm()
274 oldPath = argv[1]; in do_ymv()
[all …]
A Dtpm-v1.c16 char *const argv[]) in do_tpm_startup() argument
42 char *const argv[]) in do_tpm_nv_define_space() argument
62 char *const argv[]) in do_tpm_nv_read_value() argument
88 char *const argv[]) in do_tpm_nv_write_value() argument
115 char *const argv[]) in do_tpm_extend() argument
143 char *const argv[]) in do_tpm_pcr_read() argument
230 char *const argv[]) in do_tpm_get_capability() argument
311 char *const argv[]) in do_tpm_nv_read() argument
335 if (type_string_write_vars(argv[1], data, argv + 3)) { in do_tpm_nv_read()
367 if (type_string_pack(argv[1], argv + 3, data)) { in do_tpm_nv_write()
[all …]
A Dabootimg.c58 env_set_hex(argv[0], addr); in abootimg_get_recovery_dtbo()
60 env_set_hex(argv[1], size); in abootimg_get_recovery_dtbo()
149 if (strstr(argv[0], "--index=")) in abootimg_get_dtb()
156 char *const argv[]) in do_abootimg_addr() argument
175 char *const argv[]) in do_abootimg_get() argument
182 param = argv[1]; in do_abootimg_get()
184 argv += 2; in do_abootimg_get()
198 char *const argv[]) in do_abootimg_dump() argument
203 if (!strcmp(argv[1], "dtb")) { in do_abootimg_dump()
220 char *const argv[]) in do_abootimg() argument
[all …]
A Dadtimg.c22 char *const argv[]) in do_adtimg_addr() argument
61 char *const argv[]) in do_adtimg_dump() argument
108 if (!argv || !avar || !svar) in adtimg_getopt_index()
121 *avar = argv[1]; in adtimg_getopt_index()
123 *svar = argv[2]; in adtimg_getopt_index()
176 argv++; in adtimg_get_dt()
186 char *const argv[]) in do_adtimg_get() argument
198 argv++; in do_adtimg_get()
200 if (!strcmp(argv[0], "dt")) in do_adtimg_get()
214 char *const argv[]) in do_adtimg() argument
[all …]
A Dfat.c20 return do_size(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_size()
33 return do_load(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_fsload()
53 char *const argv[]) in do_fat_ls() argument
55 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_ls()
66 char *const argv[]) in do_fat_fsinfo() argument
77 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_fat_fsinfo()
84 argv[1], dev, part); in do_fat_fsinfo()
99 char *const argv[]) in do_fat_fswrite() argument
113 char *const argv[]) in do_fat_rm() argument
115 return do_rm(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_rm()
[all …]
A Dfs.c13 char *const argv[]) in do_size_wrapper() argument
15 return do_size(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_size_wrapper()
27 char *const argv[]) in do_load_wrapper() argument
29 return do_load(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_load_wrapper()
45 char *const argv[]) in do_save_wrapper() argument
62 char *const argv[]) in do_ls_wrapper() argument
76 char *const argv[]) in do_ln_wrapper() argument
90 char *const argv[]) in do_fstype_wrapper() argument
92 return do_fs_type(cmdtp, flag, argc, argv); in do_fstype_wrapper()
105 char * const argv[]) in do_fstypes_wrapper() argument
[all …]
A Dblk_common.c25 if (strncmp(argv[1], "inf", 3) == 0) { in blk_common_cmd()
28 } else if (strncmp(argv[1], "dev", 3) == 0) { in blk_common_cmd()
34 } else if (strncmp(argv[1], "part", 4) == 0) { in blk_common_cmd()
42 if (strncmp(argv[1], "dev", 3) == 0) { in blk_common_cmd()
43 int dev = (int)simple_strtoul(argv[2], NULL, 10); in blk_common_cmd()
52 } else if (strncmp(argv[1], "part", 4) == 0) { in blk_common_cmd()
65 if (strcmp(argv[1], "read") == 0) { in blk_common_cmd()
66 ulong addr = simple_strtoul(argv[2], NULL, 16); in blk_common_cmd()
68 ulong cnt = simple_strtoul(argv[4], NULL, 16); in blk_common_cmd()
80 } else if (strcmp(argv[1], "write") == 0) { in blk_common_cmd()
[all …]
A Dnet.c23 char *const argv[]) in do_bootp() argument
55 char *const argv[]) in do_tftpput() argument
69 char *const argv[]) in do_tftpsrv() argument
100 char *const argv[]) in do_dhcp() argument
114 char *const argv[]) in do_nfs() argument
194 char *const argv[]) in netboot_common() argument
223 if (end == (argv[1] + strlen(argv[1]))) { in netboot_common()
290 char *const argv[]) in do_ping() argument
430 net_dns_resolve = argv[1]; in do_dns()
433 net_dns_env_var = argv[2]; in do_dns()
[all …]
A Dbootstage.c11 char *const argv[]) in do_bootstage_report() argument
27 *basep = simple_strtoul(argv[1], &endp, 16); in get_base_size()
28 if (*argv[1] == 0 || *endp != 0) in get_base_size()
32 *sizep = simple_strtoul(argv[2], &endp, 16); in get_base_size()
33 if (*argv[2] == 0 || *endp != 0) in get_base_size()
40 char *const argv[]) in do_bootstage_stash() argument
45 if (get_base_size(argc, argv, &base, &size)) in do_bootstage_stash()
52 if (0 == strcmp(argv[0], "stash")) in do_bootstage_stash()
72 char *const argv[]) in do_boostage() argument
78 argv++; in do_boostage()
[all …]
A Dtpm-v2.c17 char *const argv[]) in do_tpm2_startup() argument
42 char *const argv[]) in do_tpm2_self_test() argument
67 char *const argv[]) in do_tpm2_clear() argument
96 char *const argv[]) in do_tpm2_pcr_extend() argument
128 char *const argv[]) in do_tpm_pcr_read() argument
166 char *const argv[]) in do_tpm_get_capability() argument
209 char *const argv[]) in do_tpm_dam_reset() argument
230 char *const argv[]) in do_tpm_dam_parameters() argument
310 char *const argv[]) in do_tpm_pcr_setauthpolicy() argument
313 char *key = argv[2]; in do_tpm_pcr_setauthpolicy()
[all …]
A Dreiser.c33 int do_reiserls(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_reiserls() argument
43 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_reiserls()
48 filename = argv[3]; in do_reiserls()
101 addr = simple_strtoul (argv[3], NULL, 16); in do_reiserload()
106 addr = simple_strtoul (argv[3], NULL, 16); in do_reiserload()
107 filename = argv[4]; in do_reiserload()
111 addr = simple_strtoul (argv[3], NULL, 16); in do_reiserload()
112 filename = argv[4]; in do_reiserload()
113 count = simple_strtoul (argv[5], NULL, 16); in do_reiserload()
125 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_reiserload()
[all …]
A Dunzip.c14 char *const argv[]) in do_unzip() argument
21 dst_len = simple_strtoul(argv[3], NULL, 16); in do_unzip()
24 src = simple_strtoul(argv[1], NULL, 16); in do_unzip()
25 dst = simple_strtoul(argv[2], NULL, 16); in do_unzip()
47 int argc, char *const argv[]) in do_gzwrite() argument
59 ret = blk_get_device_by_str(argv[1], argv[2], &bdev); in do_gzwrite()
63 addr = (unsigned char *)simple_strtoul(argv[3], NULL, 16); in do_gzwrite()
64 length = simple_strtoul(argv[4], NULL, 16); in do_gzwrite()
67 writebuf = simple_strtoul(argv[5], NULL, 16); in do_gzwrite()
69 startoffs = simple_strtoull(argv[6], NULL, 16); in do_gzwrite()
[all …]
A Dhost.c18 char *const argv[]) in do_host_load() argument
24 char *const argv[]) in do_host_ls() argument
30 char *const argv[]) in do_host_size() argument
36 char *const argv[]) in do_host_save() argument
42 char *const argv[]) in do_host_bind() argument
47 char *dev_str = argv[1]; in do_host_bind()
58 char *const argv[]) in do_host_info() argument
66 char *dev_str = argv[1]; in do_host_info()
105 char *const argv[]) in do_host_dev() argument
155 char *const argv[]) in do_host() argument
[all …]
A Drtc.c21 reg = simple_strtoul(argv[0], NULL, 16); in do_rtc_read()
22 len = simple_strtoul(argv[1], NULL, 16); in do_rtc_read()
62 reg = simple_strtoul(argv[0], NULL, 16); in do_rtc_write()
67 len = simple_strtoul(argv[1], NULL, 16); in do_rtc_write()
78 s = argv[1]; in do_rtc_write()
115 argv++; in do_rtc()
117 if (!strcmp(argv[0], "list")) { in do_rtc()
132 if (!strcmp(argv[0], "dev") && argc >= 2) in do_rtc()
141 if (!strcmp(argv[0], "dev")) { in do_rtc()
149 if (!strcmp(argv[0], "read")) in do_rtc()
[all …]
A Davb.c40 char *const argv[]) in do_avb_read_part() argument
55 part = argv[1]; in do_avb_read_part()
73 char *const argv[]) in do_avb_read_part_hex() argument
88 part = argv[1]; in do_avb_read_part_hex()
134 part = argv[1]; in do_avb_write_part()
217 part = argv[1]; in do_avb_get_uuid()
368 name = argv[1]; in do_avb_read_pvalue()
393 char *const argv[]) in do_avb_write_pvalue() argument
406 name = argv[1]; in do_avb_write_pvalue()
407 value = argv[2]; in do_avb_write_pvalue()
[all …]
A Dmisc.c28 int argc, char *const argv[]) in do_misc_list() argument
56 printf("Unable to find device %s\n", argv[0]); in do_misc_op()
60 offset = simple_strtoul(argv[1], NULL, 16); in do_misc_op()
61 buf = (void *)simple_strtoul(argv[2], NULL, 16); in do_misc_op()
62 size = simple_strtoul(argv[3], NULL, 16); in do_misc_op()
87 int argc, char *const argv[]) in do_misc_read() argument
93 int argc, char *const argv[]) in do_misc_write() argument
105 int argc, char *const argv[]) in do_misc() argument
112 misc_cmd = find_cmd_tbl(argv[1], misc_commands, in do_misc()
115 argv += 2; in do_misc()
[all …]
A Dmmc.c149 char *const argv[]) in do_mmcinfo() argument
184 int argc, char *const argv[]) in do_mmcrpmb_key() argument
289 argv++; in do_mmcrpmb()
421 int argc, char *const argv[]) in do_mmc_write() argument
452 int argc, char *const argv[]) in do_mmc_erase() argument
571 if (!strcmp(argv[i], "enh")) { in parse_hwpart_user()
654 strlen(argv[i]) == 3 && in do_mmc_hwpartition()
655 argv[i][2] >= '1' && argv[i][2] <= '4') { in do_mmc_hwpartition()
656 pidx = argv[i][2] - '1'; in do_mmc_hwpartition()
969 char *const argv[]) in do_mmcops() argument
[all …]
/u-boot/include/test/
A Dsuites.h27 int argc, char *const argv[]);
30 char *const argv[]);
33 char *const argv[]);
35 char *const argv[]);
36 int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
37 int do_ut_env(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
38 int do_ut_lib(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
40 int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
43 char *const argv[]);
45 char *const argv[]);
[all …]
/u-boot/drivers/ram/stm32mp1/
A Dstm32mp1_interactive.c189 strcpy(ddr_name, argv[2]); in stm32mp1_do_info()
192 strcat(ddr_name, argv[i]); in stm32mp1_do_info()
217 if (!strcmp(argv[1], "cal")) { in stm32mp1_do_info()
263 argv[1]); in stm32mp1_do_param()
268 stm32mp1_edit_param(config, argv[1], argv[2]); in stm32mp1_do_param()
283 argv[1]); in stm32mp1_do_print()
305 argv[1]); in stm32mp1_do_step()
333 int argc, char *argv[], in stm32mp1_ddr_subcmd() argument
360 argv[1]); in stm32mp1_ddr_subcmd()
439 step, argc, argv); in stm32mp1_ddr_interactive()
[all …]
/u-boot/arch/powerpc/cpu/mpc83xx/
A Decc.c127 if (strcmp(argv[1], "status") == 0) { in do_ecc()
140 if (strcmp(argv[1], "sbecnt") == 0) { in do_ecc()
141 val = simple_strtoul(argv[2], NULL, 10); in do_ecc()
169 if (strcmp(argv[2], "+sbe") == 0) { in do_ecc()
201 if (strcmp(argv[2], "mme") == 0) { in do_ecc()
245 if (strcmp(argv[2], "en") == 0) in do_ecc()
247 else if (strcmp(argv[2], "dis") == 0) in do_ecc()
259 if (strcmp(argv[2], "en") == 0) in do_ecc()
261 else if (strcmp(argv[2], "dis") == 0) in do_ecc()
271 if (strcmp(argv[1], "testdw") == 0) { in do_ecc()
[all …]
/u-boot/tools/
A Drelocate-rela.c62 int main(int argc, char **argv) in main() argument
76 f = fopen(argv[1], "r+b"); in main()
79 argv[0], argv[1], strerror(errno)); in main()
83 if (!read_num(argv[2], &text_base) || in main()
85 !read_num(argv[4], &rela_end)) { in main()
109 argv[0], argv[1], pos, strerror(errno)); in main()
115 argv[0], argv[1], pos); in main()
131 argv[0], argv[1], pos); in main()
140 argv[0], argv[1], addr, strerror(errno)); in main()
145 argv[0], argv[1], addr); in main()
[all …]
/u-boot/board/xilinx/common/
A Dfru.c14 char *const argv[]) in do_fru_capture() argument
22 addr = simple_strtoul(argv[2], &endp, 16); in do_fru_capture()
23 if (*argv[1] == 0 || *endp != 0) in do_fru_capture()
30 char *const argv[]) in do_fru_display() argument
37 char *const argv[]) in do_fru_generate() argument
44 addr = simple_strtoul(argv[2], NULL, 16); in do_fru_generate()
46 return fru_generate(addr, argv[3], argv[4], argv[5], argv[6], argv[7]); in do_fru_generate()
56 char *const argv[]) in do_fru() argument
64 c = find_cmd_tbl(argv[1], &cmd_fru_sub[0], in do_fru()
69 ret = c->cmd(c, flag, argc, argv); in do_fru()
/u-boot/arch/arm/mach-keystone/
A Dcmd_clock.c27 if (strncmp(argv[1], "pa", 2) == 0) in do_pll_cmd()
30 else if (strncmp(argv[1], "arm", 3) == 0) in do_pll_cmd()
34 else if (strncmp(argv[1], "ddr3a", 5) == 0) in do_pll_cmd()
36 else if (strncmp(argv[1], "ddr3b", 5) == 0) in do_pll_cmd()
39 else if (strncmp(argv[1], "ddr3", 4) == 0) in do_pll_cmd()
67 char *const argv[]) in do_getclk_cmd() argument
75 clk = simple_strtoul(argv[1], NULL, 10); in do_getclk_cmd()
104 psc_module = simple_strtoul(argv[1], NULL, 10); in do_psc_cmd()
105 if (strcmp(argv[2], "en") == 0) { in do_psc_cmd()
112 if (strcmp(argv[2], "di") == 0) { in do_psc_cmd()
[all …]
/u-boot/drivers/net/pfe_eth/
A Dpfe_cmd.c35 num = simple_strtoul(argv[6], NULL, 0); in pfe_command_pe()
43 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe()
77 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe()
152 if (strcmp(argv[2], "help") != 0) in pfe_command_pe()
346 pfe_pe_status(argc, argv); in pfe_command_status()
470 char *const argv[]) in pfe_command() argument
477 if (strcmp(argv[1], "pe") == 0) { in pfe_command()
478 pfe_command_pe(argc, argv); in pfe_command()
480 pfe_command_status(argc, argv); in pfe_command()
482 pfe_command_expt(argc, argv); in pfe_command()
[all …]

Completed in 33 milliseconds

12345678910>>...22