Lines Matching defs:mstat
826 ch->imodem = readb(&bc->mstat);
1471 int mstat, lstat;
1493 * (mstat) and the previous modem status (lstat). These are
1497 mstat = readb(eventbuf + 2);
1520 ch->imodem = mstat;
1523 if (mstat & ch->dcd)
1796 ch->imodem = readb(&bc->mstat);
1811 * The below command sets the DTR and RTS mstat structure. If
1814 * is active, the changes will be saved in the mstat structure
1988 unsigned int mstat, mflag = 0;
1998 mstat = readb(&bc->mstat);
2002 if (mstat & ch->m_dtr)
2004 if (mstat & ch->m_rts)
2006 if (mstat & ch->m_cts)
2008 if (mstat & ch->dsr)
2010 if (mstat & ch->m_ri)
2012 if (mstat & ch->dcd)
2064 unsigned int mflag, mstat;
2081 if (get_user(mstat, (unsigned __user *)argp))
2083 return pc_tiocmset(tty, file, mstat, ~mstat);