Searched refs:c_cflag (Results 51 - 75 of 147) sorted by relevance

123456

/linux-master/drivers/bluetooth/
H A Dhci_ldisc.c325 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 Dmax310x.c905 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 Dsb1250-duart.c549 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 Dma35d1_serial.c422 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 Dsccnxp.c648 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 Dpic32_uart.c613 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 Darc_uart.c382 new->c_cflag &= ~(CMSPAR|CRTSCTS|CSIZE);
383 new->c_cflag |= CS8;
392 uart_update_timeout(port, new->c_cflag, baud);
H A Dsc16is7xx.c1021 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 Dxilinx_uartps.c842 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 Dzs.c864 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 Dimx.c1663 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 Damba-pl011.c2024 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 Dcpm_uart.c523 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 Dsprd_serial.c762 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 Ducc_uart.c860 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 Dserial-tegra.c1312 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 Dmpc52xx_uart.c1180 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 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) {
/linux-master/drivers/tty/
H A Damiserial.c575 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 Dpty.c270 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 Dspcp8x5.c292 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 Dbelkin_sa.c294 cflag = termios->c_cflag;
296 termios->c_cflag &= ~CMSPAR;
305 old_cflag = old_termios->c_cflag;
/linux-master/arch/xtensa/platforms/iss/
H A Dconsole.c124 driver->init_termios.c_cflag =
/linux-master/net/nfc/nci/
H A Duart.c416 new_termios.c_cflag |= CRTSCTS;
418 new_termios.c_cflag &= ~CRTSCTS;
/linux-master/drivers/tty/serial/8250/
H A D8250_omap.c389 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 &&

Completed in 662 milliseconds

123456