Home
last modified time | relevance | path

Searched refs:cmdtp (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/u-boot/common/
A Dcommand.c38 cmdtp = cmd_start; in _do_help()
109 for (cmdtp = table; cmdtp != table + table_len; cmdtp++) { in find_cmd_tbl()
135 printf("%s - %s\n\n", cmdtp->name, cmdtp->usage); in cmd_usage()
206 for (; cmdtp != cmdend; cmdtp++) { in complete_subcmdv()
219 cmdtp = find_cmd_tbl(argv[0], cmdtp, count); in complete_subcmdv()
220 if (cmdtp == NULL || cmdtp->complete == NULL) { in complete_subcmdv()
239 for (; cmdtp != cmdend; cmdtp++) { in complete_subcmdv()
512 cmdtp->name, (ulong)(cmdtp->cmd), addr); in fixup_cmdtable()
535 cmdtp++; in fixup_cmdtable()
544 return cmdtp->cmd(cmdtp, flag, argc, argv); in cmd_always_repeatable()
[all …]
/u-boot/include/test/
A Dsuites.h29 int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc,
31 int do_ut_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
32 int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
34 int do_ut_compression(struct cmd_tbl *cmdtp, int flag, int argc,
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[]);
42 int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
44 int do_ut_setexpr(struct cmd_tbl *cmdtp, int flag, int argc,
[all …]
/u-boot/cmd/
A Dfs.c12 static int do_size_wrapper(struct cmd_tbl *cmdtp, int flag, int argc, in do_size_wrapper() argument
15 return do_size(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_size_wrapper()
26 static int do_load_wrapper(struct cmd_tbl *cmdtp, int flag, int argc, in do_load_wrapper() argument
29 return do_load(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_load_wrapper()
47 return do_save(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_save_wrapper()
61 static int do_ls_wrapper(struct cmd_tbl *cmdtp, int flag, int argc, in do_ls_wrapper() argument
64 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_ls_wrapper()
75 static int do_ln_wrapper(struct cmd_tbl *cmdtp, int flag, int argc, in do_ln_wrapper() argument
78 return do_ln(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_ln_wrapper()
92 return do_fs_type(cmdtp, flag, argc, argv); in do_fstype_wrapper()
[all …]
A Dpxe.c35 if (do_tftpb(cmdtp, 0, 3, tftp_argv)) in do_get_tftp()
55 return get_pxelinux_path(cmdtp, uuid_str, pxefile_addr_r); in pxe_uuid_path()
74 return get_pxelinux_path(cmdtp, mac_str, pxefile_addr_r); in pxe_mac_path()
92 err = get_pxelinux_path(cmdtp, ip_addr, pxefile_addr_r); in pxe_ipaddr_paths()
142 if (pxe_uuid_path(cmdtp, pxefile_addr_r) > 0 || in do_pxe_get()
143 pxe_mac_path(cmdtp, pxefile_addr_r) > 0 || in do_pxe_get()
144 pxe_ipaddr_paths(cmdtp, pxefile_addr_r) > 0) { in do_pxe_get()
151 if (get_pxelinux_path(cmdtp, pxe_default_paths[i], in do_pxe_get()
194 cfg = parse_pxefile(cmdtp, pxefile_addr_r); in do_pxe_boot()
201 handle_pxe_menu(cmdtp, cfg); in do_pxe_boot()
[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()
52 static int do_fat_ls(struct cmd_tbl *cmdtp, int flag, int argc, in do_fat_ls() argument
55 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_ls()
65 static int do_fat_fsinfo(struct cmd_tbl *cmdtp, int flag, int argc, in do_fat_fsinfo() argument
98 static int do_fat_fswrite(struct cmd_tbl *cmdtp, int flag, int argc, in do_fat_fswrite() argument
101 return do_save(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_fswrite()
112 static int do_fat_rm(struct cmd_tbl *cmdtp, int flag, int argc, in do_fat_rm() argument
115 return do_rm(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_rm()
125 static int do_fat_mkdir(struct cmd_tbl *cmdtp, int flag, int argc, in do_fat_mkdir() argument
[all …]
A Dsysboot.c11 static int do_get_ext2(struct cmd_tbl *cmdtp, const char *file_path, in do_get_ext2() argument
19 if (!do_ext2load(cmdtp, 0, 5, fs_argv)) in do_get_ext2()
25 static int do_get_fat(struct cmd_tbl *cmdtp, const char *file_path, in do_get_fat() argument
33 if (!do_fat_fsload(cmdtp, 0, 5, fs_argv)) in do_get_fat()
39 static int do_get_any(struct cmd_tbl *cmdtp, const char *file_path, in do_get_any() argument
47 if (!do_load(cmdtp, 0, 5, fs_argv, FS_TYPE_ANY)) in do_get_any()
58 static int do_sysboot(struct cmd_tbl *cmdtp, int flag, int argc, in do_sysboot() argument
76 return cmd_usage(cmdtp); in do_sysboot()
111 if (get_pxe_file(cmdtp, filename, pxefile_addr_r) < 0) { in do_sysboot()
116 cfg = parse_pxefile(cmdtp, pxefile_addr_r); in do_sysboot()
[all …]
A Dext4.c44 int do_ext4_size(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ext4_size() argument
46 return do_size(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_size()
49 int do_ext4_load(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ext4_load() argument
51 return do_load(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_load()
54 int do_ext4_ls(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ext4_ls() argument
56 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_ls()
60 int do_ext4_write(struct cmd_tbl *cmdtp, int flag, int argc, in do_ext4_write() argument
63 return do_save(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_write()
A Dhost.c17 static int do_host_load(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_load() argument
20 return do_load(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_load()
23 static int do_host_ls(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_ls() argument
26 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_ls()
29 static int do_host_size(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_size() argument
32 return do_size(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_size()
35 static int do_host_save(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_save() argument
38 return do_save(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_save()
41 static int do_host_bind(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_bind() argument
154 static int do_host(struct cmd_tbl *cmdtp, int flag, int argc, in do_host() argument
[all …]
A Dnet.c22 static int do_bootp(struct cmd_tbl *cmdtp, int flag, int argc, in do_bootp() argument
25 return netboot_common(BOOTP, cmdtp, argc, argv); in do_bootp()
41 ret = netboot_common(TFTPGET, cmdtp, argc, argv); in do_tftpb()
57 return netboot_common(TFTPPUT, cmdtp, argc, argv); in do_tftpput()
71 return netboot_common(TFTPSRV, cmdtp, argc, argv); in do_tftpsrv()
88 return netboot_common(RARP, cmdtp, argc, argv); in do_rarpb()
99 static int do_dhcp(struct cmd_tbl *cmdtp, int flag, int argc, in do_dhcp() argument
102 return netboot_common(DHCP, cmdtp, argc, argv); in do_dhcp()
113 static int do_nfs(struct cmd_tbl *cmdtp, int flag, int argc, in do_nfs() argument
116 return netboot_common(NFS, cmdtp, argc, argv); in do_nfs()
[all …]
A Ddm.c19 static int do_dm_dump_all(struct cmd_tbl *cmdtp, int flag, int argc, in do_dm_dump_all() argument
27 static int do_dm_dump_uclass(struct cmd_tbl *cmdtp, int flag, int argc, in do_dm_dump_uclass() argument
35 static int do_dm_dump_devres(struct cmd_tbl *cmdtp, int flag, int argc, in do_dm_dump_devres() argument
43 static int do_dm_dump_drivers(struct cmd_tbl *cmdtp, int flag, int argc, in do_dm_dump_drivers() argument
51 static int do_dm_dump_driver_compat(struct cmd_tbl *cmdtp, int flag, int argc, in do_dm_dump_driver_compat() argument
59 static int do_dm_dump_static_driver_info(struct cmd_tbl *cmdtp, int flag, int argc, in do_dm_dump_static_driver_info() argument
86 static int do_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_dm() argument
A Dyaffs2.c46 int do_ytrace(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ytrace() argument
57 int do_ydevls(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ydevls() argument
88 int do_ymount(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ymount() argument
105 int do_yumount(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_yumount() argument
121 int do_yls(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_yls() argument
137 int do_yrd(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_yrd() argument
156 int do_ywr(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ywr() argument
180 int do_yrdm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_yrdm() argument
198 int do_ywrm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ywrm() argument
248 int do_yrm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_yrm() argument
[all …]
A Dspl.c106 static int spl_export(struct cmd_tbl *cmdtp, int flag, int argc, in spl_export() argument
112 return cmd_usage(cmdtp); in spl_export()
142 return cmd_usage(cmdtp); in spl_export()
152 static int do_spl(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_spl() argument
158 return cmd_usage(cmdtp); in do_spl()
167 if (spl_export(cmdtp, flag, argc, argv)) in do_spl()
172 return cmd_usage(cmdtp); in do_spl()
176 return cmd_usage(cmdtp); in do_spl()
A Dfpga.c38 struct cmd_tbl *cmdtp, int argc, in do_fpga_check_params() argument
44 debug("%s %d, %d\n", __func__, argc, cmdtp->maxargs); in do_fpga_check_params()
46 if (argc != cmdtp->maxargs) { in do_fpga_check_params()
114 cmdtp, argc, argv); in do_fpga_loads()
132 cmdtp, argc, argv); in do_fpga_loadfs()
146 static int do_fpga_info(struct cmd_tbl *cmdtp, int flag, int argc, in do_fpga_info() argument
162 cmdtp, argc, argv); in do_fpga_dump()
177 cmdtp, argc, argv); in do_fpga_load()
192 cmdtp, argc, argv); in do_fpga_loadb()
208 cmdtp, argc, argv); in do_fpga_loadp()
[all …]
A Dpxe_utils.h80 extern int (*do_getfile)(struct cmd_tbl *cmdtp, const char *file_path,
83 int get_pxe_file(struct cmd_tbl *cmdtp, const char *file_path,
85 int get_pxelinux_path(struct cmd_tbl *cmdtp, const char *file,
87 void handle_pxe_menu(struct cmd_tbl *cmdtp, struct pxe_menu *cfg);
88 struct pxe_menu *parse_pxefile(struct cmd_tbl *cmdtp, unsigned long menucfg);
A Dsqfs.c14 static int do_sqfs_ls(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) in do_sqfs_ls() argument
16 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_SQUASHFS); in do_sqfs_ls()
25 static int do_sqfs_load(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) in do_sqfs_load() argument
27 return do_load(cmdtp, flag, argc, argv, FS_TYPE_SQUASHFS); in do_sqfs_load()
A Dext2.c26 static int do_ext2ls(struct cmd_tbl *cmdtp, int flag, int argc, in do_ext2ls() argument
29 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext2ls()
35 int do_ext2load(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_ext2load() argument
37 return do_load(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext2load()
A Dpcap.c12 static int do_pcap_init(struct cmd_tbl *cmdtp, int flag, int argc, in do_pcap_init() argument
27 static int do_pcap_start(struct cmd_tbl *cmdtp, int flag, int argc, in do_pcap_start() argument
33 static int do_pcap_stop(struct cmd_tbl *cmdtp, int flag, int argc, in do_pcap_stop() argument
39 static int do_pcap_status(struct cmd_tbl *cmdtp, int flag, int argc, in do_pcap_status() argument
45 static int do_pcap_clear(struct cmd_tbl *cmdtp, int flag, int argc, in do_pcap_clear() argument
A Dmisc.c27 static int do_misc_list(struct cmd_tbl *cmdtp, int flag, in do_misc_list() argument
44 static int do_misc_op(struct cmd_tbl *cmdtp, int flag, in do_misc_op() argument
86 static int do_misc_read(struct cmd_tbl *cmdtp, int flag, in do_misc_read() argument
89 return do_misc_op(cmdtp, flag, argc, argv, MISC_OP_READ); in do_misc_read()
92 static int do_misc_write(struct cmd_tbl *cmdtp, int flag, in do_misc_write() argument
95 return do_misc_op(cmdtp, flag, argc, argv, MISC_OP_WRITE); in do_misc_write()
104 static int do_misc(struct cmd_tbl *cmdtp, int flag, in do_misc() argument
A Dpmc.c33 static int do_pmc_init(struct cmd_tbl *cmdtp, int flag, int argc, in do_pmc_init() argument
46 static int do_pmc_info(struct cmd_tbl *cmdtp, int flag, int argc, in do_pmc_info() argument
65 static int do_pmc(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_pmc() argument
70 return cmd_usage(cmdtp); in do_pmc()
76 return cp->cmd(cmdtp, flag, argc, argv); in do_pmc()
A Ddemo.c18 static int do_demo_hello(struct cmd_tbl *cmdtp, int flag, int argc, in do_demo_hello() argument
29 static int do_demo_status(struct cmd_tbl *cmdtp, int flag, int argc, in do_demo_status() argument
44 static int do_demo_light(struct cmd_tbl *cmdtp, int flag, int argc, in do_demo_light() argument
64 int do_demo_list(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_demo_list() argument
80 return cmd_process_error(cmdtp, ret); in do_demo_list()
90 static int do_demo(struct cmd_tbl *cmdtp, int flag, int argc, in do_demo() argument
112 return cmd_process_error(cmdtp, ret); in do_demo()
/u-boot/include/
A Dfs.h31 int do_fat_fsload(struct cmd_tbl *cmdtp, int flag, int argc,
43 int do_ext2load(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
233 int do_size(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
235 int do_load(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
237 int do_ls(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
241 int do_save(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
243 int do_rm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
245 int do_mkdir(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
247 int do_ln(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
254 int do_fs_uuid(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[],
[all …]
A Dexception.h10 static int do_exception(struct cmd_tbl *cmdtp, int flag, int argc, in do_exception() argument
25 return cp->cmd(cmdtp, flag, argc, argv); in do_exception()
35 struct cmd_tbl *cmdtp; in exception_complete() local
46 for (cmdtp = cmd_sub; cmdtp != cmd_sub + ARRAY_SIZE(cmd_sub); cmdtp++) { in exception_complete()
49 if (!strncmp(argv[1], cmdtp->name, len)) in exception_complete()
50 cmdv[i++] = cmdtp->name; in exception_complete()
A Dcommand.h58 int do_run(struct cmd_tbl *cmdtp, int flag, int argc,
72 int cmd_usage(const struct cmd_tbl *cmdtp);
82 static inline bool cmd_is_repeatable(struct cmd_tbl *cmdtp) in cmd_is_repeatable() argument
84 return cmdtp->cmd_rep == cmd_always_repeatable; in cmd_is_repeatable()
103 int cmd_process_error(struct cmd_tbl *cmdtp, int err);
148 int do_bootd(struct cmd_tbl *cmdtp, int flag, int argc,
152 int do_bootm(struct cmd_tbl *cmdtp, int flag, int argc,
162 int do_bootz(struct cmd_tbl *cmdtp, int flag, int argc,
165 int do_booti(struct cmd_tbl *cmdtp, int flag, int argc,
174 int do_reset(struct cmd_tbl *cmdtp, int flag, int argc,
[all …]
/u-boot/board/xilinx/common/
A Dfru.c13 static int do_fru_capture(struct cmd_tbl *cmdtp, int flag, int argc, in do_fru_capture() argument
19 if (argc < cmdtp->maxargs) in do_fru_capture()
29 static int do_fru_display(struct cmd_tbl *cmdtp, int flag, int argc, in do_fru_display() argument
36 static int do_fru_generate(struct cmd_tbl *cmdtp, int flag, int argc, in do_fru_generate() argument
41 if (argc < cmdtp->maxargs) in do_fru_generate()
55 static int do_fru(struct cmd_tbl *cmdtp, int flag, int argc, in do_fru() argument
/u-boot/board/xilinx/zynqmp/
A Dcmds.c86 if (argc != cmdtp->maxargs) in do_zynqmp_mmio_read()
107 if (argc != cmdtp->maxargs) in do_zynqmp_mmio_write()
121 static int do_zynqmp_aes(struct cmd_tbl *cmdtp, int flag, int argc, in do_zynqmp_aes() argument
135 if (argc < cmdtp->maxargs - 1) in do_zynqmp_aes()
161 if (argc < cmdtp->maxargs) in do_zynqmp_aes()
187 if (argc != cmdtp->maxargs) in do_zynqmp_tcm_init()
209 if (argc != cmdtp->maxargs) in do_zynqmp_pmufw()
229 if (argc != cmdtp->maxargs) in do_zynqmp_rsa()
285 static int do_zynqmp_sha3(struct cmd_tbl *cmdtp, int flag, in do_zynqmp_sha3() argument
292 if (argc > cmdtp->maxargs || argc < (cmdtp->maxargs - 1)) in do_zynqmp_sha3()
[all …]

Completed in 445 milliseconds

12345678910>>...16