Home
last modified time | relevance | path

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

/drivers/tty/
Dtty_baudrate.c130 speed_t ibaud, speed_t obaud) in tty_termios_encode_baud_rate() argument
134 int iclose = ibaud/50, oclose = obaud/50; in tty_termios_encode_baud_rate()
138 ibaud = 0; /* Clear ibaud to be sure */ in tty_termios_encode_baud_rate()
140 termios->c_ispeed = ibaud; in tty_termios_encode_baud_rate()
175 if (ibaud - iclose <= baud_table[i] && in tty_termios_encode_baud_rate()
176 ibaud + iclose >= baud_table[i]) { in tty_termios_encode_baud_rate()
195 if (ifound == -1 && (ibaud != obaud || ibinput)) in tty_termios_encode_baud_rate()
211 void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud, speed_t obaud) in tty_encode_baud_rate() argument
213 tty_termios_encode_baud_rate(&tty->termios, ibaud, obaud); in tty_encode_baud_rate()