Home
last modified time | relevance | path

Searched refs:sc_line (Results 1 – 7 of 7) sorted by relevance

/freebsd-13-stable/sys/dev/usb/serial/
HDuvscom.c153 uint16_t sc_line; /* line control register */ member
315 sc->sc_line = UVSCOM_LINE_INIT; in uvscom_attach()
505 sc->sc_line |= UVSCOM_DTR; in uvscom_cfg_set_dtr()
507 sc->sc_line &= ~UVSCOM_DTR; in uvscom_cfg_set_dtr()
509 uvscom_cfg_write(sc, UVSCOM_LINE_CTL, sc->sc_line); in uvscom_cfg_set_dtr()
520 sc->sc_line |= UVSCOM_RTS; in uvscom_cfg_set_rts()
522 sc->sc_line &= ~UVSCOM_RTS; in uvscom_cfg_set_rts()
524 uvscom_cfg_write(sc, UVSCOM_LINE_CTL, sc->sc_line); in uvscom_cfg_set_rts()
535 sc->sc_line |= UVSCOM_BREAK; in uvscom_cfg_set_break()
537 sc->sc_line &= ~UVSCOM_BREAK; in uvscom_cfg_set_break()
[all …]
HDumodem.c183 uint16_t sc_line; member
682 sc->sc_line |= UCDC_LINE_DTR; in umodem_cfg_set_dtr()
684 sc->sc_line &= ~UCDC_LINE_DTR; in umodem_cfg_set_dtr()
688 USETW(req.wValue, sc->sc_line); in umodem_cfg_set_dtr()
706 sc->sc_line |= UCDC_LINE_RTS; in umodem_cfg_set_rts()
708 sc->sc_line &= ~UCDC_LINE_RTS; in umodem_cfg_set_rts()
712 USETW(req.wValue, sc->sc_line); in umodem_cfg_set_rts()
HDuipaq.c97 uint16_t sc_line; member
1251 sc->sc_line |= UCDC_LINE_DTR; in uipaq_cfg_set_dtr()
1253 sc->sc_line &= ~UCDC_LINE_DTR; in uipaq_cfg_set_dtr()
1257 USETW(req.wValue, sc->sc_line); in uipaq_cfg_set_dtr()
1275 sc->sc_line |= UCDC_LINE_RTS; in uipaq_cfg_set_rts()
1277 sc->sc_line &= ~UCDC_LINE_RTS; in uipaq_cfg_set_rts()
1281 USETW(req.wValue, sc->sc_line); in uipaq_cfg_set_rts()
HDuplcom.c171 uint16_t sc_line; member
670 sc->sc_line |= UCDC_LINE_DTR; in uplcom_cfg_set_dtr()
672 sc->sc_line &= ~UCDC_LINE_DTR; in uplcom_cfg_set_dtr()
676 USETW(req.wValue, sc->sc_line); in uplcom_cfg_set_dtr()
694 sc->sc_line |= UCDC_LINE_RTS; in uplcom_cfg_set_rts()
696 sc->sc_line &= ~UCDC_LINE_RTS; in uplcom_cfg_set_rts()
700 USETW(req.wValue, sc->sc_line); in uplcom_cfg_set_rts()
HDufoma.c177 uint16_t sc_line; member
915 USETW(req.wValue, sc->sc_line); in ufoma_cfg_set_line_state()
933 sc->sc_line |= UCDC_LINE_DTR; in ufoma_cfg_set_dtr()
935 sc->sc_line &= ~UCDC_LINE_DTR; in ufoma_cfg_set_dtr()
949 sc->sc_line |= UCDC_LINE_RTS; in ufoma_cfg_set_rts()
951 sc->sc_line &= ~UCDC_LINE_RTS; in ufoma_cfg_set_rts()
HDu3g.c109 uint16_t sc_line[U3G_MAXPORTS]; /* line status */ member
1208 USETW(req.wValue, sc->sc_line[ucom->sc_subunit]); in u3g_cfg_set_line()
1225 sc->sc_line[ucom->sc_subunit] |= UCDC_LINE_DTR; in u3g_cfg_set_dtr()
1227 sc->sc_line[ucom->sc_subunit] &= ~UCDC_LINE_DTR; in u3g_cfg_set_dtr()
1240 sc->sc_line[ucom->sc_subunit] |= UCDC_LINE_RTS; in u3g_cfg_set_rts()
1242 sc->sc_line[ucom->sc_subunit] &= ~UCDC_LINE_RTS; in u3g_cfg_set_rts()
/freebsd-13-stable/sys/dev/usb/net/
HDuhso.c109 int sc_line; member
1369 USETW(req.wValue, sc->sc_line); in uhso_bs_cfg()
1376 "0x%02x: %s\n", sc->sc_line, usbd_errstr(uerr)); in uhso_bs_cfg()
1454 sc->sc_line |= UCDC_LINE_DTR; in uhso_ucom_cfg_set_dtr()
1456 sc->sc_line &= ~UCDC_LINE_DTR; in uhso_ucom_cfg_set_dtr()
1470 sc->sc_line |= UCDC_LINE_RTS; in uhso_ucom_cfg_set_rts()
1472 sc->sc_line &= ~UCDC_LINE_RTS; in uhso_ucom_cfg_set_rts()