/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/serial/ |
H A D | max310x.c | 905 termios->c_cflag &= ~CMSPAR; 908 switch (termios->c_cflag & CSIZE) { 924 if (termios->c_cflag & PARENB) { 926 if (!(termios->c_cflag & PARODD)) 931 if (termios->c_cflag & CSTOPB) 949 if (!(termios->c_cflag & CREAD)) 963 if (termios->c_cflag & CRTSCTS || termios->c_iflag & IXOFF) { 971 if (termios->c_cflag & CRTSCTS) { 991 if (!(termios->c_cflag & CRTSCTS) && !(termios->c_iflag & IXOFF)) { 1006 uart_update_timeout(port, termios->c_cflag, bau [all...] |
H A D | sb1250-duart.c | 549 switch (termios->c_cflag & CSIZE) { 565 if (termios->c_cflag & CSTOPB) 569 if (termios->c_cflag & PARENB) 573 if (termios->c_cflag & PARODD) 584 uart_update_timeout(uport, termios->c_cflag, baud); 603 if (termios->c_cflag & CREAD) 608 if (termios->c_cflag & CRTSCTS)
|
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 | sccnxp.c | 648 termios->c_cflag &= ~CMSPAR; 658 switch (termios->c_cflag & CSIZE) { 675 if (termios->c_cflag & PARENB) { 676 if (termios->c_cflag & PARODD) 682 mr2 = (termios->c_cflag & CSTOPB) ? MR2_STOP2 : MR2_STOP1; 702 if (!(termios->c_cflag & CREAD)) 712 uart_update_timeout(port, termios->c_cflag, baud);
|
H A D | pic32_uart.c | 613 if (new->c_cflag & CSTOPB) 621 if (new->c_cflag & PARENB) { 622 if (new->c_cflag & PARODD) { 639 if ((new->c_cflag & CRTSCTS) && sport->cts_gpiod) { 658 new->c_cflag |= CS8; 661 new->c_cflag &= ~CMSPAR; 667 uart_update_timeout(port, new->c_cflag, baud);
|
H A D | arc_uart.c | 382 new->c_cflag &= ~(CMSPAR|CRTSCTS|CSIZE); 383 new->c_cflag |= CS8; 392 uart_update_timeout(port, new->c_cflag, baud);
|
H A D | sc16is7xx.c | 1021 termios->c_cflag &= ~CMSPAR; 1024 switch (termios->c_cflag & CSIZE) { 1039 termios->c_cflag &= ~CSIZE; 1040 termios->c_cflag |= CS8; 1045 if (termios->c_cflag & PARENB) { 1047 if (!(termios->c_cflag & PARODD)) 1052 if (termios->c_cflag & CSTOPB) 1067 if (!(termios->c_cflag & CREAD)) 1072 if (termios->c_cflag & CRTSCTS) { 1104 uart_update_timeout(port, termios->c_cflag, bau [all...] |
H A D | xilinx_uartps.c | 842 uart_update_timeout(port, termios->c_cflag, baud); 877 if ((termios->c_cflag & CREAD) == 0) 885 switch (termios->c_cflag & CSIZE) { 895 termios->c_cflag &= ~CSIZE; 896 termios->c_cflag |= CS8; 901 if (termios->c_cflag & CSTOPB) 906 if (termios->c_cflag & PARENB) { 908 if (termios->c_cflag & CMSPAR) { 909 if (termios->c_cflag & PARODD) 914 if (termios->c_cflag [all...] |
H A D | zs.c | 864 switch (termios->c_cflag & CSIZE) { 886 if (termios->c_cflag & CSTOPB) 890 if (termios->c_cflag & PARENB) 892 if (!(termios->c_cflag & PARODD)) 918 uart_update_timeout(uport, termios->c_cflag, baud); 935 if (termios->c_cflag & CREAD) 941 if (!(termios->c_cflag & CLOCAL)) { 945 if (termios->c_cflag & CRTSCTS) {
|
H A D | imx.c | 1663 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; 1671 while ((termios->c_cflag & CSIZE) != CS7 && 1672 (termios->c_cflag & CSIZE) != CS8) { 1673 termios->c_cflag &= ~CSIZE; 1674 termios->c_cflag |= old_csize; 1696 if ((termios->c_cflag & CSIZE) == CS8) 1700 termios->c_cflag &= ~CRTSCTS; 1713 } else if (termios->c_cflag & CRTSCTS) { 1722 if (termios->c_cflag & CRTSCTS) 1724 if (termios->c_cflag [all...] |
H A D | amba-pl011.c | 2024 if ((termios->c_cflag & CREAD) == 0) 2062 switch (termios->c_cflag & CSIZE) { 2076 if (termios->c_cflag & CSTOPB) 2078 if (termios->c_cflag & PARENB) { 2080 if (!(termios->c_cflag & PARODD)) 2082 if (termios->c_cflag & CMSPAR) 2088 bits = tty_get_frame_size(termios->c_cflag); 2095 uart_update_timeout(port, termios->c_cflag, baud); 2106 if (UART_ENABLE_MS(port, termios->c_cflag)) 2110 termios->c_cflag [all...] |
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 | ucc_uart.c | 860 switch (termios->c_cflag & CSIZE) { 880 if (termios->c_cflag & CSTOPB) { 885 if (termios->c_cflag & PARENB) { 889 if (!(termios->c_cflag & PARODD)) { 928 if ((termios->c_cflag & CREAD) == 0) 937 uart_update_timeout(port, termios->c_cflag, baud); 942 iowrite8(tty_get_frame_size(termios->c_cflag), &uccup->rx_length);
|
H A D | serial-tegra.c | 1312 termios->c_cflag &= ~CMSPAR; 1314 if ((termios->c_cflag & PARENB) == PARENB) { 1315 if (termios->c_cflag & PARODD) { 1326 char_bits = tty_get_char_size(termios->c_cflag); 1331 if (termios->c_cflag & CSTOPB) 1338 tup->symb_bit = tty_get_frame_size(termios->c_cflag); 1355 if (termios->c_cflag & CRTSCTS) { 1369 uart_update_timeout(u, termios->c_cflag, baud); 1380 if ((termios->c_cflag & CREAD) == 0)
|
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))
|
H A D | omap-serial.c | 784 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) {
|
/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 | 389 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); 391 if (termios->c_cflag & CSTOPB) 393 if (termios->c_cflag & PARENB) 395 if (!(termios->c_cflag & PARODD)) 397 if (termios->c_cflag & CMSPAR) 418 uart_update_timeout(port, termios->c_cflag, baud); 445 if ((termios->c_cflag & CREAD) == 0) 452 if (UART_ENABLE_MS(&up->port, termios->c_cflag)) 492 if (termios->c_cflag & CRTSCTS && up->port.flags & UPF_HARD_FLOW &&
|