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

/linux-4.4.14/arch/um/drivers/
H A Dslip_user.c30 struct termios tios; set_up_tty() local
32 if (tcgetattr(fd, &tios) < 0) { set_up_tty()
38 tios.c_cflag = CS8 | CREAD | HUPCL | CLOCAL; set_up_tty()
39 tios.c_iflag = IGNBRK | IGNPAR; set_up_tty()
40 tios.c_oflag = 0; set_up_tty()
41 tios.c_lflag = 0; set_up_tty()
43 tios.c_cc[i] = 0; set_up_tty()
44 tios.c_cc[VMIN] = 1; set_up_tty()
45 tios.c_cc[VTIME] = 0; set_up_tty()
47 cfsetospeed(&tios, B38400); set_up_tty()
48 cfsetispeed(&tios, B38400); set_up_tty()
50 if (tcsetattr(fd, TCSAFLUSH, &tios) < 0) { set_up_tty()

Completed in 191 milliseconds