/linux-master/drivers/tty/serial/ |
H A D | men_z135_uart.c | 660 switch (termios->c_cflag & CSIZE) { 676 if (termios->c_cflag & CSTOPB) 680 if (termios->c_cflag & PARENB) { 683 if (termios->c_cflag & PARODD) 691 if (termios->c_cflag & CRTSCTS) { 694 termios->c_cflag &= ~CLOCAL; 700 termios->c_cflag &= ~CMSPAR; /* Mark/Space parity is not supported */ 718 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | esp32_uart.c | 400 termios->c_cflag &= ~CMSPAR; 417 if (termios->c_cflag & PARENB) { 419 if (termios->c_cflag & PARODD) 423 switch (termios->c_cflag & CSIZE) { 438 if (termios->c_cflag & CSTOPB) 443 if (termios->c_cflag & CRTSCTS) 451 uart_update_timeout(port, termios->c_cflag, baud); 456 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | owl-uart.c | 321 switch (termios->c_cflag & CSIZE) { 337 if (termios->c_cflag & CSTOPB) 343 if (termios->c_cflag & PARENB) { 344 if (termios->c_cflag & CMSPAR) { 345 if (termios->c_cflag & PARODD) 349 } else if (termios->c_cflag & PARODD) 356 if (termios->c_cflag & CRTSCTS) 374 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | mcf.c | 215 switch (termios->c_cflag & CSIZE) { 223 if (termios->c_cflag & PARENB) { 224 if (termios->c_cflag & CMSPAR) { 225 if (termios->c_cflag & PARODD) 230 if (termios->c_cflag & PARODD) 245 if (termios->c_cflag & CSTOPB) 250 if (termios->c_cflag & CRTSCTS) { 261 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | fsl_lpuart.c | 1353 unsigned int bits = tty_get_frame_size(termios->c_cflag); 1985 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; 2002 while ((termios->c_cflag & CSIZE) != CS8 && 2003 (termios->c_cflag & CSIZE) != CS7) { 2004 termios->c_cflag &= ~CSIZE; 2005 termios->c_cflag |= old_csize; 2009 if ((termios->c_cflag & CSIZE) == CS8 || 2010 (termios->c_cflag & CSIZE) == CS7) 2013 if (termios->c_cflag & CMSPAR) { 2014 if ((termios->c_cflag [all...] |
H A D | apbuart.c | 221 if (termios->c_cflag & PARENB) { 223 if ((termios->c_cflag & PARODD)) 228 if (termios->c_cflag & CRTSCTS) 234 uart_update_timeout(port, termios->c_cflag, baud); 246 if ((termios->c_cflag & CREAD) == 0)
|
H A D | sa1100.c | 393 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; 398 while ((termios->c_cflag & CSIZE) != CS7 && 399 (termios->c_cflag & CSIZE) != CS8) { 400 termios->c_cflag &= ~CSIZE; 401 termios->c_cflag |= old_csize; 405 if ((termios->c_cflag & CSIZE) == CS8) 410 if (termios->c_cflag & CSTOPB) 412 if (termios->c_cflag & PARENB) { 414 if (!(termios->c_cflag & PARODD)) 459 uart_update_timeout(port, termios->c_cflag, bau [all...] |
H A D | serial_txx9.c | 584 termios->c_cflag &= ~(HUPCL | CMSPAR); 585 termios->c_cflag |= CLOCAL; 590 switch (termios->c_cflag & CSIZE) { 599 termios->c_cflag &= ~CSIZE; 600 termios->c_cflag |= CS8; 605 if (termios->c_cflag & CSTOPB) 610 if (termios->c_cflag & PARENB) 612 if (!(termios->c_cflag & PARODD)) 634 uart_update_timeout(up, termios->c_cflag, baud); 662 if ((termios->c_cflag [all...] |
H A D | clps711x.c | 260 termios->c_cflag &= ~CMSPAR; 268 switch (termios->c_cflag & CSIZE) { 284 if (termios->c_cflag & CSTOPB) 287 if (termios->c_cflag & PARENB) { 289 if (!(termios->c_cflag & PARODD)) 303 if (!(termios->c_cflag & CREAD)) 307 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | milbeaut_usio.c | 305 switch (termios->c_cflag & CSIZE) { 321 if (termios->c_cflag & CSTOPB) 324 if (termios->c_cflag & PARENB) { 326 if (termios->c_cflag & PARODD) 331 (termios->c_cflag & CRTSCTS)) 341 uart_update_timeout(port, termios->c_cflag, baud); 352 if ((termios->c_cflag & CREAD) == 0)
|
H A D | bcm63xx_uart.c | 486 switch (new->c_cflag & CSIZE) { 502 if (new->c_cflag & CSTOPB) 508 if (new->c_cflag & PARENB) 511 if (new->c_cflag & PARODD) 524 if (UART_ENABLE_MS(port, new->c_cflag)) 543 if (!(new->c_cflag & CREAD)) 546 uart_update_timeout(port, new->c_cflag, baud);
|
H A D | rda-uart.c | 258 switch (termios->c_cflag & CSIZE) { 265 termios->c_cflag &= ~CSIZE; 266 termios->c_cflag |= CS7; 274 if (termios->c_cflag & CSTOPB) 280 if (termios->c_cflag & PARENB) { 284 if (termios->c_cflag & CMSPAR) { 285 if (termios->c_cflag & PARODD) 289 } else if (termios->c_cflag & PARODD) { 299 if (termios->c_cflag & CRTSCTS) { 326 uart_update_timeout(port, termios->c_cflag, bau [all...] |
H A D | mps2-uart.c | 347 termios->c_cflag &= ~(CRTSCTS | CMSPAR); 348 termios->c_cflag &= ~CSIZE; 349 termios->c_cflag |= CS8; 350 termios->c_cflag &= ~PARENB; 351 termios->c_cflag &= ~CSTOPB; 361 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | dz.c | 570 switch (termios->c_cflag & CSIZE) { 585 if (termios->c_cflag & CSTOPB) 587 if (termios->c_cflag & PARENB) 589 if (termios->c_cflag & PARODD) 608 if (termios->c_cflag & CREAD) 613 uart_update_timeout(uport, termios->c_cflag, baud);
|
H A D | sunplus-uart.c | 350 switch (termios->c_cflag & CSIZE) { 365 if (termios->c_cflag & CSTOPB) 368 if (termios->c_cflag & PARENB) { 371 if (!(termios->c_cflag & PARODD)) 377 uart_update_timeout(port, termios->c_cflag, baud); 399 if ((termios->c_cflag & CREAD) == 0) {
|
H A D | sifive.c | 637 if ((termios->c_cflag & CSIZE) != CS8) { 639 termios->c_cflag &= ~CSIZE; 640 termios->c_cflag |= CS8; 649 nstop = (termios->c_cflag & CSTOPB) ? 2 : 1; 660 uart_update_timeout(port, termios->c_cflag, rate); 667 if ((termios->c_cflag & CREAD) == 0)
|
H A D | pxa.c | 411 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); 413 if (termios->c_cflag & CSTOPB) 415 if (termios->c_cflag & PARENB) 417 if (!(termios->c_cflag & PARODD)) 448 uart_update_timeout(port, termios->c_cflag, baud); 475 if ((termios->c_cflag & CREAD) == 0) 482 if (UART_ENABLE_MS(&up->port, termios->c_cflag)) 487 if (termios->c_cflag & CRTSCTS)
|
H A D | ar933x_uart.c | 295 new->c_cflag &= ~CSIZE; 296 new->c_cflag |= CS8; 299 new->c_cflag &= ~CSTOPB; 302 if (new->c_cflag & PARENB) { 303 if (!(new->c_cflag & PARODD)) 312 new->c_cflag &= ~CMSPAR; 328 uart_update_timeout(port, new->c_cflag, baud); 333 if ((new->c_cflag & CREAD) == 0)
|
H A D | lpc32xx_hs.c | 479 termios->c_cflag &= ~(CSIZE | CSTOPB | PARENB | PARODD); 480 termios->c_cflag |= CS8; 482 termios->c_cflag &= ~(HUPCL | CMSPAR | CLOCAL | CRTSCTS); 493 if ((termios->c_cflag & CREAD) == 0) 501 uart_update_timeout(port, termios->c_cflag, baud);
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_dwlib.c | 99 if (termios->c_cflag & CRTSCTS) 146 termios->c_cflag |= ADDRB; 199 termios->c_cflag &= ~ADDRB;
|
H A D | 8250_port.c | 2596 tcflag_t c_cflag) 2600 cval = UART_LCR_WLEN(tty_get_char_size(c_cflag)); 2602 if (c_cflag & CSTOPB) 2604 if (c_cflag & PARENB) 2606 if (!(c_cflag & PARODD)) 2608 if (c_cflag & CMSPAR) 2728 termios->c_cflag &= ~(CSTOPB | PARENB | PARODD | CMSPAR); 2729 if ((termios->c_cflag & CSIZE) == CS5 || 2730 (termios->c_cflag & CSIZE) == CS6) 2731 termios->c_cflag 2595 serial8250_compute_lcr(struct uart_8250_port *up, tcflag_t c_cflag) argument [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | uart.c | 490 newline.format = termios->c_cflag & CSTOPB ? 492 newline.parity = termios->c_cflag & PARENB ? 493 (termios->c_cflag & PARODD ? 1 : 2) + 494 (termios->c_cflag & CMSPAR ? 2 : 0) : 0; 496 newline.data_bits = tty_get_char_size(termios->c_cflag); 499 gb_tty->clocal = ((termios->c_cflag & CLOCAL) != 0); 504 } else if (termios_old && (termios_old->c_cflag & CBAUD) == B0) { 568 if (tty->termios.c_cflag & CRTSCTS) { 587 if (tty->termios.c_cflag & CRTSCTS) { 964 gb_tty_driver->init_termios.c_cflag [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | spk_ttyio.c | 171 if (!(tmp_termios.c_cflag & CRTSCTS)) { 172 tmp_termios.c_cflag |= CRTSCTS; 175 * check c_cflag to see if it's updated as tty_set_termios 180 if (!(tmp_termios.c_cflag & CRTSCTS))
|
/linux-master/drivers/usb/serial/ |
H A D | kl5kusb105.c | 376 unsigned int cflag = tty->termios.c_cflag; 377 unsigned int old_cflag = old_termios->c_cflag; 467 tty->termios.c_cflag &= ~(PARENB|PARODD|CSTOPB); 477 tty->termios.c_cflag &= ~CRTSCTS;
|
H A D | xr_serial.c | 686 else if (old_termios && (old_termios->c_cflag & CBAUD) == B0) 705 termios->c_cflag &= ~CSIZE; 707 termios->c_cflag |= old_termios->c_cflag & CSIZE; 709 termios->c_cflag |= CS8; 791 tty->termios.c_cflag &= ~CSIZE; 793 tty->termios.c_cflag |= old_termios->c_cflag & CSIZE; 795 tty->termios.c_cflag |= CS8;
|