Lines Matching refs:cmd_tbl

35 struct cmd_tbl {  struct
46 int (*cmd_rep)(struct cmd_tbl *cmd, int flags, int argc, argument
49 int (*cmd)(struct cmd_tbl *cmd, int flags, int argc, argument
96 int do_run(struct cmd_tbl *cmdtp, int flag, int argc,
101 int _do_help(struct cmd_tbl *cmd_start, int cmd_items, struct cmd_tbl *cmdtp,
103 struct cmd_tbl *find_cmd(const char *cmd);
104 struct cmd_tbl *find_cmd_tbl(const char *cmd, struct cmd_tbl *table,
106 int complete_subcmdv(struct cmd_tbl *cmdtp, int count, int argc,
110 int cmd_usage(const struct cmd_tbl *cmdtp);
113 int cmd_always_repeatable(struct cmd_tbl *cmdtp, int flag, int argc,
115 int cmd_never_repeatable(struct cmd_tbl *cmdtp, int flag, int argc,
117 int cmd_discard_repeatable(struct cmd_tbl *cmdtp, int flag, int argc,
120 static inline bool cmd_is_repeatable(struct cmd_tbl *cmdtp) in cmd_is_repeatable()
147 int cmd_process_error(struct cmd_tbl *cmdtp, int err);
192 int do_bootd(struct cmd_tbl *cmdtp, int flag, int argc,
195 int do_bootm(struct cmd_tbl *cmdtp, int flag, int argc,
198 int bootm_maybe_autostart(struct cmd_tbl *cmdtp, const char *cmd);
200 static inline int bootm_maybe_autostart(struct cmd_tbl *cmdtp, const char *cmd) in bootm_maybe_autostart()
206 int do_bootz(struct cmd_tbl *cmdtp, int flag, int argc,
209 int do_booti(struct cmd_tbl *cmdtp, int flag, int argc,
212 int do_zboot_parent(struct cmd_tbl *cmdtp, int flag, int argc,
215 int common_diskboot(struct cmd_tbl *cmdtp, const char *intf, int argc,
218 int do_reset(struct cmd_tbl *cmdtp, int flag, int argc,
220 int do_poweroff(struct cmd_tbl *cmdtp, int flag, int argc,
227 int do_env_print_efi(struct cmd_tbl *cmdtp, int flag, int argc,
229 int do_env_set_efi(struct cmd_tbl *cmdtp, int flag, int argc,
281 void fixup_cmdtable(struct cmd_tbl *cmdtp, int size);
367 static int do_##_cmdname(struct cmd_tbl *cmdtp, int flag, \
371 struct cmd_tbl *subcmd; \
406 static struct cmd_tbl _cmdname##_subcmds[] = { __VA_ARGS__ }; \
423 ll_entry_declare(struct cmd_tbl, _name, cmd) = \
429 ll_entry_declare(struct cmd_tbl, _name, cmd) = \
434 #define U_BOOT_SUBCMD_START(name) static struct cmd_tbl name[] = {};