Home
last modified time | relevance | path

Searched refs:tios (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/um/drivers/
H A Dslip_user.c30 struct termios tios; in set_up_tty() local
32 if (tcgetattr(fd, &tios) < 0) { in set_up_tty()
39 tios.c_iflag = IGNBRK | IGNPAR; in set_up_tty()
40 tios.c_oflag = 0; in set_up_tty()
41 tios.c_lflag = 0; in set_up_tty()
43 tios.c_cc[i] = 0; in set_up_tty()
44 tios.c_cc[VMIN] = 1; in set_up_tty()
45 tios.c_cc[VTIME] = 0; in set_up_tty()
47 cfsetospeed(&tios, B38400); in set_up_tty()
48 cfsetispeed(&tios, B38400); in set_up_tty()
[all …]
/openbmc/u-boot/tools/gdb/
H A Dserial.c18 static struct termios tios = { BRKINT, 0, B115200|CS8|CREAD, 0, { 0 } }; variable
20 static struct termios tios = { BRKINT, 0, B115200|CS8|CREAD, 0, 0 }; variable
68 if (cfsetospeed(&tios, speed) < 0) in serialopen()
74 if (tcsetattr(fd, TCSAFLUSH, &tios) < 0) { in serialopen()