Home
last modified time | relevance | path

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

1234

/linux-6.12.1/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.12.1/drivers/tty/serial/
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()
Dfsl_lpuart.c1980 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in lpuart_set_termios()
1997 while ((termios->c_cflag & CSIZE) != CS8 && in lpuart_set_termios()
1998 (termios->c_cflag & CSIZE) != CS7) { in lpuart_set_termios()
1999 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
2004 if ((termios->c_cflag & CSIZE) == CS8 || in lpuart_set_termios()
2005 (termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
2009 if ((termios->c_cflag & CSIZE) != CS8) { in lpuart_set_termios()
2010 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
2031 if ((termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
2043 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.c348 (((cfl & CSIZE) == CS8) ? RP2_UART_CTL_DATABITS_8 : 0) | in __rp2_uart_set_termios()
349 (((cfl & CSIZE) == CS7) ? RP2_UART_CTL_DATABITS_7 : 0) | in __rp2_uart_set_termios()
350 (((cfl & CSIZE) == CS6) ? RP2_UART_CTL_DATABITS_6 : 0) | in __rp2_uart_set_termios()
351 (((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()
Drda-uart.c258 switch (termios->c_cflag & CSIZE) { in rda_uart_set_termios()
265 termios->c_cflag &= ~CSIZE; in rda_uart_set_termios()
Dst-asc.c498 if ((cflag & CSIZE) == CS7) { in asc_set_termios()
504 cflag &= ~CSIZE; in asc_set_termios()
Dsifive.c637 if ((termios->c_cflag & CSIZE) != CS8) { in sifive_serial_set_termios()
639 termios->c_cflag &= ~CSIZE; in sifive_serial_set_termios()
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()
/linux-6.12.1/drivers/usb/serial/
Dkl5kusb105.c436 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in klsi_105_set_termios()
438 switch (cflag & CSIZE) { in klsi_105_set_termios()
Dempeg.c111 &= ~(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.c359 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in belkin_sa_set_termios()
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-6.12.1/arch/powerpc/include/uapi/asm/
Dtermbits.h121 #define CSIZE 0x00000300 macro
/linux-6.12.1/include/uapi/asm-generic/
Dtermbits.h96 #define CSIZE 0x00000030 macro
/linux-6.12.1/arch/parisc/include/uapi/asm/
Dtermbits.h96 #define CSIZE 0x00000030 macro
/linux-6.12.1/arch/mips/include/uapi/asm/
Dtermbits.h120 #define CSIZE 0x00000030 /* Number of bits per byte (mask) */ macro
/linux-6.12.1/arch/alpha/include/uapi/asm/
Dtermbits.h131 #define CSIZE 0x00000300 macro
/linux-6.12.1/arch/sparc/include/uapi/asm/
Dtermbits.h115 #define CSIZE 0x00000030 macro
/linux-6.12.1/net/bluetooth/rfcomm/
Dtty.c929 if ((old->c_cflag & CSIZE) != (new->c_cflag & CSIZE)) in rfcomm_tty_set_termios()
932 switch (new->c_cflag & CSIZE) { in rfcomm_tty_set_termios()
/linux-6.12.1/drivers/accessibility/speakup/
Dserialio.c64 cval = cflag & (CSIZE | CSTOPB); in spk_serial_init()
/linux-6.12.1/drivers/ipack/devices/
Dipoctal.c512 switch (cflag & CSIZE) { in ipoctal_set_termios()
523 tty->termios.c_cflag = (cflag & ~CSIZE) | CS8; in ipoctal_set_termios()

1234