Lines Matching refs:argc
48 static int do_mem_md(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_md() argument
62 if (argc < 2) in do_mem_md()
80 if (argc > 2) in do_mem_md()
98 static int do_mem_mm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_mm() argument
100 return mod_mem (cmdtp, 1, flag, argc, argv); in do_mem_mm()
102 static int do_mem_nm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_nm() argument
104 return mod_mem (cmdtp, 0, flag, argc, argv); in do_mem_nm()
107 static int do_mem_mw(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_mw() argument
119 if ((argc < 3) || (argc > 4)) in do_mem_mw()
141 if (argc == 4) { in do_mem_mw()
168 static int do_mem_mdc(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_mdc() argument
173 if (argc < 4) in do_mem_mdc()
195 static int do_mem_mwc(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_mwc() argument
200 if (argc < 4) in do_mem_mwc()
223 static int do_mem_cmp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_cmp() argument
236 if (argc != 4) in do_mem_cmp()
303 static int do_mem_cp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_cp() argument
308 if (argc != 4) in do_mem_cp()
351 static int do_mem_base(cmd_tbl_t *cmdtp, int flag, int argc, in do_mem_base() argument
354 if (argc > 1) { in do_mem_base()
365 static int do_mem_loop(cmd_tbl_t *cmdtp, int flag, int argc, in do_mem_loop() argument
378 if (argc < 3) in do_mem_loop()
463 static int do_mem_loopw(cmd_tbl_t *cmdtp, int flag, int argc, in do_mem_loopw() argument
479 if (argc < 4) in do_mem_loopw()
857 static int do_mem_mtest(cmd_tbl_t *cmdtp, int flag, int argc, in do_mem_mtest() argument
876 if (argc > 1) in do_mem_mtest()
880 if (argc > 2) in do_mem_mtest()
884 if (argc > 3) in do_mem_mtest()
888 if (argc > 4) in do_mem_mtest()
957 mod_mem(cmd_tbl_t *cmdtp, int incrflag, int flag, int argc, char * const argv[]) in mod_mem() argument
968 if (argc != 2) in mod_mem()
1061 static int do_mem_crc(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_mem_crc() argument
1067 if (argc < 3) in do_mem_crc()
1071 ac = argc - 1; in do_mem_crc()
1178 static int do_mem_info(cmd_tbl_t *cmdtp, int flag, int argc, in do_mem_info() argument