Lines Matching defs:bits
207 int mscmctl(dev_t dev, int bits, int howto);
598 ocd = msc->board->Common.CDStatus; /* get old status bits */
602 ocd = ncd; /* save new status bits */
1106 * bits can be: TIOCM_DTR, TIOCM_RTS, TIOCM_CTS, TIOCM_CD, TIOCM_RI, TIOCM_DSR
1109 mscmctl(dev_t dev, int bits, int how)
1133 bits &= TIOCM_DTR | TIOCM_RTS; /* can only modify DTR and RTS */
1137 msc->flags = (bits | (msc->flags & ~(TIOCM_DTR | TIOCM_RTS)));
1141 msc->flags &= ~bits;
1145 msc->flags |= bits;
1152 if (msc->flags & TIOCM_RTS) /* was bits & */
1157 if (msc->flags & TIOCM_DTR) /* was bits & */
1164 if ( (OldFlags & TIOCM_DTR) && ((bits & TIOCM_DTR) == 0))
1168 bits = msc->flags;
1172 return(bits);