Home
last modified time | relevance | path

Searched refs:msvr (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/dev/ic/
H A Dcy.c778 int s, msvr; in cy_modem_control() local
792 msvr = cd_read_reg(sc, cy->cy_chip, CD1400_MSVR2); in cy_modem_control()
797 if (msvr & CD1400_MSVR2_DTR) in cy_modem_control()
803 if (msvr & CD1400_MSVR2_DTR) in cy_modem_control()
806 if (msvr & CD1400_MSVR2_CTS) in cy_modem_control()
808 if (msvr & CD1400_MSVR2_CD) in cy_modem_control()
811 if (msvr & CD1400_MSVR2_DSR) in cy_modem_control()
814 if (msvr & CD1400_MSVR2_RI) in cy_modem_control()
1168 int bf, msvr; in cy_intr() local
1177 msvr = CD1400_MSVR2; in cy_intr()
[all …]
H A Dcd18xx.c1226 u_char msvr, delta; in cd18xx_mint() local
1238 msvr = cd18xx_read(sc, CD18xx_MSVR); in cd18xx_mint()
1239 delta = msvr ^ p->p_msvr; in cd18xx_mint()
1240 DPRINTF(CDD_INTR, (", msvr %d", msvr)); in cd18xx_mint()
1253 if (ISSET(~msvr, p->p_msvr_mask)) { in cd18xx_mint()
1447 u_char msvr, delta; in cdtty_stsoft() local
1451 msvr = p->p_msvr; in cdtty_stsoft()
1460 (void) (*tp->t_linesw->l_modem)(tp, ISSET(msvr, CD18xx_MSVR_CD)); in cdtty_stsoft()
1465 if (ISSET(msvr, p->p_msvr_cts)) { in cdtty_stsoft()
H A Dclmpcc.c721 int msvr; in clmpcc_modem_control() local
728 msvr = clmpcc_rd_msvr(sc); in clmpcc_modem_control()
731 rbits |= (msvr & CLMPCC_MSVR_RTS) ? TIOCM_DTR : 0; in clmpcc_modem_control()
732 rbits |= (msvr & CLMPCC_MSVR_DTR) ? TIOCM_RTS : 0; in clmpcc_modem_control()
734 rbits |= (msvr & CLMPCC_MSVR_RTS) ? TIOCM_RTS : 0; in clmpcc_modem_control()
735 rbits |= (msvr & CLMPCC_MSVR_DTR) ? TIOCM_DTR : 0; in clmpcc_modem_control()
738 rbits |= (msvr & CLMPCC_MSVR_CTS) ? TIOCM_CTS : 0; in clmpcc_modem_control()
739 rbits |= (msvr & CLMPCC_MSVR_CD) ? TIOCM_CD : 0; in clmpcc_modem_control()
740 rbits |= (msvr & CLMPCC_MSVR_DSR) ? TIOCM_DSR : 0; in clmpcc_modem_control()
/netbsd-src/sys/dev/sbus/
H A Dmagma.c586 u_char msvr; in magma_hard() local
593 msvr = cd1400_read_reg(cd, CD1400_MSVR2); in magma_hard()
594 carrier = ISSET(msvr, cd->cd_parmode ? CD1400_MSVR2_DSR : CD1400_MSVR2_CD); in magma_hard()
1220 int s, msvr; in mtty_modem_control() local
1232 msvr = cd1400_read_reg(cd, CD1400_MSVR1); in mtty_modem_control()
1233 if( msvr & CD1400_MSVR1_RTS ) bits |= TIOCM_DTR; in mtty_modem_control()
1235 msvr = cd1400_read_reg(cd, CD1400_MSVR2); in mtty_modem_control()
1236 if( msvr & CD1400_MSVR2_DTR ) bits |= TIOCM_RTS; in mtty_modem_control()
1237 if( msvr & CD1400_MSVR2_CTS ) bits |= TIOCM_CTS; in mtty_modem_control()
1238 if( msvr & CD1400_MSVR2_RI ) bits |= TIOCM_RI; in mtty_modem_control()
[all …]
H A Dspif.c506 int s, msvr; in stty_modem_control() local
516 msvr = STC_READ(csc, STC_MSVR); in stty_modem_control()
517 if (ISSET(msvr, CD180_MSVR_DSR)) in stty_modem_control()
519 if (ISSET(msvr, CD180_MSVR_CD)) in stty_modem_control()
521 if (ISSET(msvr, CD180_MSVR_CTS)) in stty_modem_control()
523 if (ISSET(msvr, CD180_MSVR_RTS)) in stty_modem_control()
898 uint8_t stat, msvr; in spif_softintr() local
935 msvr = STC_READ(sc, STC_MSVR); in spif_softintr()
938 sp->sp_carrier = msvr & CD180_MSVR_CD; in spif_softintr()