Lines Matching refs:argc
752 int argc; in dhd_sd_blocksize() local
758 for (argc = 0; argv[argc]; argc++); in dhd_sd_blocksize()
759 argc--; in dhd_sd_blocksize()
761 if (argc < 1 || argc > 2) { in dhd_sd_blocksize()
772 if (argc > 1) { in dhd_sd_blocksize()
780 if (argc == 1) { in dhd_sd_blocksize()
796 int argc; in dhd_sd_mode() local
800 for (argc = 0; argv[argc]; argc++); in dhd_sd_mode()
801 argc--; in dhd_sd_mode()
836 int argc; in dhd_dma_mode() local
840 for (argc = 0; argv[argc]; argc++); in dhd_dma_mode()
841 argc--; in dhd_dma_mode()
888 uint argc; in dhd_sdreg() local
896 for (argc = 0; argv[argc]; argc++); in dhd_sdreg()
897 argc--; in dhd_sdreg()
900 if (argc < 1) { in dhd_sdreg()
924 if (argc > 1) { in dhd_sdreg()
932 if (argc <= 1) { in dhd_sdreg()
947 uint argc; in dhd_membytes() local
989 for (argc = 0; argv[argc]; argc++); in dhd_membytes()
992 if (argc < 2) { in dhd_membytes()
997 if (argc < 3 && hexin) { in dhd_membytes()
1001 if ((argc > 2) && (rawout)) { in dhd_membytes()
1021 if (align && argc > 2) { in dhd_membytes()
1027 if (argc == 2) { in dhd_membytes()
1214 uint argc; in dhd_sprom()
1227 for (argc = 0; argv[argc]; argc++); in dhd_sprom()
1228 argc--; in dhd_sprom()
1237 if (argc) { in dhd_sprom()
1260 if (argc == 0) { in dhd_sprom()
1262 } else if ((argc == 1) || in dhd_sprom()
1263 ((argc == 2) && ((nocrc = !strcmp(argv[1], "-c"))))) { in dhd_sprom()
1348 if (argc) { in dhd_sprom()
1453 uint argc; in dhd_vars() local
1459 for (argc = 0; argv[argc]; argc++); in dhd_vars()
1460 argc--; in dhd_vars()
1462 switch (argc) { in dhd_vars()
2534 uint argc; in dhd_logstamp() local
2538 for (argc = 0; argv[argc]; argc++); in dhd_logstamp()
2539 argc--; argv++; in dhd_logstamp()
2541 if (argc > 2) in dhd_logstamp()
2544 if (argc) { in dhd_logstamp()
2552 if (argc > 1) { in dhd_logstamp()
2560 ret = dhd_var_setbuf(dhd, cmd->name, valn, argc * sizeof(int)); in dhd_logstamp()
2571 uint argc; in dhd_sd_reg() local
2577 for (argc = 0; argv[argc]; argc++); in dhd_sd_reg()
2578 argc--; in dhd_sd_reg()
2583 if (argc < 1) { in dhd_sd_reg()
2590 if (argc < 2) { in dhd_sd_reg()