Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/tty/
Dtty_baudrate.c90 unsigned int cbaud = (termios->c_cflag >> IBSHIFT) & CBAUD; in tty_termios_input_baud_rate()
143 if (((termios->c_cflag >> IBSHIFT) & CBAUD) != B0) in tty_termios_encode_baud_rate()
156 if (((termios->c_cflag >> IBSHIFT) & CBAUD) == BOTHER) in tty_termios_encode_baud_rate()
160 termios->c_cflag &= ~(CBAUD << IBSHIFT); in tty_termios_encode_baud_rate()
184 termios->c_cflag |= (baud_bits[i] << IBSHIFT); in tty_termios_encode_baud_rate()
196 termios->c_cflag |= (BOTHER << IBSHIFT); in tty_termios_encode_baud_rate()
/Linux-v6.1/include/uapi/asm-generic/
Dtermbits-common.h53 #define IBSHIFT 16 /* Shift from CBAUD to CIBAUD */ macro