Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/ptp/
Dtestptp.c114 static void usage(char *progname) in usage() argument
141 progname); in usage()
156 char *progname; in main() local
181 progname = strrchr(argv[0], '/'); in main()
182 progname = progname ? 1+progname : argv[0]; in main()
213 usage(progname); in main()
240 usage(progname); in main()
244 usage(progname); in main()
434 usage(progname); in main()
/tools/power/acpi/tools/ec/
Dec_access.c35 void usage(char progname[], int exit_status) in usage() argument
38 printf("1) %s -r [-s sleep]\n", basename(progname)); in usage()
39 printf("2) %s -b byte_offset\n", basename(progname)); in usage()
40 printf("3) %s -w byte_offset -v value\n\n", basename(progname)); in usage()
/tools/testing/selftests/watchdog/
Dwatchdog-test.c71 static void usage(char *progname) in usage() argument
73 printf("Usage: %s [options]\n", progname); in usage()
90 printf("Example: %s -d -t 10 -p 5 -e\n", progname); in usage()
91 printf("Example: %s -t 12 -T -n 7 -N\n", progname); in usage()
/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c35 static char *progname; variable
355 progname = basename(argv[0]); in cmdline()
/tools/power/acpi/tools/acpidbg/
Dacpidbg.c369 void usage(FILE *file, char *progname) in usage() argument
371 fprintf(file, "usage: %s [-b cmd] [-f file] [-h]\n", progname); in usage()
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c55 char *progname; variable
99 fprintf(stderr, "%s [options] [scope][field value]\n", progname); in usage()
108 fprintf(stderr, "%s: [-c cpu] [-v] (-r | policy-value )\n", progname); in usage()
546 progname = argv[0]; in cmdline()
/tools/power/x86/intel-speed-select/
Disst-config.c20 static char *progname; variable
1645 progname = argv[0]; in cmdline()
/tools/power/x86/turbostat/
Dturbostat.c158 char *progname; variable
3172 " try \"# setcap cap_sys_rawio=ep %s\"", progname); in check_for_cap_sys_rawio()
5297 fprintf(outf, "%s: Counter reset detected\n", progname); in fork_it()
5687 progname = argv[0]; in cmdline()