/openbmc/u-boot/include/ |
H A D | command.h | 54 typedef struct cmd_tbl_s cmd_tbl_t; typedef 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); 70 extern int cmd_usage(const cmd_tbl_t *cmdtp); 80 static inline bool cmd_is_repeatable(cmd_tbl_t *cmdtp) in cmd_is_repeatable() 99 int cmd_process_error(cmd_tbl_t *cmdtp, int err); 181 void fixup_cmdtable(cmd_tbl_t *cmdtp, int size); 242 cmd_tbl_t *subcmd; \ 297 ll_entry_declare(cmd_tbl_t, _name, cmd) = \ [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() 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() 248 int do_yrm(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yrm() [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() 78 int do_rarpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_rarpb() 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() 321 int do_cdp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_cdp() 344 int do_sntp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_sntp() 385 int do_dns(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_dns() 431 static int do_link_local(cmd_tbl_t *cmdtp, int flag, int argc, in do_link_local() [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 | 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 | 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() 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[] = { 355 static int do_avb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_avb() [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 | 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 | 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 | 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 | 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 | fpga.c | 34 cmd_tbl_t *cmdtp, int argc, char *const argv[]) in do_fpga_check_params() 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() 363 static cmd_tbl_t fpga_commands[] = { [all …]
|
H A D | tpm-v1.c | 16 static int do_tpm_startup(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_startup() 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() 288 static int do_tpm_nv_define(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_nv_define() 312 static int do_tpm_nv_read(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_nv_read() 347 static int do_tpm_nv_write(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_nv_write() 383 static int do_tpm_oiap(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_oiap() 510 static int do_tpm_flush(cmd_tbl_t *cmdtp, int flag, int argc, in TPM_COMMAND_NO_ARG() 583 static int do_tpm_list(cmd_tbl_t *cmdtp, int flag, int argc, in do_tpm_list() 655 static cmd_tbl_t tpm1_commands[] = { [all …]
|
H A D | sound.c | 16 static int do_init(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_init() 33 static int do_play(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_play() 56 static cmd_tbl_t cmd_sound_sub[] = { 62 static int do_sound(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_sound() 64 cmd_tbl_t *c; in do_sound()
|
H A D | blkcache.c | 12 static int blkc_show(cmd_tbl_t *cmdtp, int flag, in blkc_show() 28 static int blkc_configure(cmd_tbl_t *cmdtp, int flag, in blkc_configure() 43 static cmd_tbl_t cmd_blkc_sub[] = { 58 static int do_blkcache(cmd_tbl_t *cmdtp, int flag, in do_blkcache() 61 cmd_tbl_t *c; in do_blkcache()
|
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()
|
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 | bootstage.c | 8 static int do_bootstage_report(cmd_tbl_t *cmdtp, int flag, int argc, in do_bootstage_report() 37 static int do_bootstage_stash(cmd_tbl_t *cmdtp, int flag, int argc, in do_bootstage_stash() 60 static cmd_tbl_t cmd_bootstage_sub[] = { 69 static int do_boostage(cmd_tbl_t *cmdtp, int flag, int argc, in do_boostage() 72 cmd_tbl_t *c; in do_boostage()
|
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 | 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()
|
/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() 126 int cmd_usage(const cmd_tbl_t *cmdtp) in cmd_usage() 184 const cmd_tbl_t *cmdend = cmdtp + count; in complete_subcmdv() [all …]
|