Lines Matching refs:cbaud
60 unsigned int cbaud; in tty_termios_baud_rate() local
62 cbaud = termios->c_cflag & CBAUD; in tty_termios_baud_rate()
65 if (cbaud == BOTHER) in tty_termios_baud_rate()
68 if (cbaud & CBAUDEX) { in tty_termios_baud_rate()
69 cbaud &= ~CBAUDEX; in tty_termios_baud_rate()
70 cbaud += 15; in tty_termios_baud_rate()
72 return cbaud >= n_baud_table ? 0 : baud_table[cbaud]; in tty_termios_baud_rate()
90 unsigned int cbaud = (termios->c_cflag >> IBSHIFT) & CBAUD; in tty_termios_input_baud_rate() local
92 if (cbaud == B0) in tty_termios_input_baud_rate()
96 if (cbaud == BOTHER) in tty_termios_input_baud_rate()
99 if (cbaud & CBAUDEX) { in tty_termios_input_baud_rate()
100 cbaud &= ~CBAUDEX; in tty_termios_input_baud_rate()
101 cbaud += 15; in tty_termios_input_baud_rate()
103 return cbaud >= n_baud_table ? 0 : baud_table[cbaud]; in tty_termios_input_baud_rate()