Lines Matching refs:za_ttycommon

241 	if (za->za_ttycommon.t_cflag & CRTSXOFF) { \
249 zslowat[SPEED(za->za_ttycommon.t_cflag)]) \
268 if (za->za_ttycommon.t_cflag & CRTSXOFF) { \
280 zshiwat[SPEED(za->za_ttycommon.t_cflag)])) \
762 za->za_ttycommon.t_flags |= TS_SOFTCAR;
788 za->za_ttycommon.t_cflag = termiosp->c_cflag;
801 za->za_ttycommon.t_cflag &= ~(CBAUD);
803 za->za_ttycommon.t_cflag |= CBAUDEXT;
804 za->za_ttycommon.t_cflag |=
807 za->za_ttycommon.t_cflag &= ~CBAUDEXT;
808 za->za_ttycommon.t_cflag |= (speed & CBAUD);
812 za->za_ttycommon.t_iflag = 0;
813 za->za_ttycommon.t_iocpending = NULL;
814 za->za_ttycommon.t_size.ws_row = 0;
815 za->za_ttycommon.t_size.ws_col = 0;
816 za->za_ttycommon.t_size.ws_xpixel = 0;
817 za->za_ttycommon.t_size.ws_ypixel = 0;
820 zsa_program(za, za->za_ttycommon.t_cflag & (CIBAUDEXT|CIBAUD));
822 } else if ((za->za_ttycommon.t_flags & TS_XCLUDE) &&
846 if ((za->za_ttycommon.t_flags & TS_SOFTCAR) ||
856 !(za->za_ttycommon.t_cflag & CLOCAL)) {
899 za->za_ttycommon.t_readq = rq;
900 za->za_ttycommon.t_writeq = WR(rq);
944 flushq(za->za_ttycommon.t_writeq, FLUSHALL);
1033 za->za_ttycommon.t_writeq->q_first != NULL ||
1079 (za->za_ttycommon.t_cflag & HUPCL))) {
1084 if (zsasoftdtr && (za->za_ttycommon.t_flags & TS_SOFTCAR))
1117 ttycommon_close(&za->za_ttycommon);
1119 za->za_ttycommon.t_readq = NULL;
1120 za->za_ttycommon.t_writeq = NULL;
1469 if ((za->za_ttycommon.t_flags & TS_SOFTCAR) ||
1481 za->za_ttycommon.t_cflag))/3 + 1);
1531 za->za_flowc = za->za_ttycommon.t_stopc;
1552 za->za_flowc = za->za_ttycommon.t_startc;
1623 (za->za_ttycommon.t_cflag & CRTSXOFF)) {
1649 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
1677 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
1819 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
1995 if (za->za_ttycommon.t_cflag & PARENB) {
1996 switch (za->za_ttycommon.t_cflag & CSIZE) {
2011 if ((za->za_ttycommon.t_cflag & PARODD) &&
2014 else if (!(za->za_ttycommon.t_cflag & PARODD) &&
2098 q = za->za_ttycommon.t_readq;
2109 (za->za_ttycommon.t_flags & TS_SOFTCAR)) {
2124 q = za->za_ttycommon.t_readq;
2153 if (za->za_ttycommon.t_cflag &
2189 (za->za_ttycommon.t_flags & TS_SOFTCAR)) {
2200 !(za->za_ttycommon.t_cflag & CLOCAL)) {
2248 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
2282 zsticks[SPEED(za->za_ttycommon.t_cflag)]);
2289 ttycommon_qfull(&za->za_ttycommon, q);
2331 flushq(za->za_ttycommon.t_writeq, flushflag);
2367 if (za->za_ttycommon.t_cflag & CRTSCTS) {
2383 if (za->za_ttycommon.t_cflag & CRTSCTS) {
2408 if ((q = za->za_ttycommon.t_writeq) == NULL)
2501 if ((za->za_ttycommon.t_cflag & CSIZE) == CS5) {
2519 if (za->za_ttycommon.t_cflag & CRTSCTS) {
2574 if (za->za_ttycommon.t_writeq != NULL)
2603 q = za->za_ttycommon.t_readq;
2621 zs, zsticks[SPEED(za->za_ttycommon.t_cflag)]);
2643 if (za->za_ttycommon.t_cflag &
2675 ttycommon_qfull(&za->za_ttycommon, q);
2719 if ((q = za->za_ttycommon.t_writeq) == NULL) {
2723 if ((mp = za->za_ttycommon.t_iocpending) != NULL) {
2727 za->za_ttycommon.t_iocpending = NULL;
2748 if (za->za_ttycommon.t_iocpending != NULL) {
2755 freemsg(za->za_ttycommon.t_iocpending);
2756 za->za_ttycommon.t_iocpending = NULL;
2772 datasize = ttycommon_ioctl(&za->za_ttycommon, wq, mp, &error);
2774 if (za->za_ttycommon.t_flags & TS_SOFTCAR)
2824 delay(ztdelay(SPEED(za->za_ttycommon.t_cflag)));
2977 if ((baudrate = SPEED(za->za_ttycommon.t_cflag)) == 0) {
2989 za->za_ttycommon.t_cflag &= ~(CIBAUD);
2991 za->za_ttycommon.t_cflag |= CIBAUDEXT;
2992 za->za_ttycommon.t_cflag |=
2995 za->za_ttycommon.t_cflag &= ~CIBAUDEXT;
2996 za->za_ttycommon.t_cflag |=
3007 (za->za_dev == stdindev) || (za->za_ttycommon.t_cflag & CREAD))
3026 switch (za->za_ttycommon.t_cflag & CSIZE) {
3049 if (za->za_ttycommon.t_cflag & PARENB) {
3055 if (za->za_ttycommon.t_iflag & INPCK)
3058 if (!(za->za_ttycommon.t_cflag & PARODD))
3061 wr4 |= (za->za_ttycommon.t_cflag & CSTOPB) ?
3075 if (za->za_ttycommon.t_cflag & CRTSCTS)
3078 if (za->za_ttycommon.t_cflag & CRTSCTS)
3174 switch (za->za_ttycommon.t_cflag & CSIZE) {
3191 if ((za->za_ttycommon.t_iflag & PARMRK) &&
3192 !(za->za_ttycommon.t_iflag & (IGNPAR|ISTRIP))) {
3196 if (za->za_ttycommon.t_iflag & IXON) {
3199 za->za_rcv_flags_mask |= za->za_ttycommon.t_stopc;
3247 delay(ztdelay(za->za_ttycommon.t_cflag & CBAUD));
3253 if ((q = za->za_ttycommon.t_writeq) != NULL) {
3345 register queue_t *q = za->za_ttycommon.t_writeq;
3350 if (za->za_ttycommon.t_flags & TS_SOFTCAR) printf(" t_fl:TS_SOFTCAR");
3351 if (za->za_ttycommon.t_flags & TS_XCLUDE) printf(" t_fl:TS_XCLUDE");
3352 if (za->za_ttycommon.t_iflag & IGNBRK) printf(" t_ifl:IGNBRK");
3353 if (za->za_ttycommon.t_iflag & BRKINT) printf(" t_ifl:BRKINT");
3354 if (za->za_ttycommon.t_iflag & IGNPAR) printf(" t_ifl:IGNPAR");
3355 if (za->za_ttycommon.t_iflag & PARMRK) printf(" t_ifl:PARMRK");
3356 if (za->za_ttycommon.t_iflag & INPCK) printf(" t_ifl:INPCK");
3357 if (za->za_ttycommon.t_iflag & ISTRIP) printf(" t_ifl:ISTRIP");
3358 if (za->za_ttycommon.t_iflag & INLCR) printf(" t_ifl:INLCR");
3359 if (za->za_ttycommon.t_iflag & IGNCR) printf(" t_ifl:IGNCR");
3360 if (za->za_ttycommon.t_iflag & ICRNL) printf(" t_ifl:ICRNL");
3361 if (za->za_ttycommon.t_iflag & IUCLC) printf(" t_ifl:IUCLC");
3362 if (za->za_ttycommon.t_iflag & IXON) printf(" t_ifl:IXON");
3363 if (za->za_ttycommon.t_iflag & IXOFF) printf(" t_ifl:IXOFF");
3368 if (za->za_ttycommon.t_cflag & CSIZE == CS5) printf(" t_cfl:CS5");
3369 if (za->za_ttycommon.t_cflag & CSIZE == CS6) printf(" t_cfl:CS6");
3370 if (za->za_ttycommon.t_cflag & CSIZE == CS7) printf(" t_cfl:CS7");
3371 if (za->za_ttycommon.t_cflag & CSIZE == CS8) printf(" t_cfl:CS8");
3372 if (za->za_ttycommon.t_cflag & CSTOPB) printf(" t_cfl:CSTOPB");
3373 if (za->za_ttycommon.t_cflag & CREAD) printf(" t_cfl:CREAD");
3374 if (za->za_ttycommon.t_cflag & PARENB) printf(" t_cfl:PARENB");
3375 if (za->za_ttycommon.t_cflag & PARODD) printf(" t_cfl:PARODD");
3376 if (za->za_ttycommon.t_cflag & HUPCL) printf(" t_cfl:HUPCL");
3377 if (za->za_ttycommon.t_cflag & CLOCAL) printf(" t_cfl:CLOCAL");
3378 printf(" t_stopc=%x", za->za_ttycommon.t_stopc);