Lines Matching refs:tiosp
636 static void stli_mkasyport(struct stliport *portp, asyport_t *pp, struct ktermios *tiosp);
1741 struct ktermios *tiosp;
1755 tiosp = tty->termios;
1756 if ((tiosp->c_cflag == old->c_cflag) &&
1757 (tiosp->c_iflag == old->c_iflag))
1760 stli_mkasyport(portp, &aport, tiosp);
1762 stli_mkasysigs(&portp->asig, ((tiosp->c_cflag & CBAUD) ? 1 : 0), -1);
1765 if ((old->c_cflag & CRTSCTS) && ((tiosp->c_cflag & CRTSCTS) == 0))
1767 if (((old->c_cflag & CLOCAL) == 0) && (tiosp->c_cflag & CLOCAL))
2576 static void stli_mkasyport(struct stliport *portp, asyport_t *pp, struct ktermios *tiosp)
2584 if ((tiosp->c_cflag & CBAUD) == B38400) {
2600 switch (tiosp->c_cflag & CSIZE) {
2615 if (tiosp->c_cflag & CSTOPB)
2620 if (tiosp->c_cflag & PARENB) {
2621 if (tiosp->c_cflag & PARODD)
2632 if (tiosp->c_iflag & IXON) {
2634 if (tiosp->c_iflag & IXANY)
2637 if (tiosp->c_cflag & CRTSCTS)
2640 pp->startin = tiosp->c_cc[VSTART];
2641 pp->stopin = tiosp->c_cc[VSTOP];
2642 pp->startout = tiosp->c_cc[VSTART];
2643 pp->stopout = tiosp->c_cc[VSTOP];
2651 if (tiosp->c_iflag & IGNPAR)
2653 if (tiosp->c_iflag & IGNBRK)
2657 if (tiosp->c_iflag & (INPCK | PARMRK))
2659 if (tiosp->c_iflag & BRKINT)
2665 if (tiosp->c_cflag & CLOCAL)