Home
last modified time | relevance | path

Searched refs:PARENB (Results 1 – 25 of 93) sorted by relevance

1234

/linux/drivers/tty/serdev/
H A Dserdev-ttyport.c132 ktermios.c_cflag &= ~(CSIZE | PARENB); in ttyport_open()
202 ktermios.c_cflag &= ~(PARENB | PARODD | CMSPAR); in ttyport_set_parity()
204 ktermios.c_cflag |= PARENB; in ttyport_set_parity()
211 if ((tty->termios.c_cflag & (PARENB | PARODD | CMSPAR)) != in ttyport_set_parity()
212 (ktermios.c_cflag & (PARENB | PARODD | CMSPAR))) in ttyport_set_parity()
/linux/arch/m68k/atari/
H A Ddebug.c169 int parity = (cflag & PARENB) ? ((cflag & PARODD) ? 0x04 : 0x06) : 0; in atari_init_mfp_port()
245 SCC_WRITE(4, (cflag & PARENB) ? ((cflag & PARODD) ? 0x01 : 0x03) in atari_init_scc_port()
268 int parity = (cflag & PARENB) ? ((cflag & PARODD) ? 0x0c : 0x08) : 0x04; in atari_init_midi_port()
/linux/drivers/tty/serial/
H A Dsuncore.c157 case 'o': cflag |= (PARENB | PARODD); break; in sunserial_console_termios()
158 case 'e': cflag |= PARENB; break; in sunserial_console_termios()
H A Duartlite.c330 termios->c_cflag &= ~(CSTOPB | PARENB | PARODD | CSIZE); in ulite_set_termios()
331 termios->c_cflag |= pdata->cflags & (PARENB | PARODD | CSIZE); in ulite_set_termios()
821 pdata->cflags |= PARENB; in ulite_probe()
H A Dst-asc.c500 cflag |= PARENB; in asc_set_termios()
502 ctrl_val |= (cflag & PARENB) ? ASC_CTL_MODE_8BIT_PAR : in asc_set_termios()
H A Dfsl_linflexuart.c464 termios->c_cflag |= PARENB; in linflex_set_termios()
466 if ((termios->c_cflag & PARENB)) { in linflex_set_termios()
H A D21285.c266 if (termios->c_cflag & PARENB) { in serial21285_set_termios()
H A Dapbuart.c221 if (termios->c_cflag & PARENB) { in apbuart_set_termios()
H A Dfsl_lpuart.c2033 termios->c_cflag |= PARENB; in lpuart_set_termios()
2035 if (termios->c_cflag & PARENB) { in lpuart_set_termios()
2274 if ((termios->c_cflag & CSIZE) == CS7 && !(termios->c_cflag & PARENB)) { in lpuart32_set_termios()
2280 termios->c_cflag |= PARENB; in lpuart32_set_termios()
2283 if ((termios->c_cflag & PARENB)) { in lpuart32_set_termios()
/linux/drivers/usb/serial/
H A Dkl5kusb105.c463 if ((cflag & (PARENB|PARODD)) != (old_cflag & (PARENB|PARODD)) in klsi_105_set_termios()
466 tty->termios.c_cflag &= ~(PARENB|PARODD|CSTOPB); in klsi_105_set_termios()
H A Dempeg.c112 | PARENB /* disable parity bit */ in empeg_init_termios()
H A Dbelkin_sa.c348 if ((cflag ^ old_cflag) & (PARENB | PARODD)) { in belkin_sa_set_termios()
349 if (cflag & PARENB) in belkin_sa_set_termios()
H A Dconsole.c101 cflag |= PARENB; in usb_console_setup()
H A Diuu_phoenix.c885 const u32 supported_mask = CMSPAR|PARENB|PARODD; in iuu_set_termios()
907 } else if (!(cflag & PARENB)) { in iuu_set_termios()
950 tty->termios.c_cflag = B9600 | CS8 | CSTOPB | CREAD | PARENB | CLOCAL; in iuu_init_termios()
H A Ddigi_acceleport.c720 if ((cflag & (PARENB | PARODD)) != (old_cflag & (PARENB | PARODD))) { in digi_set_termios()
721 if (cflag & PARENB) { in digi_set_termios()
H A Dspcp8x5.c358 if (cflag & PARENB) { in spcp8x5_set_termios()
H A Dssu100.c227 if (cflag & PARENB) { in ssu100_set_termios()
/linux/arch/powerpc/include/uapi/asm/
H A Dtermbits.h128 #define PARENB 0x00001000 macro
/linux/arch/parisc/include/uapi/asm/
H A Dtermbits.h103 #define PARENB 0x00000100 macro
/linux/include/uapi/asm-generic/
H A Dtermbits.h103 #define PARENB 0x00000100 macro
/linux/arch/alpha/include/uapi/asm/
H A Dtermbits.h138 #define PARENB 0x00001000 macro
/linux/arch/mips/include/uapi/asm/
H A Dtermbits.h127 #define PARENB 0x00000100 /* Parity enable */ macro
/linux/net/bluetooth/rfcomm/
H A Dtty.c877 if (((old->c_cflag & PARENB) != (new->c_cflag & PARENB)) || in rfcomm_tty_set_termios()
884 if (new->c_cflag & PARENB) { in rfcomm_tty_set_termios()
/linux/drivers/accessibility/speakup/
H A Dserialio.c70 if (cflag & PARENB) in spk_serial_init()
/linux/include/linux/
H A Dtty.h92 #define C_PARENB(tty) _C_FLAG((tty), PARENB)

1234