Lines Matching refs:argc
231 static int parse_i2c_bus_addr(int *i2c_bus, ulong *i2c_addr, int argc, in parse_i2c_bus_addr() argument
238 if (argc == argc_no_bus_addr) { in parse_i2c_bus_addr()
245 if (argc == argc_no_bus) { in parse_i2c_bus_addr()
252 if (argc == argc_bus_addr) { in parse_i2c_bus_addr()
349 #define NEXT_PARAM(argc, index) { (argc)--; (index)++; } argument
350 int do_eeprom(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_eeprom() argument
360 if (argc <= 1) in do_eeprom()
363 NEXT_PARAM(argc, index); /* Skip program name */ in do_eeprom()
366 NEXT_PARAM(argc, index); in do_eeprom()
374 NEXT_PARAM(argc, index); in do_eeprom()
376 NEXT_PARAM(argc, index); in do_eeprom()
384 ret = parse_i2c_bus_addr(&i2c_bus, &i2c_addr, argc, in do_eeprom()
388 ret = parse_i2c_bus_addr(&i2c_bus, &i2c_addr, argc, in do_eeprom()
392 ret = parse_i2c_bus_addr(&i2c_bus, &i2c_addr, argc, in do_eeprom()
404 NEXT_PARAM(argc, index); in do_eeprom()
408 NEXT_PARAM(argc, index); in do_eeprom()
410 NEXT_PARAM(argc, index); in do_eeprom()
417 NEXT_PARAM(argc, index); in do_eeprom()
419 NEXT_PARAM(argc, index); in do_eeprom()