Home
last modified time | relevance | path

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

/tools/testing/selftests/tty/
A Dtty_tstamp_update.c16 static bool tty_valid(char *tty) in tty_valid() argument
18 if (strlen(tty) < MIN_TTY_PATH_LEN) in tty_valid()
21 if (strncmp(tty, "/dev/tty", MIN_TTY_PATH_LEN) == 0 || in tty_valid()
22 strncmp(tty, "/dev/pts", MIN_TTY_PATH_LEN) == 0) in tty_valid()
48 char tty[PATH_MAX] = {}; in main() local
55 r = readlink("/proc/self/fd/0", tty, PATH_MAX); in main()
61 if (!tty_valid(tty)) { in main()
62 ksft_print_msg("invalid tty path '%s'\n", tty); in main()
68 r = stat(tty, &st1); in main()
70 ksft_print_msg("stat failed on tty path '%s': %m\n", tty); in main()
[all …]
/tools/arch/x86/dell-uart-backlight-emulator/
A Ddell-uart-backlight-emulator.c44 struct termios tty, saved_tty; in main() local
59 ret = tcgetattr(serial_fd, &tty); in main()
64 saved_tty = tty; in main()
66 cfsetspeed(&tty, 9600); in main()
67 cfmakeraw(&tty); in main()
68 tty.c_cflag &= ~CSTOPB; in main()
69 tty.c_cflag &= ~CRTSCTS; in main()
70 tty.c_cflag |= CLOCAL | CREAD; in main()
72 ret = tcsetattr(serial_fd, TCSANOW, &tty); in main()
A DREADME32 ./dell-uart-backlight-emulator <path-to-/dev/tty*S#-for-second-port>
/tools/testing/selftests/rcutorture/bin/
A Dkvm-test-1-run-qemu.sh82 echo Waiting for you to attach a debug session, for example: > /dev/tty
83 echo " gdb $base_resdir/vmlinux" > /dev/tty
84 echo 'After symbols load and the "(gdb)" prompt appears:' > /dev/tty
85 echo " target remote :1234" > /dev/tty
86 echo " continue" > /dev/tty
/tools/perf/ui/tui/
A Dsetup.c128 static struct termios tty; in ui__sigcont() local
131 while (tcgetattr(SLang_TT_Read_FD, &tty) == -1 && errno == EINTR) in ui__sigcont()
137 while (tcsetattr(SLang_TT_Read_FD, TCSADRAIN, &tty) == -1 && errno == EINTR) in ui__sigcont()
/tools/testing/selftests/
A DMakefile121 TARGETS += tty
/tools/perf/Documentation/
A Dperf-annotate.txt91 --tui:: Use the TUI interface. Use of --tui requires a tty, if one is not
A Dperf-report.txt347 requires a tty, if one is not present, as when piping to other

Completed in 12 milliseconds