Home
last modified time | relevance | path

Searched refs:CSIZE (Results 1 – 25 of 61) sorted by relevance

123

/linux/arch/m68k/atari/
H A Ddebug.c170 int csize = ((cflag & CSIZE) == CS7) ? 0x20 : 0x00; in atari_init_mfp_port()
239 reg3 = (cflag & CSIZE) == CS8 ? 0xc0 : 0x40; in atari_init_scc_port()
240 reg5 = (cflag & CSIZE) == CS8 ? 0x60 : 0x20 | 0x82 /* assert DTR/RTS */; in atari_init_scc_port()
266 int csize = ((cflag & CSIZE) == CS8) ? 0x10 : 0x00; in atari_init_midi_port()
/linux/drivers/tty/serial/
H A Dfsl_linflexuart.c408 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in linflex_set_termios()
433 while ((termios->c_cflag & CSIZE) != CS8 && in linflex_set_termios()
434 (termios->c_cflag & CSIZE) != CS7) { in linflex_set_termios()
435 termios->c_cflag &= ~CSIZE; in linflex_set_termios()
440 if ((termios->c_cflag & CSIZE) == CS7) { in linflex_set_termios()
445 if ((termios->c_cflag & CSIZE) == CS8) { in linflex_set_termios()
451 if ((termios->c_cflag & CSIZE) != CS8) { in linflex_set_termios()
452 termios->c_cflag &= ~CSIZE; in linflex_set_termios()
463 if ((termios->c_cflag & CSIZE) == CS7) in linflex_set_termios()
H A Dfsl_lpuart.c1995 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in lpuart_set_termios()
2012 while ((termios->c_cflag & CSIZE) != CS8 && in lpuart_set_termios()
2013 (termios->c_cflag & CSIZE) != CS7) { in lpuart_set_termios()
2014 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
2019 if ((termios->c_cflag & CSIZE) == CS8 || in lpuart_set_termios()
2020 (termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
2024 if ((termios->c_cflag & CSIZE) != CS8) { in lpuart_set_termios()
2025 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
2046 if ((termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
2058 if ((termios->c_cflag & CSIZE) == CS8) in lpuart_set_termios()
[all …]
H A Dsa1100.c393 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in sa1100_set_termios()
398 while ((termios->c_cflag & CSIZE) != CS7 && in sa1100_set_termios()
399 (termios->c_cflag & CSIZE) != CS8) { in sa1100_set_termios()
400 termios->c_cflag &= ~CSIZE; in sa1100_set_termios()
405 if ((termios->c_cflag & CSIZE) == CS8) in sa1100_set_termios()
H A Ddigicolor-usart.c304 switch (termios->c_cflag & CSIZE) { in digicolor_uart_set_termios()
310 termios->c_cflag &= ~CSIZE; in digicolor_uart_set_termios()
H A Dvt8500_serial.c365 switch (termios->c_cflag & CSIZE) { in vt8500_set_termios()
371 termios->c_cflag &= ~CSIZE; in vt8500_set_termios()
H A Dst-asc.c498 if ((cflag & CSIZE) == CS7) { in asc_set_termios()
504 cflag &= ~CSIZE; in asc_set_termios()
H A Drda-uart.c258 switch (termios->c_cflag & CSIZE) { in rda_uart_set_termios()
265 termios->c_cflag &= ~CSIZE; in rda_uart_set_termios()
H A Dsifive.c645 if ((termios->c_cflag & CSIZE) != CS8) { in sifive_serial_set_termios()
647 termios->c_cflag &= ~CSIZE; in sifive_serial_set_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()
H A Dlantiq.c402 switch (cflag & CSIZE) { in lqasc_set_termios()
410 new->c_cflag &= ~ CSIZE; in lqasc_set_termios()
H A Dmax3100.c470 if ((cflag & CSIZE) == CS8) { in max3100_set_termios()
476 cflag = (cflag & ~CSIZE) | CS7; in max3100_set_termios()
/linux/drivers/usb/serial/
H A Dkl5kusb105.c436 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in klsi_105_set_termios()
438 switch (cflag & CSIZE) { in klsi_105_set_termios()
H A Dempeg.c111 &= ~(CSIZE /* no size */ in empeg_init_termios()
H A Dxr_serial.c705 termios->c_cflag &= ~CSIZE; in xr21v141x_set_line_settings()
707 termios->c_cflag |= old_termios->c_cflag & CSIZE; in xr21v141x_set_line_settings()
791 tty->termios.c_cflag &= ~CSIZE; in xr_cdc_set_line_coding()
793 tty->termios.c_cflag |= old_termios->c_cflag & CSIZE; in xr_cdc_set_line_coding()
H A Dbelkin_sa.c359 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in belkin_sa_set_termios()
H A Ddigi_acceleport.c735 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in digi_set_termios()
737 switch (cflag & CSIZE) { in digi_set_termios()
745 cflag & CSIZE); in digi_set_termios()
/linux/arch/powerpc/include/uapi/asm/
H A Dtermbits.h121 #define CSIZE 0x00000300 macro
/linux/arch/parisc/include/uapi/asm/
H A Dtermbits.h96 #define CSIZE 0x00000030 macro
/linux/include/uapi/asm-generic/
H A Dtermbits.h96 #define CSIZE 0x00000030 macro
/linux/arch/alpha/include/uapi/asm/
H A Dtermbits.h131 #define CSIZE 0x00000300 macro
/linux/arch/mips/include/uapi/asm/
H A Dtermbits.h120 #define CSIZE 0x00000030 /* Number of bits per byte (mask) */ macro
/linux/net/bluetooth/rfcomm/
H A Dtty.c924 if ((old->c_cflag & CSIZE) != (new->c_cflag & CSIZE)) in rfcomm_tty_set_termios()
927 switch (new->c_cflag & CSIZE) { in rfcomm_tty_set_termios()
/linux/drivers/accessibility/speakup/
H A Dserialio.c64 cval = cflag & (CSIZE | CSTOPB); in spk_serial_init()
/linux/drivers/ipack/devices/
H A Dipoctal.c512 switch (cflag & CSIZE) { in ipoctal_set_termios()
523 tty->termios.c_cflag = (cflag & ~CSIZE) | CS8; in ipoctal_set_termios()

123