/Documentation/timers/ |
D | hpet_example.c | 29 void (*func)(int argc, const char ** argv); 50 main(int argc, const char ** argv) in main() argument 54 argc--; in main() 57 if (!argc) { in main() 65 argc--; in main() 69 hpet_command[i].func(argc, argv); in main() 79 hpet_open_close(int argc, const char **argv) in hpet_open_close() argument 83 if (argc != 1) { in hpet_open_close() 98 hpet_info(int argc, const char **argv) in hpet_info() argument 103 if (argc != 1) { in hpet_info() [all …]
|
/Documentation/networking/timestamping/ |
D | hwtstamp_config.c | 85 int main(int argc, char **argv) in main() argument 92 if ((argc != 2 && argc != 4) || (strlen(argv[1]) >= IFNAMSIZ)) { in main() 97 if (argc == 4) { in main() 116 if (ioctl(sock, (argc == 2) ? SIOCGHWTSTAMP : SIOCSHWTSTAMP, &ifr)) { in main()
|
D | txtimestamp.c | 336 static void parse_opt(int argc, char **argv) in parse_opt() argument 341 while ((c = getopt(argc, argv, "46hl:p:rRu")) != -1) { in parse_opt() 385 if (optind != argc - 1) in parse_opt() 450 int main(int argc, char **argv) in main() argument 452 if (argc == 1) in main() 455 parse_opt(argc, argv); in main() 456 resolve_hostname(argv[argc - 1]); in main()
|
D | timestamping.c | 314 int main(int argc, char **argv) in main() argument 336 if (argc < 2) in main() 340 for (i = 2; i < argc; i++) { in main()
|
/Documentation/sound/oss/ |
D | MultiSound | 481 int main(int argc, char *argv[]) 486 X if (argc != 2) { 853 static int cfg_dsp(int argc, char *argv[]) 857 X if (argc < 3 || 901 static int cfg_mpu(int argc, char *argv[]) 905 X if (argc < 2 || 913 static int cfg_ide(int argc, char *argv[]) 917 X if (argc < 3 || 926 static int cfg_joystick(int argc, char *argv[]) 930 X if (argc < 1 || [all …]
|
/Documentation/spi/ |
D | spidev_test.c | 107 static void parse_opts(int argc, char *argv[]) in parse_opts() argument 129 c = getopt_long(argc, argv, "D:s:d:b:lHOLC3NR24", lopts, NULL); in parse_opts() 190 int main(int argc, char *argv[]) in main() argument 195 parse_opts(argc, argv); in main()
|
D | spidev_fdx.c | 105 int main(int argc, char **argv) in main() argument 113 while ((c = getopt(argc, argv, "hm:r:v")) != EOF) { in main() 138 if ((optind + 1) != argc) in main()
|
/Documentation/laptops/ |
D | freefall.c | 107 int main(int argc, char **argv) in main() argument 113 if (argc == 1) in main() 115 else if (argc == 2) in main()
|
D | dslm.c | 132 int main(int argc, char **argv) in main() argument 139 if (argc == 2) in main() 141 else if (argc == 4) { in main()
|
/Documentation/pcmcia/ |
D | crc32hash.c | 23 int main(int argc, char **argv) { in main() argument 25 if (argc != 2) { in main()
|
/Documentation/watchdog/src/ |
D | watchdog-test.c | 41 int main(int argc, char *argv[]) in main() argument 53 if (argc > 1) { in main()
|
/Documentation/connector/ |
D | ucon.c | 111 int main(int argc, char *argv[]) in main() argument 124 while ((s = getopt(argc, argv, "hs")) != -1) { in main() 141 if (argc != optind) { in main()
|
/Documentation/vDSO/ |
D | vdso_standalone_test_x86.c | 78 long argc = (long)*stack; in c_main() local 79 stack += argc + 2; in c_main()
|
D | vdso_test.c | 22 int main(int argc, char **argv) in main() argument
|
/Documentation/auxdisplay/ |
D | cfag12864b-example.c | 256 int main(int argc, char *argv[]) in main() argument 260 if (argc != 2) { in main()
|
/Documentation/prctl/ |
D | disable-tsc-on-off-stress-test.c | 81 int main(int argc, char **argv) in main() argument
|
D | disable-tsc-ctxt-sw-stress-test.c | 77 int main(int argc, char **argv) in main() argument
|
D | disable-tsc-test.c | 60 int main(int argc, char **argv) in main() argument
|
/Documentation/ptp/ |
D | testptp.c | 143 int main(int argc, char *argv[]) in main() argument 188 while (EOF != (c = getopt(argc, argv, "a:A:cd:e:f:ghi:k:lL:p:P:sSt:T:v"))) { in main()
|
/Documentation/video4linux/cx2341x/ |
D | README.hm12 | 97 int main(int argc, char **argv) 102 if (argc == 1) fin = stdin;
|
/Documentation/misc-devices/mei/ |
D | mei-amt-version.c | 438 int main(int argc, char **argv) in main() argument 447 verbose = (argc > 1 && strcmp(argv[1], "-v") == 0); in main()
|
/Documentation/block/ |
D | ioprio.txt | 116 int main(int argc, char *argv[]) 121 while ((c = getopt(argc, argv, "+n:c:p:")) != EOF) {
|
/Documentation/accounting/ |
D | getdelays.c | 255 int main(int argc, char *argv[]) in main() argument 283 c = getopt(argc, argv, "qdiw:r:m:t:p:vlC:c:"); in main()
|
/Documentation/usb/ |
D | gadget_printer.txt | 436 main(int argc, char *argv[]) 442 if (argc == 1) { 447 for (i = 1; i < argc && !retval; i ++) {
|
/Documentation/cdrom/ |
D | ide-cd | 368 main (int argc, char **argv) 381 --argc; 383 if (argc < 1 || argc > 3) { 393 --argc; 398 if (argc == 2)
|