Searched refs:c_cflag (Results 76 - 100 of 147) sorted by relevance

123456

/linux-master/drivers/tty/serial/
H A Dserial_core.c223 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 Dmvebu-uart.c556 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 Dmax3100.c431 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 Duartlite.c327 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 Dst-asc.c476 termios->c_cflag &= ~(CMSPAR |
482 cflag = termios->c_cflag;
507 termios->c_cflag = cflag;
577 if (!(termios->c_cflag & CREAD))
H A Dqcom_geni_serial.c1270 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 Dmsm_serial.c1280 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 Dpch_uart.c1298 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 Datmel_serial.c2152 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 Dsamsung_tty.c1483 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 Dip22zilog.c887 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 Dlantiq.c399 cflag = new->c_cflag;
410 new->c_cflag &= ~ CSIZE;
411 new->c_cflag |= CS8;
H A Drp2.c388 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 Dmct_u232.c602 unsigned int cflag = termios->c_cflag;
603 unsigned int old_cflag = old_termios->c_cflag;
665 termios->c_cflag &= ~CMSPAR;
H A Dconsole.c163 tty->termios.c_cflag = cflag;
H A Ddigi_acceleport.c659 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 Diuu_phoenix.c887 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 D8250_mtk.c376 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 Dmoxa.c669 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 Dslip_user.c38 tios.c_cflag = CS8 | CREAD | HUPCL | CLOCAL;
/linux-master/drivers/ipack/devices/
H A Dipoctal.c379 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 Djsm_tty.c246 channel->ch_c_cflag = termios->c_cflag;
311 channel->ch_c_cflag = termios->c_cflag;
/linux-master/drivers/usb/class/
H A Dcdc-acm.c1087 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 Dgdm_tty.c287 tty_driver->init_termios.c_cflag = B9600 | CS8 | HUPCL | CLOCAL;
/linux-master/drivers/tty/hvc/
H A Dhvsi_lib.c404 if (!pv->tty || (pv->tty->termios.c_cflag & HUPCL))

Completed in 311 milliseconds

123456