/linux/drivers/tty/ |
H A D | tty_baudrate.c | 62 cbaud = termios->c_cflag & CBAUD; in tty_termios_baud_rate() 90 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() 151 if ((termios->c_cflag & CBAUD) == BOTHER) { in tty_termios_encode_baud_rate() 156 if (((termios->c_cflag >> IBSHIFT) & CBAUD) == BOTHER) in tty_termios_encode_baud_rate() 159 termios->c_cflag &= ~CBAUD; in tty_termios_encode_baud_rate() 160 termios->c_cflag &= ~(CBAUD << IBSHIFT); in tty_termios_encode_baud_rate()
|
H A D | amiserial.c | 610 tty->termios.c_cflag &= ~CBAUD; in change_speed() 611 tty->termios.c_cflag |= (old_termios->c_cflag & CBAUD); in change_speed() 1179 if ((old_termios->c_cflag & CBAUD) && !(cflag & CBAUD)) { in rs_set_termios() 1187 if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) { in rs_set_termios()
|
/linux/arch/m68k/atari/ |
H A D | debug.c | 168 int baud = cflag & CBAUD; in atari_init_mfp_port() 218 int baud = cflag & CBAUD; in atari_init_scc_port() 265 int baud = cflag & CBAUD; in atari_init_midi_port()
|
/linux/drivers/mmc/core/ |
H A D | sdio_uart.c | 271 termios->c_cflag &= ~CBAUD; in sdio_uart_change_speed() 273 termios->c_cflag |= old->c_cflag & CBAUD; in sdio_uart_change_speed() 868 if ((old_termios->c_cflag & CBAUD) && !(cflag & CBAUD)) in sdio_uart_set_termios() 872 if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) { in sdio_uart_set_termios()
|
/linux/drivers/usb/serial/ |
H A D | belkin_sa.c | 307 if ((cflag & CBAUD) != (old_cflag & CBAUD)) { in belkin_sa_set_termios() 309 if ((old_cflag & CBAUD) == B0) { in belkin_sa_set_termios()
|
H A D | empeg.c | 113 | CBAUD); /* clear current baud rate */ in empeg_init_termios()
|
H A D | mct_u232.c | 621 if ((old_cflag & CBAUD) == B0) { in mct_u232_set_termios() 629 if ((cflag & CBAUD) == B0) { in mct_u232_set_termios()
|
H A D | upd78f0730.c | 314 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in upd78f0730_set_termios()
|
H A D | spcp8x5.c | 296 if (old_termios && (old_termios->c_cflag & CBAUD) == B0) { in spcp8x5_set_termios()
|
H A D | mos7720.c | 1441 if (cflag & CBAUD) in change_port_settings() 1480 if (cflag & CBAUD) in change_port_settings()
|
H A D | ch341.c | 544 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in ch341_set_termios()
|
H A D | f81232.c | 625 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in f81232_set_termios()
|
H A D | xr_serial.c | 686 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in xr_set_flow_mode()
|
H A D | mxuport.c | 813 if (old_termios && (old_termios->c_cflag & CBAUD) == B0) { in mxuport_set_termios_flow()
|
/linux/arch/powerpc/include/uapi/asm/ |
H A D | termbits.h | 103 #define CBAUD 0x000000ff macro
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | termbits.h | 95 #define CBAUD 0x0000100f macro
|
/linux/include/uapi/asm-generic/ |
H A D | termbits.h | 95 #define CBAUD 0x0000100f macro
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | termbits.h | 113 #define CBAUD 0x0000001f macro
|
/linux/arch/mips/include/uapi/asm/ |
H A D | termbits.h | 119 #define CBAUD 0x0000100f macro
|
/linux/drivers/tty/serial/ |
H A D | suncore.c | 188 if (mouse_baud_table[i].cflag == (cflag & CBAUD)) in suncore_mouse_baud_cflag_next()
|
H A D | serial_core.c | 531 termios->c_cflag &= ~CBAUD; in uart_get_baud_rate() 1739 if (((old_termios->c_cflag & CBAUD) != B0) && ((cflag & CBAUD) == B0)) in uart_set_termios() 1742 else if (((old_termios->c_cflag & CBAUD) == B0) && ((cflag & CBAUD) != B0)) { in uart_set_termios()
|
H A D | sunzilog.c | 285 up->cflag &= ~CBAUD; in sunzilog_change_mouse_baud() 1232 switch (con->cflag & CBAUD) { in sunzilog_console_setup()
|
/linux/drivers/tty/serdev/ |
H A D | serdev-ttyport.c | 173 ktermios.c_cflag &= ~CBAUD; in ttyport_set_baudrate()
|
/linux/include/linux/ |
H A D | tty.h | 88 #define C_BAUD(tty) _C_FLAG((tty), CBAUD)
|
/linux/drivers/bluetooth/ |
H A D | hci_ldisc.c | 379 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate()
|