/openbmc/u-boot/include/ |
H A D | command.h | 54 typedef struct cmd_tbl_s cmd_tbl_t; typedef 58 extern int do_run(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); 62 int _do_help (cmd_tbl_t *cmd_start, int cmd_items, cmd_tbl_t * cmdtp, int 64 cmd_tbl_t *find_cmd(const char *cmd); 65 cmd_tbl_t *find_cmd_tbl (const char *cmd, cmd_tbl_t *table, int table_len); 66 int complete_subcmdv(cmd_tbl_t *cmdtp, int count, int argc, 70 extern int cmd_usage(const cmd_tbl_t *cmdtp); 73 int cmd_always_repeatable(cmd_tbl_t *cmdtp, int flag, int argc, 75 int cmd_never_repeatable(cmd_tbl_t *cmdtp, int flag, int argc, 77 int cmd_discard_repeatable(cmd_tbl_t *cmdtp, int flag, int argc, [all …]
|
H A D | fs.h | 180 int do_size(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], 182 int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], 184 int do_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], 188 int do_save(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], 190 int do_rm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], 192 int do_mkdir(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], 199 int do_fs_uuid(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], 206 int do_fs_type(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
|
/openbmc/u-boot/include/test/ |
H A D | suites.h | 26 int do_ut_bloblist(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]); 27 int do_ut_compression(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]); 28 int do_ut_dm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); 29 int do_ut_env(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); 30 int do_ut_lib(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); 31 int do_ut_overlay(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); 32 int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); 33 int do_ut_unicode(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
|
/openbmc/u-boot/cmd/ |
H A D | yaffs2.c | 46 int do_ytrace(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ytrace() 57 int do_ydevls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ydevls() 65 int do_ydevconfig(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ydevconfig() 88 int do_ymount(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ymount() 105 int do_yumount(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yumount() 121 int do_yls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yls() 137 int do_yrd(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yrd() 156 int do_ywr(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ywr() 180 int do_yrdm(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yrdm() 198 int do_ywrm(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ywrm() [all …]
|
H A D | host.c | 15 static int do_host_load(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_load() 21 static int do_host_ls(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_ls() 27 static int do_host_size(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_size() 33 static int do_host_save(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_save() 39 static int do_host_bind(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_bind() 55 static int do_host_info(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_info() 102 static int do_host_dev(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_dev() 142 static cmd_tbl_t cmd_host_sub[] = { 152 static int do_host(cmd_tbl_t *cmdtp, int flag, int argc, in do_host() 155 cmd_tbl_t *c; in do_host()
|
H A D | net.c | 14 static int netboot_common(enum proto_t, cmd_tbl_t *, int, char * const []); 17 static int do_bootp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bootp() 30 int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_tftpb() 48 static int do_tftpput(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_tftpput() 61 static int do_tftpsrv(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_tftpsrv() 78 int do_rarpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_rarpb() 91 static int do_dhcp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_dhcp() 104 static int do_nfs(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_nfs() 177 static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc, in netboot_common() 273 static int do_ping(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_ping() [all …]
|
H A D | dm.c | 19 static int do_dm_dump_all(cmd_tbl_t *cmdtp, int flag, int argc, in do_dm_dump_all() 27 static int do_dm_dump_uclass(cmd_tbl_t *cmdtp, int flag, int argc, in do_dm_dump_uclass() 35 static int do_dm_dump_devres(cmd_tbl_t *cmdtp, int flag, int argc, in do_dm_dump_devres() 43 static cmd_tbl_t test_commands[] = { 59 static int do_dm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_dm() 61 cmd_tbl_t *test_cmd; in do_dm()
|
H A D | avb.c | 22 int do_avb_init(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_avb_init() 43 int do_avb_read_part(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_avb_read_part() 75 int do_avb_read_part_hex(cmd_tbl_t *cmdtp, int flag, int argc, in do_avb_read_part_hex() 121 int do_avb_write_part(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_avb_write_part() 152 int do_avb_read_rb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_avb_read_rb() 178 int do_avb_write_rb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_avb_write_rb() 203 int do_avb_get_uuid(cmd_tbl_t *cmdtp, int flag, in do_avb_get_uuid() 231 int do_avb_verify_part(cmd_tbl_t *cmdtp, int flag, in do_avb_verify_part() 317 int do_avb_is_unlocked(cmd_tbl_t *cmdtp, int flag, in do_avb_is_unlocked() 343 static cmd_tbl_t cmd_avb[] = { [all …]
|
H A D | help.c | 10 static int do_help(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_help() 13 cmd_tbl_t *start = ll_entry_start(cmd_tbl_t, cmd); in do_help() 14 const int len = ll_entry_count(cmd_tbl_t, cmd); in do_help() 31 ll_entry_declare(cmd_tbl_t, question_mark, cmd) = {
|
H A D | demo.c | 16 static int do_demo_hello(cmd_tbl_t *cmdtp, int flag, int argc, in do_demo_hello() 27 static int do_demo_status(cmd_tbl_t *cmdtp, int flag, int argc, in do_demo_status() 42 static int do_demo_light(cmd_tbl_t *cmdtp, int flag, int argc, in do_demo_light() 62 int do_demo_list(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_demo_list() 81 static cmd_tbl_t demo_commands[] = { 88 static int do_demo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_demo() 90 cmd_tbl_t *demo_cmd; in do_demo()
|
H A D | tpm-v1.c | 16 static int do_tpm_startup(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_startup() 42 static int do_tpm_nv_define_space(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_nv_define_space() 62 static int do_tpm_nv_read_value(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_nv_read_value() 88 static int do_tpm_nv_write_value(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_nv_write_value() 115 static int do_tpm_extend(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_extend() 144 static int do_tpm_pcr_read(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_pcr_read() 170 static int do_tpm_tsc_physical_presence(cmd_tbl_t *cmdtp, int flag, in do_tpm_tsc_physical_presence() 188 static int do_tpm_read_pubek(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_read_pubek() 213 static int do_tpm_physical_set_deactivated(cmd_tbl_t *cmdtp, int flag, in do_tpm_physical_set_deactivated() 231 static int do_tpm_get_capability(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_get_capability() [all …]
|
H A D | fpga.c | 34 cmd_tbl_t *cmdtp, int argc, char *const argv[]) in do_fpga_check_params() 66 int do_fpga_loads(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_fpga_loads() 118 static int do_fpga_loadfs(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_loadfs() 141 static int do_fpga_info(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_info() 149 static int do_fpga_dump(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_dump() 164 static int do_fpga_load(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_load() 179 static int do_fpga_loadb(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_loadb() 195 static int do_fpga_loadp(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_loadp() 212 static int do_fpga_loadbp(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_loadbp() 230 static int do_fpga_loadmk(cmd_tbl_t *cmdtp, int flag, int argc, in do_fpga_loadmk() [all …]
|
H A D | bootcount.c | 7 static int do_bootcount_print(cmd_tbl_t *cmdtp, int flag, int argc, in do_bootcount_print() 14 static int do_bootcount_reset(cmd_tbl_t *cmdtp, int flag, int argc, in do_bootcount_reset() 25 static cmd_tbl_t bootcount_sub[] = { 30 static int do_bootcount(cmd_tbl_t *cmdtp, int flag, int argc, in do_bootcount() 33 cmd_tbl_t *cp; in do_bootcount()
|
H A D | fat.c | 21 int do_fat_size(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_fat_size() 34 int do_fat_fsload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_fat_fsload() 55 static int do_fat_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_fat_ls() 67 static int do_fat_fsinfo(cmd_tbl_t *cmdtp, int flag, int argc, in do_fat_fsinfo() 100 static int do_fat_fswrite(cmd_tbl_t *cmdtp, int flag, in do_fat_fswrite() 155 static int do_fat_rm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_fat_rm() 167 static int do_fat_mkdir(cmd_tbl_t *cmdtp, int flag, int argc, in do_fat_mkdir()
|
H A D | sb.c | 12 static int do_sb_handoff(cmd_tbl_t *cmdtp, int flag, int argc, in do_sb_handoff() 29 static int do_sb_state(cmd_tbl_t *cmdtp, int flag, int argc, in do_sb_state() 40 static cmd_tbl_t cmd_sb_sub[] = { 45 static int do_sb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_sb() 47 cmd_tbl_t *c; in do_sb()
|
H A D | tpm-user-utils.h | 20 int do_tpm_device(cmd_tbl_t *cmdtp, int flag, int argc, 22 int do_tpm_init(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]); 23 int do_tpm_info(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]); 24 int do_tpm_report_state(cmd_tbl_t *cmdtp, int flag, int argc, 26 int do_tpm(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
|
H A D | fs.c | 13 static int do_size_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_size_wrapper() 26 static int do_load_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_load_wrapper() 48 static int do_save_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_save_wrapper() 65 static int do_ls_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_ls_wrapper() 79 static int do_fstype_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_fstype_wrapper()
|
H A D | mmc.c | 119 static int do_mmcinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mmcinfo() 152 static int do_mmcrpmb_key(cmd_tbl_t *cmdtp, int flag, in do_mmcrpmb_key() 170 static int do_mmcrpmb_read(cmd_tbl_t *cmdtp, int flag, in do_mmcrpmb_read() 198 static int do_mmcrpmb_write(cmd_tbl_t *cmdtp, int flag, in do_mmcrpmb_write() 224 static int do_mmcrpmb_counter(cmd_tbl_t *cmdtp, int flag, in do_mmcrpmb_counter() 236 static cmd_tbl_t cmd_rpmb[] = { 243 static int do_mmcrpmb(cmd_tbl_t *cmdtp, int flag, in do_mmcrpmb() 246 cmd_tbl_t *cp; in do_mmcrpmb() 293 static int do_mmc_read(cmd_tbl_t *cmdtp, int flag, in do_mmc_read() 335 static int do_mmc_sparse_write(cmd_tbl_t *cmdtp, int flag, in do_mmc_sparse_write() [all …]
|
H A D | tpm-v2.c | 16 static int do_tpm2_startup(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm2_startup() 41 static int do_tpm2_self_test(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm2_self_test() 66 static int do_tpm2_clear(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm2_clear() 95 static int do_tpm2_pcr_extend(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm2_pcr_extend() 127 static int do_tpm_pcr_read(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_pcr_read() 166 static int do_tpm_get_capability(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_get_capability() 209 static int do_tpm_dam_reset(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_dam_reset() 230 static int do_tpm_dam_parameters(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_dam_parameters() 274 static int do_tpm_change_auth(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_change_auth() 310 static int do_tpm_pcr_setauthpolicy(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_pcr_setauthpolicy() [all …]
|
H A D | bdinfo.c | 171 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 214 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 234 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 259 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 290 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 301 static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, in do_bdinfo() 358 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 371 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 392 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() 408 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_bdinfo() [all …]
|
H A D | pmic.c | 24 static int do_dev(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_dev() 49 static int do_list(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_list() 76 static int do_dump(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_dump() 113 static int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_read() 152 static int do_write(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_write() 186 static cmd_tbl_t subcmd[] = { 194 static int do_pmic(cmd_tbl_t *cmdtp, int flag, int argc, in do_pmic() 197 cmd_tbl_t *cmd; in do_pmic()
|
H A D | remoteproc.c | 68 static int do_rproc_init(cmd_tbl_t *cmdtp, int flag, int argc, in do_rproc_init() 91 static int do_remoteproc_list(cmd_tbl_t *cmdtp, int flag, int argc, in do_remoteproc_list() 114 static int do_remoteproc_load(cmd_tbl_t *cmdtp, int flag, int argc, in do_remoteproc_load() 158 static int do_remoteproc_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_remoteproc_wrapper() 205 static cmd_tbl_t cmd_remoteproc_sub[] = { 244 static int do_remoteproc(cmd_tbl_t *cmdtp, int flag, int argc, in do_remoteproc() 247 cmd_tbl_t *c = NULL; in do_remoteproc()
|
H A D | spl.c | 97 static cmd_tbl_t cmd_spl_export_sub[] = { 102 static int spl_export(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in spl_export() 104 const cmd_tbl_t *c; in spl_export() 143 static cmd_tbl_t cmd_spl_sub[] = { 147 static int do_spl(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_spl() 149 const cmd_tbl_t *c; in do_spl()
|
H A D | dtimg.c | 15 static int do_dtimg_dump(cmd_tbl_t *cmdtp, int flag, int argc, in do_dtimg_dump() 89 static int do_dtimg_start(cmd_tbl_t *cmdtp, int flag, int argc, in do_dtimg_start() 95 static int do_dtimg_size(cmd_tbl_t *cmdtp, int flag, int argc, in do_dtimg_size() 101 static cmd_tbl_t cmd_dtimg_sub[] = { 107 static int do_dtimg(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_dtimg() 109 cmd_tbl_t *cp; in do_dtimg()
|
/openbmc/u-boot/common/ |
H A D | command.c | 21 int _do_help(cmd_tbl_t *cmd_start, int cmd_items, cmd_tbl_t *cmdtp, int flag, in _do_help() 28 cmd_tbl_t *cmd_array[cmd_items]; in _do_help() 43 cmd_tbl_t *tmp; in _do_help() 85 cmd_tbl_t *find_cmd_tbl(const char *cmd, cmd_tbl_t *table, int table_len) in find_cmd_tbl() 88 cmd_tbl_t *cmdtp; in find_cmd_tbl() 89 cmd_tbl_t *cmdtp_temp = table; /* Init value */ in find_cmd_tbl() 119 cmd_tbl_t *find_cmd(const char *cmd) in find_cmd() 121 cmd_tbl_t *start = ll_entry_start(cmd_tbl_t, cmd); in find_cmd() 122 const int len = ll_entry_count(cmd_tbl_t, cmd); in find_cmd() 126 int cmd_usage(const cmd_tbl_t *cmdtp) in cmd_usage() [all …]
|