/linux-master/drivers/tty/serial/ |
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);
|
H A D | max310x.c | 900 termios->c_cflag &= ~CMSPAR; 903 switch (termios->c_cflag & CSIZE) { 919 if (termios->c_cflag & PARENB) { 921 if (!(termios->c_cflag & PARODD)) 926 if (termios->c_cflag & CSTOPB) 944 if (!(termios->c_cflag & CREAD)) 958 if (termios->c_cflag & CRTSCTS || termios->c_iflag & IXOFF) { 966 if (termios->c_cflag & CRTSCTS) { 986 if (!(termios->c_cflag & CRTSCTS) && !(termios->c_iflag & IXOFF)) { 1001 uart_update_timeout(port, termios->c_cflag, bau [all...] |
H A D | ma35d1_serial.c | 422 lcr = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); 424 if (termios->c_cflag & CSTOPB) 426 if (termios->c_cflag & PARENB) 428 if (!(termios->c_cflag & PARODD)) 430 if (termios->c_cflag & CMSPAR) 465 if (termios->c_cflag & CRTSCTS) 470 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | pic32_uart.c | 612 if (new->c_cflag & CSTOPB) 620 if (new->c_cflag & PARENB) { 621 if (new->c_cflag & PARODD) { 638 if ((new->c_cflag & CRTSCTS) && sport->cts_gpiod) { 657 new->c_cflag |= CS8; 660 new->c_cflag &= ~CMSPAR; 666 uart_update_timeout(port, new->c_cflag, baud);
|
H A D | sccnxp.c | 652 termios->c_cflag &= ~CMSPAR; 662 switch (termios->c_cflag & CSIZE) { 679 if (termios->c_cflag & PARENB) { 680 if (termios->c_cflag & PARODD) 686 mr2 = (termios->c_cflag & CSTOPB) ? MR2_STOP2 : MR2_STOP1; 706 if (!(termios->c_cflag & CREAD)) 716 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | sb1250-duart.c | 550 switch (termios->c_cflag & CSIZE) { 566 if (termios->c_cflag & CSTOPB) 570 if (termios->c_cflag & PARENB) 574 if (termios->c_cflag & PARODD) 585 uart_update_timeout(uport, termios->c_cflag, baud); 604 if (termios->c_cflag & CREAD) 609 if (termios->c_cflag & CRTSCTS)
|
H A D | arc_uart.c | 380 new->c_cflag &= ~(CMSPAR|CRTSCTS|CSIZE); 381 new->c_cflag |= CS8; 390 uart_update_timeout(port, new->c_cflag, baud);
|
H A D | xilinx_uartps.c | 845 uart_update_timeout(port, termios->c_cflag, baud); 880 if ((termios->c_cflag & CREAD) == 0) 888 switch (termios->c_cflag & CSIZE) { 898 termios->c_cflag &= ~CSIZE; 899 termios->c_cflag |= CS8; 904 if (termios->c_cflag & CSTOPB) 909 if (termios->c_cflag & PARENB) { 911 if (termios->c_cflag & CMSPAR) { 912 if (termios->c_cflag & PARODD) 917 if (termios->c_cflag [all...] |
H A D | zs.c | 865 switch (termios->c_cflag & CSIZE) { 887 if (termios->c_cflag & CSTOPB) 891 if (termios->c_cflag & PARENB) 893 if (!(termios->c_cflag & PARODD)) 919 uart_update_timeout(uport, termios->c_cflag, baud); 936 if (termios->c_cflag & CREAD) 942 if (!(termios->c_cflag & CLOCAL)) { 946 if (termios->c_cflag & CRTSCTS) {
|
H A D | imx.c | 1656 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; 1664 while ((termios->c_cflag & CSIZE) != CS7 && 1665 (termios->c_cflag & CSIZE) != CS8) { 1666 termios->c_cflag &= ~CSIZE; 1667 termios->c_cflag |= old_csize; 1689 if ((termios->c_cflag & CSIZE) == CS8) 1693 termios->c_cflag &= ~CRTSCTS; 1706 } else if (termios->c_cflag & CRTSCTS) { 1715 if (termios->c_cflag & CRTSCTS) 1717 if (termios->c_cflag [all...] |
H A D | amba-pl011.c | 2016 if ((termios->c_cflag & CREAD) == 0) 2054 switch (termios->c_cflag & CSIZE) { 2068 if (termios->c_cflag & CSTOPB) 2070 if (termios->c_cflag & PARENB) { 2072 if (!(termios->c_cflag & PARODD)) 2074 if (termios->c_cflag & CMSPAR) 2080 bits = tty_get_frame_size(termios->c_cflag); 2087 uart_update_timeout(port, termios->c_cflag, baud); 2098 if (UART_ENABLE_MS(port, termios->c_cflag)) 2102 termios->c_cflag [all...] |
H A D | ucc_uart.c | 854 switch (termios->c_cflag & CSIZE) { 874 if (termios->c_cflag & CSTOPB) { 879 if (termios->c_cflag & PARENB) { 883 if (!(termios->c_cflag & PARODD)) { 922 if ((termios->c_cflag & CREAD) == 0) 931 uart_update_timeout(port, termios->c_cflag, baud); 936 iowrite8(tty_get_frame_size(termios->c_cflag), &uccup->rx_length);
|
H A D | cpm_uart.c | 523 if (termios->c_cflag & CSTOPB) { 528 if (termios->c_cflag & PARENB) { 531 if (!(termios->c_cflag & PARODD)) { 540 uart_update_timeout(port, termios->c_cflag, baud); 569 if ((termios->c_cflag & CREAD) == 0) 575 unsigned int bits = tty_get_frame_size(termios->c_cflag); 601 unsigned int bits = tty_get_char_size(termios->c_cflag);
|
H A D | sprd_serial.c | 762 switch (termios->c_cflag & CSIZE) { 780 if (termios->c_cflag & CSTOPB) 787 termios->c_cflag &= ~CMSPAR; /* no support mark/space */ 788 if (termios->c_cflag & PARENB) { 790 if (termios->c_cflag & PARODD) 799 uart_update_timeout(port, termios->c_cflag, baud); 824 if (termios->c_cflag & CRTSCTS) {
|
H A D | mpc52xx_uart.c | 1180 switch (new->c_cflag & CSIZE) { 1191 if (new->c_cflag & PARENB) { 1192 if (new->c_cflag & CMSPAR) 1196 mr1 |= (new->c_cflag & PARODD) ? 1204 if (new->c_cflag & CSTOPB) 1207 mr2 |= ((new->c_cflag & CSIZE) == CS5) ? 1211 if (new->c_cflag & CRTSCTS) { 1243 uart_update_timeout(port, new->c_cflag, baud); 1245 if (UART_ENABLE_MS(port, new->c_cflag))
|
/linux-master/drivers/bluetooth/ |
H A D | hci_ldisc.c | 325 ktermios.c_cflag &= ~CRTSCTS; 328 (tty->termios.c_cflag & CRTSCTS) ? "failed" : "success"); 359 ktermios.c_cflag |= CRTSCTS; 362 !(tty->termios.c_cflag & CRTSCTS) ? "failed" : "success"); 379 ktermios.c_cflag &= ~CBAUD;
|
/linux-master/drivers/tty/ |
H A D | amiserial.c | 575 cflag = tty->termios.c_cflag; 610 tty->termios.c_cflag &= ~CBAUD; 611 tty->termios.c_cflag |= (old_termios->c_cflag & CBAUD); 1174 unsigned int cflag = tty->termios.c_cflag; 1179 if ((old_termios->c_cflag & CBAUD) && !(cflag & CBAUD)) { 1187 if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) { 1197 if ((old_termios->c_cflag & CRTSCTS) && !C_CRTSCTS(tty)) { 1209 if (!(old_termios->c_cflag & CLOCAL) && C_CLOCAL(tty)) 1504 driver->init_termios.c_cflag [all...] |
H A D | pty.c | 270 tty->termios.c_cflag &= ~(CSIZE | PARENB); 271 tty->termios.c_cflag |= (CS8 | CREAD); 559 pty_driver->init_termios.c_cflag = B38400 | CS8 | CREAD; 573 pty_slave_driver->init_termios.c_cflag = B38400 | CS8 | CREAD; 901 ptm_driver->init_termios.c_cflag = B38400 | CS8 | CREAD; 915 pts_driver->init_termios.c_cflag = B38400 | CS8 | CREAD;
|
/linux-master/drivers/usb/serial/ |
H A D | spcp8x5.c | 292 unsigned int cflag = tty->termios.c_cflag; 306 if (old_termios && (old_termios->c_cflag & CBAUD) == B0) { 308 if (!(old_termios->c_cflag & CRTSCTS))
|
H A D | belkin_sa.c | 294 cflag = termios->c_cflag; 296 termios->c_cflag &= ~CMSPAR; 305 old_cflag = old_termios->c_cflag;
|
/linux-master/arch/xtensa/platforms/iss/ |
H A D | console.c | 124 driver->init_termios.c_cflag =
|
/linux-master/net/nfc/nci/ |
H A D | uart.c | 416 new_termios.c_cflag |= CRTSCTS; 418 new_termios.c_cflag &= ~CRTSCTS;
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_omap.c | 388 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); 390 if (termios->c_cflag & CSTOPB) 392 if (termios->c_cflag & PARENB) 394 if (!(termios->c_cflag & PARODD)) 396 if (termios->c_cflag & CMSPAR) 417 uart_update_timeout(port, termios->c_cflag, baud); 444 if ((termios->c_cflag & CREAD) == 0) 451 if (UART_ENABLE_MS(&up->port, termios->c_cflag)) 491 if (termios->c_cflag & CRTSCTS && up->port.flags & UPF_HARD_FLOW &&
|