Lines Matching refs:argc
18 static int do_demo_hello(struct cmd_tbl *cmdtp, int flag, int argc, in do_demo_hello() argument
23 if (argc) in do_demo_hello()
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
50 if (argc) { in do_demo_light()
64 int do_demo_list(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) in do_demo_list() argument
90 static int do_demo(struct cmd_tbl *cmdtp, int flag, int argc, in do_demo() argument
97 if (argc < 2) in do_demo()
101 argc -= 2; in do_demo()
104 if ((!demo_cmd || argc > demo_cmd->maxargs) || in do_demo()
105 ((demo_cmd->name[0] != 'l') && (argc < 1))) in do_demo()
108 if (argc) { in do_demo()
113 argc--; in do_demo()
121 ret = demo_cmd->cmd(demo_cmd, flag, argc, argv); in do_demo()