Home
last modified time | relevance | path

Searched refs:CBAUD (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/tty/
H A Dtty_baudrate.c62 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 Damiserial.c610 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 Ddebug.c168 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 Dsdio_uart.c271 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 Dbelkin_sa.c307 if ((cflag & CBAUD) != (old_cflag & CBAUD)) { in belkin_sa_set_termios()
309 if ((old_cflag & CBAUD) == B0) { in belkin_sa_set_termios()
H A Dempeg.c113 | CBAUD); /* clear current baud rate */ in empeg_init_termios()
H A Dmct_u232.c621 if ((old_cflag & CBAUD) == B0) { in mct_u232_set_termios()
629 if ((cflag & CBAUD) == B0) { in mct_u232_set_termios()
H A Dupd78f0730.c314 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in upd78f0730_set_termios()
H A Dspcp8x5.c296 if (old_termios && (old_termios->c_cflag & CBAUD) == B0) { in spcp8x5_set_termios()
H A Dmos7720.c1441 if (cflag & CBAUD) in change_port_settings()
1480 if (cflag & CBAUD) in change_port_settings()
H A Dch341.c544 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in ch341_set_termios()
H A Df81232.c625 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in f81232_set_termios()
H A Dxr_serial.c686 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) in xr_set_flow_mode()
H A Dmxuport.c813 if (old_termios && (old_termios->c_cflag & CBAUD) == B0) { in mxuport_set_termios_flow()
/linux/arch/powerpc/include/uapi/asm/
H A Dtermbits.h103 #define CBAUD 0x000000ff macro
/linux/arch/parisc/include/uapi/asm/
H A Dtermbits.h95 #define CBAUD 0x0000100f macro
/linux/include/uapi/asm-generic/
H A Dtermbits.h95 #define CBAUD 0x0000100f macro
/linux/arch/alpha/include/uapi/asm/
H A Dtermbits.h113 #define CBAUD 0x0000001f macro
/linux/arch/mips/include/uapi/asm/
H A Dtermbits.h119 #define CBAUD 0x0000100f macro
/linux/drivers/tty/serial/
H A Dsuncore.c188 if (mouse_baud_table[i].cflag == (cflag & CBAUD)) in suncore_mouse_baud_cflag_next()
H A Dserial_core.c531 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 Dsunzilog.c285 up->cflag &= ~CBAUD; in sunzilog_change_mouse_baud()
1232 switch (con->cflag & CBAUD) { in sunzilog_console_setup()
/linux/drivers/tty/serdev/
H A Dserdev-ttyport.c173 ktermios.c_cflag &= ~CBAUD; in ttyport_set_baudrate()
/linux/include/linux/
H A Dtty.h88 #define C_BAUD(tty) _C_FLAG((tty), CBAUD)
/linux/drivers/bluetooth/
H A Dhci_ldisc.c379 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate()

12