Searched refs:CSIZE (Results 1 - 130 of 130) sorted by relevance

/linux-4.4.14/arch/m68k/atari/
H A Ddebug.c170 int csize = ((cflag & CSIZE) == CS7) ? 0x20 : 0x00; atari_init_mfp_port()
239 reg3 = (cflag & CSIZE) == CS8 ? 0xc0 : 0x40; atari_init_scc_port()
240 reg5 = (cflag & CSIZE) == CS8 ? 0x60 : 0x20 | 0x82 /* assert DTR/RTS */; atari_init_scc_port()
266 int csize = ((cflag & CSIZE) == CS8) ? 0x10 : 0x00; atari_init_midi_port()
/linux-4.4.14/drivers/tty/serial/
H A Dfsl_lpuart.c1208 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; lpuart_set_termios()
1224 while ((termios->c_cflag & CSIZE) != CS8 && lpuart_set_termios()
1225 (termios->c_cflag & CSIZE) != CS7) { lpuart_set_termios()
1226 termios->c_cflag &= ~CSIZE; lpuart_set_termios()
1231 if ((termios->c_cflag & CSIZE) == CS8 || lpuart_set_termios()
1232 (termios->c_cflag & CSIZE) == CS7) lpuart_set_termios()
1236 if ((termios->c_cflag & CSIZE) != CS8) { lpuart_set_termios()
1237 termios->c_cflag &= ~CSIZE; lpuart_set_termios()
1254 if ((termios->c_cflag & CSIZE) == CS7) lpuart_set_termios()
1263 if ((termios->c_cflag & CSIZE) == CS8) lpuart_set_termios()
1345 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; lpuart32_set_termios()
1359 while ((termios->c_cflag & CSIZE) != CS8 && lpuart32_set_termios()
1360 (termios->c_cflag & CSIZE) != CS7) { lpuart32_set_termios()
1361 termios->c_cflag &= ~CSIZE; lpuart32_set_termios()
1366 if ((termios->c_cflag & CSIZE) == CS8 || lpuart32_set_termios()
1367 (termios->c_cflag & CSIZE) == CS7) lpuart32_set_termios()
1371 if ((termios->c_cflag & CSIZE) != CS8) { lpuart32_set_termios()
1372 termios->c_cflag &= ~CSIZE; lpuart32_set_termios()
1389 if ((termios->c_cflag & CSIZE) == CS7) lpuart32_set_termios()
1398 if ((termios->c_cflag & CSIZE) == CS8) lpuart32_set_termios()
H A Dpnx8xxx_uart.c450 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; pnx8xxx_set_termios()
455 while ((termios->c_cflag & CSIZE) != CS7 && pnx8xxx_set_termios()
456 (termios->c_cflag & CSIZE) != CS8) { pnx8xxx_set_termios()
457 termios->c_cflag &= ~CSIZE; pnx8xxx_set_termios()
462 if ((termios->c_cflag & CSIZE) == CS8) pnx8xxx_set_termios()
H A Dsa1100.c424 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; sa1100_set_termios()
429 while ((termios->c_cflag & CSIZE) != CS7 && sa1100_set_termios()
430 (termios->c_cflag & CSIZE) != CS8) { sa1100_set_termios()
431 termios->c_cflag &= ~CSIZE; sa1100_set_termios()
436 if ((termios->c_cflag & CSIZE) == CS8) sa1100_set_termios()
H A Drp2.c353 (((cfl & CSIZE) == CS8) ? RP2_UART_CTL_DATABITS_8 : 0) | __rp2_uart_set_termios()
354 (((cfl & CSIZE) == CS7) ? RP2_UART_CTL_DATABITS_7 : 0) | __rp2_uart_set_termios()
355 (((cfl & CSIZE) == CS6) ? RP2_UART_CTL_DATABITS_6 : 0) | __rp2_uart_set_termios()
356 (((cfl & CSIZE) == CS5) ? RP2_UART_CTL_DATABITS_5 : 0)); __rp2_uart_set_termios()
H A Dlantiq.c401 switch (cflag & CSIZE) { lqasc_set_termios()
409 new->c_cflag &= ~ CSIZE; lqasc_set_termios()
H A Dmax3100.c491 if ((cflag & CSIZE) == CS8) { max3100_set_termios()
497 cflag = (cflag & ~CSIZE) | CS7; max3100_set_termios()
H A Dvt8500_serial.c401 switch (termios->c_cflag & CSIZE) { vt8500_set_termios()
407 termios->c_cflag &= ~CSIZE; vt8500_set_termios()
H A D21285.c234 switch (termios->c_cflag & CSIZE) { serial21285_set_termios()
H A Dclps711x.c276 switch (termios->c_cflag & CSIZE) { uart_clps711x_set_termios()
H A Dimx.c1288 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; imx_set_termios()
1296 while ((termios->c_cflag & CSIZE) != CS7 && imx_set_termios()
1297 (termios->c_cflag & CSIZE) != CS8) { imx_set_termios()
1298 termios->c_cflag &= ~CSIZE; imx_set_termios()
1303 if ((termios->c_cflag & CSIZE) == CS8) imx_set_termios()
H A Dar933x_uart.c246 new->c_cflag &= ~CSIZE; ar933x_uart_set_termios()
H A Ddigicolor-usart.c310 switch (termios->c_cflag & CSIZE) { digicolor_uart_set_termios()
H A Dmcf.c219 switch (termios->c_cflag & CSIZE) { mcf_set_termios()
H A Dmeson_uart.c301 switch (cflags & CSIZE) { meson_uart_set_termios()
H A Dnetx-serial.c345 switch (termios->c_cflag & CSIZE) { netx_set_termios()
H A Dserial_ks8695.c394 switch (termios->c_cflag & CSIZE) { ks8695uart_set_termios()
H A Dstm32-usart.c374 if ((cflag & CSIZE) == CS8) stm32_set_termios()
H A Dtilegx.c483 if ((termios->c_cflag & CSIZE) == CS7) tilegx_set_termios()
H A Dsc16is7xx.c838 switch (termios->c_cflag & CSIZE) { sc16is7xx_set_termios()
853 termios->c_cflag &= ~CSIZE; sc16is7xx_set_termios()
H A Damba-pl010.c409 switch (termios->c_cflag & CSIZE) { pl010_set_termios()
H A Darc_uart.c395 new->c_cflag &= ~(CMSPAR|CRTSCTS|CSIZE); arc_serial_set_termios()
H A Dbcm63xx_uart.c521 switch (new->c_cflag & CSIZE) { bcm_uart_set_termios()
H A Dbfin_sport_uart.c506 switch (termios->c_cflag & CSIZE) { sport_set_termios()
H A Ddz.c574 switch (termios->c_cflag & CSIZE) { dz_set_termios()
H A Defm32-uart.c361 switch (new->c_cflag & CSIZE) { efm32_uart_set_termios()
H A Dlpc32xx_hs.c543 termios->c_cflag &= ~(CSIZE | CSTOPB | PARENB | PARODD); serial_lpc32xx_set_termios()
H A Dmen_z135_uart.c667 switch (termios->c_cflag & CSIZE) { men_z135_set_termios()
H A Dpxa.c442 switch (termios->c_cflag & CSIZE) { serial_pxa_set_termios()
H A Dsb1250-duart.c558 switch (termios->c_cflag & CSIZE) { sbd_set_termios()
H A Dsccnxp.c628 switch (termios->c_cflag & CSIZE) { sccnxp_set_termios()
H A Dsprd_serial.c384 switch (termios->c_cflag & CSIZE) { sprd_set_termios()
H A Dst-asc.c510 if ((cflag & CSIZE) == CS7) { asc_set_termios()
H A Dvr41xx_siu.c524 switch (c_cflag & CSIZE) { siu_set_termios()
H A Dmpc52xx_uart.c1188 switch (new->c_cflag & CSIZE) { mpc52xx_uart_set_termios()
1215 mr2 |= ((new->c_cflag & CSIZE) == CS5) ? mpc52xx_uart_set_termios()
H A Dxilinx_uartps.c705 switch (termios->c_cflag & CSIZE) { cdns_uart_set_termios()
715 termios->c_cflag &= ~CSIZE; cdns_uart_set_termios()
H A Dsh-sci.c1952 if ((termios->c_cflag & CSIZE) == CS7) sci_set_termios()
2045 switch (termios->c_cflag & CSIZE) { sci_set_termios()
H A D68328serial.c528 if ((cflag & CSIZE) == CS8) change_speed()
H A Dbfin_uart.c798 switch (termios->c_cflag & CSIZE) { bfin_serial_set_termios()
H A Detraxfs-uart.c717 if ((termios->c_cflag & CSIZE) == CS7) { etraxfs_uart_set_termios()
H A Dip22zilog.c820 switch (cflag & CSIZE) { ip22zilog_convert_to_zs()
H A Dm32r_sio.c698 switch (termios->c_cflag & CSIZE) { m32r_sio_set_termios()
H A Dmax310x.c806 switch (termios->c_cflag & CSIZE) { max310x_set_termios()
H A Dmsm_serial.c1062 switch (termios->c_cflag & CSIZE) { msm_set_termios()
H A Dmxs-auart.c672 switch (cflag & CSIZE) { mxs_auart_settermios()
H A Dserial-tegra.c1122 switch (termios->c_cflag & CSIZE) { tegra_uart_set_termios()
H A Dserial_txx9.c646 switch (termios->c_cflag & CSIZE) { serial_txx9_set_termios()
H A Dsunsab.c690 switch (cflag & CSIZE) { sunsab_convert_to_sab()
H A Dzs.c867 switch (termios->c_cflag & CSIZE) { zs_set_termios()
H A Damba-pl011.c1833 switch (termios->c_cflag & CSIZE) { pl011_set_termios()
1930 termios->c_cflag &= ~(CSIZE | CSTOPB | PARENB | PARODD); sbsa_uart_set_termios()
H A Dicom.c1125 switch (cflag & CSIZE) { icom_set_termios()
H A Domap-serial.c851 switch (termios->c_cflag & CSIZE) { serial_omap_set_termios()
H A Dpch_uart.c1395 switch (termios->c_cflag & CSIZE) { pch_uart_set_termios()
H A Dsirfsoc_uart.c714 switch (termios->c_cflag & CSIZE) { sirfsoc_uart_set_termios()
H A Dsunsu.c785 switch (cflag & CSIZE) { sunsu_change_speed()
H A Dsunzilog.c885 switch (cflag & CSIZE) { sunzilog_convert_to_zs()
H A Ducc_uart.c876 switch (termios->c_cflag & CSIZE) { qe_uart_set_termios()
H A Dioc3_serial.c966 switch (cflag & CSIZE) { ioc3_change_speed()
H A Dmpsc.c1413 switch (termios->c_cflag & CSIZE) { mpsc_set_termios()
H A Dpmac_zilog.c1058 switch (cflag & CSIZE) { pmz_convert_to_zs()
H A Dsamsung.c1291 switch (termios->c_cflag & CSIZE) { s3c24xx_serial_set_termios()
H A Dcrisv10.c925 if ((cflags & CSIZE) == CS7) update_char_time()
2868 if ((cflag & CSIZE) == CS7) { change_speed()
H A Datmel_serial.c2095 switch (termios->c_cflag & CSIZE) { atmel_set_termios()
H A Dioc4_serial.c1696 switch (cflag & CSIZE) { ioc4_change_speed()
H A Dserial_core.c281 switch (cflag & CSIZE) { uart_update_timeout()
/linux-4.4.14/arch/cris/include/uapi/asm/
H A Dtermbits.h120 * ||CSIZE
157 #define CSIZE 0000060 macro
/linux-4.4.14/drivers/usb/serial/
H A Dbelkin_sa.c364 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { belkin_sa_set_termios()
365 switch (cflag & CSIZE) { belkin_sa_set_termios()
380 "CSIZE was not CS5-CS8, using default of 8\n"); belkin_sa_set_termios()
H A Dempeg.c115 &= ~(CSIZE /* no size */ empeg_init_termios()
H A Dkl5kusb105.c483 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { klsi_105_set_termios()
485 switch (cflag & CSIZE) { klsi_105_set_termios()
501 dev_err(dev, "CSIZE was not CS5-CS8, using default of 8\n"); klsi_105_set_termios()
H A Dcp210x.c533 cflag &= ~CSIZE; cp210x_get_termios_port()
699 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { cp210x_set_termios()
702 switch (cflag & CSIZE) { cp210x_set_termios()
H A Dmct_u232.c650 switch (cflag & CSIZE) { mct_u232_set_termios()
661 "CSIZE was not CS5-CS8, using default of 8\n"); mct_u232_set_termios()
H A Ddigi_acceleport.c758 if ((cflag&CSIZE) != (old_cflag&CSIZE)) { digi_set_termios()
760 switch (cflag&CSIZE) { digi_set_termios()
768 (cflag&CSIZE)); digi_set_termios()
H A Dspcp8x5.c349 switch (cflag & CSIZE) { spcp8x5_set_termios()
H A Dssu100.c218 switch (cflag & CSIZE) { ssu100_set_termios()
H A Dftdi_sio.c2212 * support CS5/6 and revert the CSIZE setting instead. ftdi_set_termios()
2225 dev_warn(ddev, "requested CSIZE setting not supported\n"); ftdi_set_termios()
2227 termios->c_cflag &= ~CSIZE; ftdi_set_termios()
2229 termios->c_cflag |= old_termios->c_cflag & CSIZE; ftdi_set_termios()
2248 if ((old_termios->c_cflag & (CSIZE|PARODD|PARENB|CMSPAR|CSTOPB)) == ftdi_set_termios()
2249 (termios->c_cflag & (CSIZE|PARODD|PARENB|CMSPAR|CSTOPB))) ftdi_set_termios()
2270 switch (cflag & CSIZE) { ftdi_set_termios()
H A Dch341.c364 * (cflag & CSIZE) : data bits [5, 8] ch341_set_termios()
H A Dkeyspan.c1606 switch (p_priv->cflag & CSIZE) { keyspan_usa26_send_setup()
1876 switch (p_priv->cflag & CSIZE) { keyspan_usa49_send_setup()
2052 switch (p_priv->cflag & CSIZE) { keyspan_usa90_send_setup()
2178 switch (p_priv->cflag & CSIZE) { keyspan_usa67_send_setup()
H A Dcypress_m8.c928 switch (cflag & CSIZE) { cypress_set_termios()
942 dev_err(dev, "%s - CSIZE was set, but not CS5-CS8\n", __func__); cypress_set_termios()
H A Dark3116.c230 switch (cflag & CSIZE) { ark3116_set_termios()
H A Dkeyspan_pda.c318 CSIZE (5bit .. 8bit) keyspan_pda_set_termios()
H A Doti6858.c421 switch (cflag & CSIZE) { oti6858_set_termios()
H A Dquatech2.c287 switch (cflag & CSIZE) { qt2_set_termios()
H A Dwhiteheat.c684 switch (cflag & CSIZE) { firm_setup_port()
H A Diuu_phoenix.c937 tty->termios.c_cflag &= ~(supported_mask|CSIZE); iuu_set_termios()
H A Dti_usb_3410_5052.c735 switch (cflag & CSIZE) { ti_set_termios()
H A Dmos7720.c1563 switch (cflag & CSIZE) { change_port_settings()
H A Dmos7840.c1742 switch (cflag & CSIZE) { mos7840_change_port_settings()
H A Dio_edgeport.c2403 switch (cflag & CSIZE) { change_port_settings()
H A Dio_ti.c2264 switch (cflag & CSIZE) { change_port_settings()
/linux-4.4.14/include/uapi/asm-generic/
H A Dtermbits.h131 #define CSIZE 0000060 macro
/linux-4.4.14/arch/parisc/include/uapi/asm/
H A Dtermbits.h132 #define CSIZE 0000060 macro
/linux-4.4.14/arch/avr32/include/uapi/asm/
H A Dtermbits.h131 #define CSIZE 0000060 macro
/linux-4.4.14/drivers/staging/speakup/
H A Dserialio.c42 cval = cflag & (CSIZE | CSTOPB); spk_serial_init()
/linux-4.4.14/arch/xtensa/include/uapi/asm/
H A Dtermbits.h148 #define CSIZE 0000060 macro
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dtermbits.h151 #define CSIZE 00001400 macro
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dtermbits.h160 #define CSIZE 00001400 macro
/linux-4.4.14/arch/mn10300/include/uapi/asm/
H A Dtermbits.h132 #define CSIZE 0000060 macro
/linux-4.4.14/arch/frv/include/uapi/asm/
H A Dtermbits.h132 #define CSIZE 0000060 macro
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dtermbits.h140 #define CSIZE 0000060 macro
/linux-4.4.14/arch/m32r/include/uapi/asm/
H A Dtermbits.h131 #define CSIZE 0000060 macro
/linux-4.4.14/arch/mips/include/uapi/asm/
H A Dtermbits.h155 #define CSIZE 0000060 /* Number of bits per byte (mask). */ macro
/linux-4.4.14/arch/sparc/include/uapi/asm/
H A Dtermbits.h163 #define CSIZE 0x00000030 macro
/linux-4.4.14/drivers/ipack/devices/
H A Dipoctal.c496 switch (cflag & CSIZE) { ipoctal_set_termios()
507 tty->termios.c_cflag = (cflag & ~CSIZE) | CS8; ipoctal_set_termios()
/linux-4.4.14/net/irda/ircomm/
H A Dircomm_tty_ioctl.c65 switch (cflag & CSIZE) { ircomm_tty_change_speed()
/linux-4.4.14/drivers/isdn/gigaset/
H A Dusb-gigaset.c253 switch (cflag & CSIZE) { gigaset_set_line_ctrl()
263 dev_err(cs->dev, "CSIZE was not CS5-CS8, using default of 8\n"); gigaset_set_line_ctrl()
270 if ((cflag & CSIZE) == CS5) gigaset_set_line_ctrl()
/linux-4.4.14/net/bluetooth/rfcomm/
H A Dtty.c943 if ((old->c_cflag & CSIZE) != (new->c_cflag & CSIZE)) rfcomm_tty_set_termios()
946 switch (new->c_cflag & CSIZE) { rfcomm_tty_set_termios()
/linux-4.4.14/drivers/tty/
H A Drocket.c719 if ((cflag & CSIZE) == CS8) { configure_r_port()
1078 if (((cflag & CSIZE) == CS5) || ((cflag & CSIZE) == CS6)) rp_set_termios()
1080 ((cflag & ~CSIZE) | (old_termios->c_cflag & CSIZE)); rp_set_termios()
H A Dpty.c288 tty->termios.c_cflag &= ~(CSIZE | PARENB); pty_set_termios()
H A Dmxser.c654 switch (cflag & CSIZE) { mxser_change_speed()
1607 me->databits[p] = cflag & CSIZE; mxser_ioctl_special()
H A Dmoxa.c1770 mode = termio->c_cflag & CSIZE; MoxaPortSetTermio()
H A Dcyclades.c2060 switch (cflag & CSIZE) { cy_set_line_char()
2198 switch (cflag & CSIZE) { cy_set_line_char()
H A Dsynclink_gt.c2555 switch (cflag & CSIZE) { change_params()
H A Dsynclinkmp.c2775 switch (cflag & CSIZE) { change_params()
H A Dsynclink.c1924 switch (cflag & CSIZE) { mgsl_change_params()
/linux-4.4.14/drivers/bluetooth/
H A Dhci_ldisc.c331 ktermios.c_cflag &= ~(CSIZE | PARENB); hci_uart_init_tty()
/linux-4.4.14/drivers/tty/serial/8250/
H A D8250_omap.c327 switch (termios->c_cflag & CSIZE) { omap_8250_set_termios()
H A D8250_port.c2167 switch (c_cflag & CSIZE) { serial8250_compute_lcr()
/linux-4.4.14/drivers/tty/serial/cpm_uart/
H A Dcpm_uart_core.c540 switch (termios->c_cflag & CSIZE) { cpm_uart_set_termios()
/linux-4.4.14/drivers/tty/serial/jsm/
H A Djsm_cls.c751 switch (ch->ch_c_cflag & CSIZE) { cls_param()
H A Djsm_neo.c1021 switch (ch->ch_c_cflag & CSIZE) { neo_param()
/linux-4.4.14/drivers/staging/dgnc/
H A Ddgnc_cls.c577 switch (ch->ch_c_cflag & CSIZE) { cls_param()
H A Ddgnc_neo.c723 switch (ch->ch_c_cflag & CSIZE) { neo_param()
/linux-4.4.14/drivers/mmc/card/
H A Dsdio_uart.c259 switch (termios->c_cflag & CSIZE) { sdio_uart_change_speed()
/linux-4.4.14/include/linux/
H A Dtty.h159 #define C_CSIZE(tty) _C_FLAG((tty), CSIZE)
/linux-4.4.14/drivers/net/usb/
H A Dhso.c1098 ~(CSIZE /* no size */ hso_init_termios()
1127 ~(CSIZE /* no size */ _hso_serial_set_termios()
/linux-4.4.14/drivers/usb/class/
H A Dcdc-acm.c983 switch (termios->c_cflag & CSIZE) { acm_tty_set_termios()
/linux-4.4.14/arch/mn10300/kernel/
H A Dmn10300-serial.c1074 switch (cflag & CSIZE) { mn10300_serial_change_speed()
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_tty.c1039 cval = cflag & (CSIZE | CSTOPB); isdn_tty_change_speed()
/linux-4.4.14/drivers/char/pcmcia/
H A Dsynclink_cs.c1424 switch (cflag & CSIZE) { mgslpc_change_params()
/linux-4.4.14/drivers/staging/dgap/
H A Ddgap.c2802 CSTOPB | CSIZE); dgap_param()

Completed in 3488 milliseconds