/Documentation/sound/cards/ |
D | multisound.sh | 482 int main(int argc, char *argv[]) 492 X if ((fd = open(argv[1], O_RDWR)) < 0) { 493 X perror(argv[1]); 854 static int cfg_dsp(int argc, char *argv[]) 859 X sscanf(argv[0], "0x%x", &io) != 1 || 860 X sscanf(argv[1], "%d", &irq) != 1 || 861 X sscanf(argv[2], "0x%x", &mem) != 1) 902 static int cfg_mpu(int argc, char *argv[]) 907 X sscanf(argv[0], "0x%x", &io) != 1 || 908 X sscanf(argv[1], "%d", &irq) != 1) [all …]
|
/Documentation/userspace-api/media/rc/ |
D | keytable.c.rst | 62 int main (int argc, char *argv[]) 71 " %s <device> <keycode_file>n",*argv,*argv,*argv); 75 if ((fd = open(argv[1], O_RDONLY)) < 0) { 83 value=parse_code(argv[3]); 86 value = strtol(argv[3], NULL, 0); 91 codes [0] = (unsigned) strtol(argv[2], NULL, 0); 107 fin=fopen(argv[2],"r");
|
/Documentation/block/ |
D | ioprio.rst | 117 int main(int argc, char *argv[]) 122 while ((c = getopt(argc, argv, "+n:c:p:")) != EOF) { 154 if (!pid && argv[optind]) 155 pid = strtol(argv[optind], NULL, 10); 174 if (argv[optind]) 175 execvp(argv[optind], &argv[optind]);
|
/Documentation/usb/ |
D | gadget_printer.rst | 449 main(int argc, char *argv[]) 462 if (argv[i][0] != '-') { 466 if (!strcmp(argv[i], "-get_status")) { 471 } else if (!strcmp(argv[i], "-paper_loaded")) { 476 } else if (!strcmp(argv[i], "-paper_out")) { 481 } else if (!strcmp(argv[i], "-selected")) { 486 } else if (!strcmp(argv[i], "-not_selected")) { 491 } else if (!strcmp(argv[i], "-error")) { 496 } else if (!strcmp(argv[i], "-no_error")) { 501 } else if (!strcmp(argv[i], "-read_data")) { [all …]
|
D | usbdevfs-drop-permissions.c | 56 int main(int argc, char *argv[]) in main() argument 61 fd = open(argv[1], O_RDWR); in main()
|
D | gadget_hid.rst | 368 int main(int argc, const char *argv[]) 382 argv[0]); 386 if (argv[2][0] != 'k' && argv[2][0] != 'm' && argv[2][0] != 'j') 389 filename = argv[1]; 396 print_options(argv[2][0]); 431 if (argv[2][0] == 'k') 433 else if (argv[2][0] == 'm')
|
/Documentation/trace/postprocess/ |
D | decode_msr.py | 9 with open(sys.argv[1] if len(sys.argv) > 1 else "msr-index.h", "r") as f:
|
/Documentation/admin-guide/ |
D | binfmt-misc.rst | 57 ``P`` - preserve-argv[0] 59 the original argv[0] with the full path to the binary. When this 61 vector for this purpose, thus preserving the original ``argv[0]``. 64 …``/bin/foo`` with ``argv[]`` set to ``["/bin/foo", "/usr/local/bin/blah", "blah"]``. The interp h… 66 with ``argv[]`` set to ``["blah"]``.
|
D | java.rst | 223 int main(int argc, char **argv); 297 int main(int argc, char **argv) 303 program = argv[0]; 305 if(!argv[1]) 307 classfile = fopen(argv[1], "rb"); 309 error("%s: Error opening %s\n", program, argv[1]);
|
/Documentation/userspace-api/media/v4l/ |
D | capture.c.rst | 563 static void usage(FILE *fp, int argc, char **argv) 578 argv[0], dev_name, frame_count); 596 int main(int argc, char **argv) 604 c = getopt_long(argc, argv, 619 usage(stdout, argc, argv); 650 usage(stderr, argc, argv);
|
D | v4l2grab.c.rst | 54 int main(int argc, char **argv)
|
/Documentation/x86/ |
D | mtrr.rst | 312 int main (int argc, char **argv) 322 sentry.base = strtoul (argv[1], NULL, 0); 323 sentry.size = strtoul (argv[2], NULL, 0); 326 if (strcmp (argv[3], mtrr_strings[sentry.type]) == 0) break; 330 fprintf (stderr, "Illegal type: \"%s\"\n", argv[3]);
|
D | resctrl.rst | 924 int main(int argc, char *argv[])
|
/Documentation/cdrom/ |
D | ide-cd.rst | 368 main (int argc, char **argv) 378 program = argv[0]; 380 ++argv; 390 if (strcmp (argv[0], "-v") == 0) { 392 ++argv; 396 device = argv[0]; 399 slot = atoi (argv[1]) - 1;
|
/Documentation/admin-guide/media/ |
D | si4713.rst | 149 int main (int argc, char *argv[]) 161 sscanf(argv[1], "%d", &rnl.frequency);
|
/Documentation/dev-tools/ |
D | kcov.rst | 62 int main(int argc, char **argv) 153 int main(int argc, char **argv) 286 int main(int argc, char **argv)
|
/Documentation/userspace-api/media/drivers/ |
D | cx2341x-uapi.rst | 108 int main(int argc, char **argv) 114 else fin = fopen(argv[1], "r");
|
/Documentation/sparc/ |
D | adi.rst | 184 main(int argc, char* argv[], char* envp[])
|
/Documentation/ia64/ |
D | err_inject.rst | 982 int main(int argc, char **argv) 992 while ((c = getopt(argc, argv, "m:iqvhle:")) != EOF)
|
/Documentation/filesystems/ |
D | ramfs-rootfs-initramfs.rst | 274 int main(int argc, char *argv[])
|
/Documentation/trace/ |
D | ftrace.rst | 2304 int main(int argc, char *argv[]) { 2409 int main (int argc, char **argv) 2433 execvp(argv[1], argv+1);
|
/Documentation/scheduler/ |
D | sched-deadline.rst | 873 int main (int argc, char **argv)
|