Home
last modified time | relevance | path

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

1234

/linux-6.6.21/arch/m68k/atari/
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-6.6.21/drivers/tty/serial/
Dfsl_linflexuart.c407 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in linflex_set_termios()
432 while ((termios->c_cflag & CSIZE) != CS8 && in linflex_set_termios()
433 (termios->c_cflag & CSIZE) != CS7) { in linflex_set_termios()
434 termios->c_cflag &= ~CSIZE; in linflex_set_termios()
439 if ((termios->c_cflag & CSIZE) == CS7) { in linflex_set_termios()
444 if ((termios->c_cflag & CSIZE) == CS8) { in linflex_set_termios()
450 if ((termios->c_cflag & CSIZE) != CS8) { in linflex_set_termios()
451 termios->c_cflag &= ~CSIZE; in linflex_set_termios()
462 if ((termios->c_cflag & CSIZE) == CS7) in linflex_set_termios()
Dfsl_lpuart.c1985 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in lpuart_set_termios()
2002 while ((termios->c_cflag & CSIZE) != CS8 && in lpuart_set_termios()
2003 (termios->c_cflag & CSIZE) != CS7) { in lpuart_set_termios()
2004 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
2009 if ((termios->c_cflag & CSIZE) == CS8 || in lpuart_set_termios()
2010 (termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
2014 if ((termios->c_cflag & CSIZE) != CS8) { in lpuart_set_termios()
2015 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
2036 if ((termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
2048 if ((termios->c_cflag & CSIZE) == CS8) in lpuart_set_termios()
[all …]
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()
Drp2.c349 (((cfl & CSIZE) == CS8) ? RP2_UART_CTL_DATABITS_8 : 0) | in __rp2_uart_set_termios()
350 (((cfl & CSIZE) == CS7) ? RP2_UART_CTL_DATABITS_7 : 0) | in __rp2_uart_set_termios()
351 (((cfl & CSIZE) == CS6) ? RP2_UART_CTL_DATABITS_6 : 0) | in __rp2_uart_set_termios()
352 (((cfl & CSIZE) == CS5) ? RP2_UART_CTL_DATABITS_5 : 0)); in __rp2_uart_set_termios()
Ddigicolor-usart.c304 switch (termios->c_cflag & CSIZE) { in digicolor_uart_set_termios()
310 termios->c_cflag &= ~CSIZE; in digicolor_uart_set_termios()
Dvt8500_serial.c365 switch (termios->c_cflag & CSIZE) { in vt8500_set_termios()
371 termios->c_cflag &= ~CSIZE; in vt8500_set_termios()
Dst-asc.c497 if ((cflag & CSIZE) == CS7) { in asc_set_termios()
503 cflag &= ~CSIZE; in asc_set_termios()
Duartlite.c322 termios->c_cflag &= ~(CSTOPB | PARENB | PARODD | CSIZE); in ulite_set_termios()
323 termios->c_cflag |= pdata->cflags & (PARENB | PARODD | CSIZE); in ulite_set_termios()
Dsifive.c636 if ((termios->c_cflag & CSIZE) != CS8) { in sifive_serial_set_termios()
638 termios->c_cflag &= ~CSIZE; in sifive_serial_set_termios()
/linux-6.6.21/drivers/usb/serial/
Dkl5kusb105.c437 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in klsi_105_set_termios()
439 switch (cflag & CSIZE) { in klsi_105_set_termios()
Dempeg.c112 &= ~(CSIZE /* no size */ in empeg_init_termios()
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()
Dbelkin_sa.c360 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in belkin_sa_set_termios()
Ddigi_acceleport.c737 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in digi_set_termios()
739 switch (cflag & CSIZE) { in digi_set_termios()
747 cflag & CSIZE); in digi_set_termios()
Dupd78f0730.c329 tty->termios.c_cflag &= ~CSIZE; in upd78f0730_set_termios()
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dtermbits.h121 #define CSIZE 0x00000300 macro
/linux-6.6.21/include/uapi/asm-generic/
Dtermbits.h96 #define CSIZE 0x00000030 macro
/linux-6.6.21/arch/parisc/include/uapi/asm/
Dtermbits.h96 #define CSIZE 0x00000030 macro
/linux-6.6.21/arch/alpha/include/uapi/asm/
Dtermbits.h131 #define CSIZE 0x00000300 macro
/linux-6.6.21/arch/mips/include/uapi/asm/
Dtermbits.h120 #define CSIZE 0x00000030 /* Number of bits per byte (mask) */ macro
/linux-6.6.21/arch/sparc/include/uapi/asm/
Dtermbits.h125 #define CSIZE 0x00000030 macro
/linux-6.6.21/net/bluetooth/rfcomm/
Dtty.c932 if ((old->c_cflag & CSIZE) != (new->c_cflag & CSIZE)) in rfcomm_tty_set_termios()
935 switch (new->c_cflag & CSIZE) { in rfcomm_tty_set_termios()
/linux-6.6.21/drivers/accessibility/speakup/
Dserialio.c64 cval = cflag & (CSIZE | CSTOPB); in spk_serial_init()
/linux-6.6.21/drivers/ipack/devices/
Dipoctal.c514 switch (cflag & CSIZE) { in ipoctal_set_termios()
525 tty->termios.c_cflag = (cflag & ~CSIZE) | CS8; in ipoctal_set_termios()

1234