Home
last modified time | relevance | path

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

12345

/Linux-v5.4/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-v5.4/drivers/tty/serial/
Dfsl_linflexuart.c428 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in linflex_set_termios()
453 while ((termios->c_cflag & CSIZE) != CS8 && in linflex_set_termios()
454 (termios->c_cflag & CSIZE) != CS7) { in linflex_set_termios()
455 termios->c_cflag &= ~CSIZE; in linflex_set_termios()
460 if ((termios->c_cflag & CSIZE) == CS7) { in linflex_set_termios()
465 if ((termios->c_cflag & CSIZE) == CS8) { in linflex_set_termios()
471 if ((termios->c_cflag & CSIZE) != CS8) { in linflex_set_termios()
472 termios->c_cflag &= ~CSIZE; in linflex_set_termios()
483 if ((termios->c_cflag & CSIZE) == CS7) in linflex_set_termios()
Dfsl_lpuart.c1151 bits = (termios->c_cflag & CSIZE) == CS7 ? 9 : 10; in lpuart_start_rx_dma()
1634 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in lpuart_set_termios()
1651 while ((termios->c_cflag & CSIZE) != CS8 && in lpuart_set_termios()
1652 (termios->c_cflag & CSIZE) != CS7) { in lpuart_set_termios()
1653 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
1658 if ((termios->c_cflag & CSIZE) == CS8 || in lpuart_set_termios()
1659 (termios->c_cflag & CSIZE) == CS7) in lpuart_set_termios()
1663 if ((termios->c_cflag & CSIZE) != CS8) { in lpuart_set_termios()
1664 termios->c_cflag &= ~CSIZE; in lpuart_set_termios()
1685 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.c426 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in sa1100_set_termios()
431 while ((termios->c_cflag & CSIZE) != CS7 && in sa1100_set_termios()
432 (termios->c_cflag & CSIZE) != CS8) { in sa1100_set_termios()
433 termios->c_cflag &= ~CSIZE; in sa1100_set_termios()
438 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()
Dvt8500_serial.c392 switch (termios->c_cflag & CSIZE) { in vt8500_set_termios()
398 termios->c_cflag &= ~CSIZE; in vt8500_set_termios()
/Linux-v5.4/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()
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()
Dcp210x.c926 cflag &= ~CSIZE; in cp210x_get_termios_port()
1164 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in cp210x_set_termios()
1167 switch (cflag & CSIZE) { in cp210x_set_termios()
Dupd78f0730.c332 tty->termios.c_cflag &= ~CSIZE; in upd78f0730_set_termios()
/Linux-v5.4/arch/xtensa/include/uapi/asm/
Dtermbits.h149 #define CSIZE 0000060 macro
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dtermbits.h133 #define CSIZE 0000060 macro
/Linux-v5.4/include/uapi/asm-generic/
Dtermbits.h132 #define CSIZE 0000060 macro
/Linux-v5.4/arch/powerpc/include/uapi/asm/
Dtermbits.h161 #define CSIZE 00001400 macro
/Linux-v5.4/arch/ia64/include/uapi/asm/
Dtermbits.h141 #define CSIZE 0000060 macro
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dtermbits.h170 #define CSIZE 00001400 macro
/Linux-v5.4/arch/mips/include/uapi/asm/
Dtermbits.h156 #define CSIZE 0000060 /* Number of bits per byte (mask). */ macro
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dtermbits.h164 #define CSIZE 0x00000030 macro
/Linux-v5.4/drivers/staging/speakup/
Dserialio.c62 cval = cflag & (CSIZE | CSTOPB); in spk_serial_init()
/Linux-v5.4/net/bluetooth/rfcomm/
Dtty.c931 if ((old->c_cflag & CSIZE) != (new->c_cflag & CSIZE)) in rfcomm_tty_set_termios()
934 switch (new->c_cflag & CSIZE) { in rfcomm_tty_set_termios()
/Linux-v5.4/drivers/ipack/devices/
Dipoctal.c493 switch (cflag & CSIZE) { in ipoctal_set_termios()
504 tty->termios.c_cflag = (cflag & ~CSIZE) | CS8; in ipoctal_set_termios()
/Linux-v5.4/drivers/tty/serdev/
Dserdev-ttyport.c134 ktermios.c_cflag &= ~(CSIZE | PARENB); in ttyport_open()

12345