Home
last modified time | relevance | path

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

12345

/Linux-v4.19/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-v4.19/drivers/tty/serial/
Dfsl_lpuart.c988 bits = (termios->c_cflag & CSIZE) == CS7 ? 9 : 10; in lpuart_start_rx_dma()
1407 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in lpuart_set_termios()
1424 while ((termios->c_cflag & CSIZE) != CS8 && in lpuart_set_termios()
1425 (termios->c_cflag & CSIZE) != CS7) { in lpuart_set_termios()
1426 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
1431 if ((termios->c_cflag & CSIZE) == CS8 || in lpuart_set_termios()
1432 (termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
1436 if ((termios->c_cflag & CSIZE) != CS8) { in lpuart_set_termios()
1437 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
1461 if ((termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
[all …]
Dpnx8xxx_uart.c446 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in pnx8xxx_set_termios()
451 while ((termios->c_cflag & CSIZE) != CS7 && in pnx8xxx_set_termios()
452 (termios->c_cflag & CSIZE) != CS8) { in pnx8xxx_set_termios()
453 termios->c_cflag &= ~CSIZE; in pnx8xxx_set_termios()
458 if ((termios->c_cflag & CSIZE) == CS8) in pnx8xxx_set_termios()
Dsa1100.c411 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in sa1100_set_termios()
416 while ((termios->c_cflag & CSIZE) != CS7 && in sa1100_set_termios()
417 (termios->c_cflag & CSIZE) != CS8) { in sa1100_set_termios()
418 termios->c_cflag &= ~CSIZE; in sa1100_set_termios()
423 if ((termios->c_cflag & CSIZE) == CS8) in sa1100_set_termios()
Drp2.c350 (((cfl & CSIZE) == CS8) ? RP2_UART_CTL_DATABITS_8 : 0) | in __rp2_uart_set_termios()
351 (((cfl & CSIZE) == CS7) ? RP2_UART_CTL_DATABITS_7 : 0) | in __rp2_uart_set_termios()
352 (((cfl & CSIZE) == CS6) ? RP2_UART_CTL_DATABITS_6 : 0) | in __rp2_uart_set_termios()
353 (((cfl & CSIZE) == CS5) ? RP2_UART_CTL_DATABITS_5 : 0)); in __rp2_uart_set_termios()
Dlantiq.c389 switch (cflag & CSIZE) { in lqasc_set_termios()
397 new->c_cflag &= ~ CSIZE; in lqasc_set_termios()
Dvt8500_serial.c392 switch (termios->c_cflag & CSIZE) { in vt8500_set_termios()
398 termios->c_cflag &= ~CSIZE; in vt8500_set_termios()
/Linux-v4.19/drivers/usb/serial/
Dkl5kusb105.c467 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in klsi_105_set_termios()
469 switch (cflag & CSIZE) { in klsi_105_set_termios()
Dbelkin_sa.c360 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in belkin_sa_set_termios()
361 switch (cflag & CSIZE) { in belkin_sa_set_termios()
Dempeg.c112 &= ~(CSIZE /* no size */ in empeg_init_termios()
Dcp210x.c902 cflag &= ~CSIZE; in cp210x_get_termios_port()
1145 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in cp210x_set_termios()
1148 switch (cflag & CSIZE) { in cp210x_set_termios()
Ddigi_acceleport.c758 if ((cflag&CSIZE) != (old_cflag&CSIZE)) { in digi_set_termios()
760 switch (cflag&CSIZE) { in digi_set_termios()
768 (cflag&CSIZE)); in digi_set_termios()
Dupd78f0730.c332 tty->termios.c_cflag &= ~CSIZE; in upd78f0730_set_termios()
/Linux-v4.19/arch/parisc/include/uapi/asm/
Dtermbits.h133 #define CSIZE 0000060 macro
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dtermbits.h161 #define CSIZE 00001400 macro
/Linux-v4.19/arch/ia64/include/uapi/asm/
Dtermbits.h141 #define CSIZE 0000060 macro
/Linux-v4.19/arch/alpha/include/uapi/asm/
Dtermbits.h156 #define CSIZE 00001400 macro
/Linux-v4.19/arch/xtensa/include/uapi/asm/
Dtermbits.h149 #define CSIZE 0000060 macro
/Linux-v4.19/include/uapi/asm-generic/
Dtermbits.h132 #define CSIZE 0000060 macro
/Linux-v4.19/arch/mips/include/uapi/asm/
Dtermbits.h156 #define CSIZE 0000060 /* Number of bits per byte (mask). */ macro
/Linux-v4.19/arch/sparc/include/uapi/asm/
Dtermbits.h164 #define CSIZE 0x00000030 macro
/Linux-v4.19/drivers/staging/speakup/
Dserialio.c62 cval = cflag & (CSIZE | CSTOPB); in spk_serial_init()
/Linux-v4.19/net/bluetooth/rfcomm/
Dtty.c943 if ((old->c_cflag & CSIZE) != (new->c_cflag & CSIZE)) in rfcomm_tty_set_termios()
946 switch (new->c_cflag & CSIZE) { in rfcomm_tty_set_termios()
/Linux-v4.19/drivers/ipack/devices/
Dipoctal.c496 switch (cflag & CSIZE) { in ipoctal_set_termios()
507 tty->termios.c_cflag = (cflag & ~CSIZE) | CS8; in ipoctal_set_termios()
/Linux-v4.19/drivers/tty/serdev/
Dserdev-ttyport.c134 ktermios.c_cflag &= ~(CSIZE | PARENB); in ttyport_open()

12345