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

123456

/linux-master/drivers/tty/serial/
H A Domap-serial.c784 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag));
786 if (termios->c_cflag & CSTOPB)
788 if (termios->c_cflag & PARENB)
790 if (!(termios->c_cflag & PARODD))
792 if (termios->c_cflag & CMSPAR)
823 uart_update_timeout(port, termios->c_cflag, baud);
850 if ((termios->c_cflag & CREAD) == 0)
857 if (UART_ENABLE_MS(&up->port, termios->c_cflag))
967 if (termios->c_cflag & CRTSCTS && up->port.flags & UPF_HARD_FLOW) {
H A Dserial-tegra.c1317 termios->c_cflag &= ~CMSPAR;
1319 if ((termios->c_cflag & PARENB) == PARENB) {
1320 if (termios->c_cflag & PARODD) {
1331 char_bits = tty_get_char_size(termios->c_cflag);
1336 if (termios->c_cflag & CSTOPB)
1343 tup->symb_bit = tty_get_frame_size(termios->c_cflag);
1360 if (termios->c_cflag & CRTSCTS) {
1374 uart_update_timeout(u, termios->c_cflag, baud);
1385 if ((termios->c_cflag & CREAD) == 0)
H A Dserial_core.c223 if (termios->c_cflag & CRTSCTS)
228 if (termios->c_cflag & CLOCAL)
326 tty->termios.c_cflag = uport->cons->cflag;
411 uport->cons->cflag = tty->termios.c_cflag;
529 termios->c_cflag &= ~CBAUD;
1700 unsigned int cflag = tty->termios.c_cflag;
1723 * bits in c_cflag; c_[io]speed will always be set
1726 if ((cflag ^ old_termios->c_cflag) == 0 &&
1736 cflag = tty->termios.c_cflag;
1739 if (((old_termios->c_cflag
[all...]
H A Dmvebu-uart.c554 if ((termios->c_cflag & CREAD) == 0)
580 termios->c_cflag &= CREAD | CBAUD;
581 termios->c_cflag |= old->c_cflag & ~(CREAD | CBAUD);
582 termios->c_cflag |= CS8;
587 uart_update_timeout(port, termios->c_cflag, baud);
H A Duartlite.c330 termios->c_cflag &= ~(CSTOPB | PARENB | PARODD | CSIZE);
331 termios->c_cflag |= pdata->cflags & (PARENB | PARODD | CSIZE);
349 if ((termios->c_cflag & CREAD) == 0)
355 uart_update_timeout(port, termios->c_cflag, pdata->baud);
H A Dmax3100.c417 cflag = termios->c_cflag;
501 termios->c_cflag = cflag;
510 uart_update_timeout(port, termios->c_cflag, baud);
519 if (UART_ENABLE_MS(&s->port, termios->c_cflag))
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.c1268 if (termios->c_cflag & PARENB) {
1273 if (termios->c_cflag & PARODD) {
1276 } else if (termios->c_cflag & CMSPAR) {
1291 bits_per_char = tty_get_char_size(termios->c_cflag);
1294 if (termios->c_cflag & CSTOPB)
1300 if (termios->c_cflag & CRTSCTS)
1306 uart_update_timeout(uport, termios->c_cflag, baud);
H A Dmsm_serial.c1292 if (termios->c_cflag & PARENB) {
1293 if (termios->c_cflag & PARODD)
1295 else if (termios->c_cflag & CMSPAR)
1303 switch (termios->c_cflag & CSIZE) {
1321 if (termios->c_cflag & CSTOPB)
1332 if (termios->c_cflag & CRTSCTS) {
1345 uart_update_timeout(port, termios->c_cflag, baud);
H A Dpch_uart.c1297 switch (termios->c_cflag & CSIZE) {
1311 if (termios->c_cflag & CSTOPB)
1316 if (termios->c_cflag & PARENB) {
1317 if (termios->c_cflag & PARODD)
1326 if ((termios->c_cflag & CRTSCTS) && (priv->fifo_size == 256))
1331 termios->c_cflag &= ~CMSPAR; /* Mark/Space parity is not supported */
1337 uart_update_timeout(port, termios->c_cflag, baud);
H A Datmel_serial.c2136 switch (termios->c_cflag & CSIZE) {
2152 if (termios->c_cflag & CSTOPB)
2156 if (termios->c_cflag & PARENB) {
2158 if (termios->c_cflag & CMSPAR) {
2159 if (termios->c_cflag & PARODD)
2163 } else if (termios->c_cflag & PARODD)
2200 uart_update_timeout(port, termios->c_cflag, baud);
2230 } else if (termios->c_cflag & CRTSCTS) {
2367 if (UART_ENABLE_MS(port, termios->c_cflag))
2384 if (!UART_ENABLE_MS(port, termios->c_cflag)) {
[all...]
H A Dsamsung_tty.c1485 termios->c_cflag &= ~(HUPCL | CMSPAR);
1486 termios->c_cflag |= CLOCAL;
1528 switch (termios->c_cflag & CSIZE) {
1551 if (termios->c_cflag & CSTOPB)
1554 if (termios->c_cflag & PARENB) {
1555 if (termios->c_cflag & PARODD)
1575 if (termios->c_cflag & CRTSCTS) {
1597 uart_update_timeout(port, termios->c_cflag, baud);
1618 if ((termios->c_cflag & CREAD) == 0)
H A Dlantiq.c399 cflag = new->c_cflag;
410 new->c_cflag &= ~ CSIZE;
411 new->c_cflag |= CS8;
/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.c380 uart_update_timeout(port, termios->c_cflag, baud);
411 if ((termios->c_cflag & CRTSCTS) && (!(termios->c_iflag & CRTSCTS)))
421 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 525 milliseconds

123456