/linux-master/drivers/tty/serial/ |
H A D | serial_core.c | 223 if (termios->c_cflag & CRTSCTS) 228 if (termios->c_cflag & CLOCAL) 291 tty->termios.c_cflag = uport->cons->cflag; 378 uport->cons->cflag = tty->termios.c_cflag; 507 termios->c_cflag &= ~CBAUD; 1695 unsigned int cflag = tty->termios.c_cflag; 1718 * bits in c_cflag; c_[io]speed will always be set 1721 if ((cflag ^ old_termios->c_cflag) == 0 && 1731 cflag = tty->termios.c_cflag; 1734 if (((old_termios->c_cflag [all...] |
H A D | mvebu-uart.c | 556 if ((termios->c_cflag & CREAD) == 0) 582 termios->c_cflag &= CREAD | CBAUD; 583 termios->c_cflag |= old->c_cflag & ~(CREAD | CBAUD); 584 termios->c_cflag |= CS8; 589 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | max3100.c | 431 cflag = termios->c_cflag; 515 termios->c_cflag = cflag; 526 uart_update_timeout(port, termios->c_cflag, baud); 535 if (UART_ENABLE_MS(&s->port, termios->c_cflag))
|
H A D | uartlite.c | 327 termios->c_cflag &= ~(CSTOPB | PARENB | PARODD | CSIZE); 328 termios->c_cflag |= pdata->cflags & (PARENB | PARODD | CSIZE); 346 if ((termios->c_cflag & CREAD) == 0) 352 uart_update_timeout(port, termios->c_cflag, pdata->baud);
|
H A D | st-asc.c | 476 termios->c_cflag &= ~(CMSPAR | 482 cflag = termios->c_cflag; 507 termios->c_cflag = cflag; 577 if (!(termios->c_cflag & CREAD))
|
H A D | qcom_geni_serial.c | 1270 if (termios->c_cflag & PARENB) { 1275 if (termios->c_cflag & PARODD) { 1278 } else if (termios->c_cflag & CMSPAR) { 1293 bits_per_char = tty_get_char_size(termios->c_cflag); 1296 if (termios->c_cflag & CSTOPB) 1302 if (termios->c_cflag & CRTSCTS) 1308 uart_update_timeout(uport, termios->c_cflag, baud);
|
H A D | msm_serial.c | 1280 if (termios->c_cflag & PARENB) { 1281 if (termios->c_cflag & PARODD) 1283 else if (termios->c_cflag & CMSPAR) 1291 switch (termios->c_cflag & CSIZE) { 1309 if (termios->c_cflag & CSTOPB) 1320 if (termios->c_cflag & CRTSCTS) { 1333 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | pch_uart.c | 1298 switch (termios->c_cflag & CSIZE) { 1312 if (termios->c_cflag & CSTOPB) 1317 if (termios->c_cflag & PARENB) { 1318 if (termios->c_cflag & PARODD) 1327 if ((termios->c_cflag & CRTSCTS) && (priv->fifo_size == 256)) 1332 termios->c_cflag &= ~CMSPAR; /* Mark/Space parity is not supported */ 1338 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | atmel_serial.c | 2152 switch (termios->c_cflag & CSIZE) { 2168 if (termios->c_cflag & CSTOPB) 2172 if (termios->c_cflag & PARENB) { 2174 if (termios->c_cflag & CMSPAR) { 2175 if (termios->c_cflag & PARODD) 2179 } else if (termios->c_cflag & PARODD) 2216 uart_update_timeout(port, termios->c_cflag, baud); 2246 } else if (termios->c_cflag & CRTSCTS) { 2383 if (UART_ENABLE_MS(port, termios->c_cflag)) 2400 if (!UART_ENABLE_MS(port, termios->c_cflag)) { [all...] |
H A D | samsung_tty.c | 1483 termios->c_cflag &= ~(HUPCL | CMSPAR); 1484 termios->c_cflag |= CLOCAL; 1526 switch (termios->c_cflag & CSIZE) { 1549 if (termios->c_cflag & CSTOPB) 1552 if (termios->c_cflag & PARENB) { 1553 if (termios->c_cflag & PARODD) 1573 if (termios->c_cflag & CRTSCTS) { 1595 uart_update_timeout(port, termios->c_cflag, baud); 1616 if ((termios->c_cflag & CREAD) == 0)
|
H A D | ip22zilog.c | 887 ip22zilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); 889 if (UART_ENABLE_MS(&up->port, termios->c_cflag)) 895 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | lantiq.c | 399 cflag = new->c_cflag; 410 new->c_cflag &= ~ CSIZE; 411 new->c_cflag |= CS8;
|
H A D | rp2.c | 388 port->ignore_status_mask = (new->c_cflag & CREAD) ? 0 : RP2_DUMMY_READ; 390 __rp2_uart_set_termios(up, new->c_cflag, new->c_iflag, baud_div); 391 uart_update_timeout(port, new->c_cflag, baud);
|
/linux-master/drivers/usb/serial/ |
H A D | mct_u232.c | 602 unsigned int cflag = termios->c_cflag; 603 unsigned int old_cflag = old_termios->c_cflag; 665 termios->c_cflag &= ~CMSPAR;
|
H A D | console.c | 163 tty->termios.c_cflag = cflag;
|
H A D | digi_acceleport.c | 659 unsigned int cflag = tty->termios.c_cflag; 661 unsigned int old_cflag = old_termios->c_cflag; 720 tty->termios.c_cflag &= ~CMSPAR; 1099 not_termios.c_cflag = ~tty->termios.c_cflag;
|
H A D | iuu_phoenix.c | 887 unsigned int cflag = tty->termios.c_cflag; 932 tty->termios.c_cflag &= ~(supported_mask|CSIZE); 933 tty->termios.c_cflag |= newval | csize; 950 tty->termios.c_cflag = B9600 | CS8 | CSTOPB | CREAD | PARENB | CLOCAL;
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_mtk.c | 376 uart_update_timeout(port, termios->c_cflag, baud); 407 if ((termios->c_cflag & CRTSCTS) && (!(termios->c_iflag & CRTSCTS))) 417 up->port.cons->cflag = termios->c_cflag;
|
/linux-master/drivers/tty/ |
H A D | moxa.c | 669 tmp.cflag = ttyp->termios.c_cflag; 1347 moxaDriver->init_termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL | HUPCL; 1498 ch->cflag = tty->termios.c_cflag; 1613 if (!(old_termios->c_cflag & CLOCAL) && C_CLOCAL(tty)) 1773 if (ts->c_cflag & CRTSCTS) 2055 mode = termio->c_cflag & CSIZE; 2065 if (termio->c_cflag & CSTOPB) { 2073 if (termio->c_cflag & PARENB) { 2074 if (termio->c_cflag & PARODD) { 2075 if (termio->c_cflag [all...] |
/linux-master/arch/um/drivers/ |
H A D | slip_user.c | 38 tios.c_cflag = CS8 | CREAD | HUPCL | CLOCAL;
|
/linux-master/drivers/ipack/devices/ |
H A D | ipoctal.c | 379 drv->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; 506 cflag = tty->termios.c_cflag; 523 tty->termios.c_cflag = (cflag & ~CSIZE) | CS8; 537 tty->termios.c_cflag &= ~CMSPAR;
|
/linux-master/drivers/tty/serial/jsm/ |
H A D | jsm_tty.c | 246 channel->ch_c_cflag = termios->c_cflag; 311 channel->ch_c_cflag = termios->c_cflag;
|
/linux-master/drivers/usb/class/ |
H A D | cdc-acm.c | 1087 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0; 1088 newline.bParityType = termios->c_cflag & PARENB ? 1089 (termios->c_cflag & PARODD ? 1 : 2) + 1090 (termios->c_cflag & CMSPAR ? 2 : 0) : 0; 1091 newline.bDataBits = tty_get_char_size(termios->c_cflag); 1094 acm->clocal = ((termios->c_cflag & CLOCAL) != 0); 1099 } else if (termios_old && (termios_old->c_cflag & CBAUD) == B0) { 2078 acm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD |
|
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_tty.c | 287 tty_driver->init_termios.c_cflag = B9600 | CS8 | HUPCL | CLOCAL;
|
/linux-master/drivers/tty/hvc/ |
H A D | hvsi_lib.c | 404 if (!pv->tty || (pv->tty->termios.c_cflag & HUPCL))
|