| /src/sys/dev/usb/ |
| uipaq.c | 89 uint16_t sc_lcr; /* state for DTR/RTS */ member in struct:uipaq_softc 262 if (onoff && (sc->sc_lcr & UCDC_LINE_DTR)) 264 if (!onoff && !(sc->sc_lcr & UCDC_LINE_DTR)) 270 sc->sc_lcr = onoff ? sc->sc_lcr | UCDC_LINE_DTR 271 : sc->sc_lcr & ~UCDC_LINE_DTR; 272 USETW(req.wValue, sc->sc_lcr); 296 if (onoff && (sc->sc_lcr & UCDC_LINE_RTS)) return; 297 if (!onoff && !(sc->sc_lcr & UCDC_LINE_RTS)) return; 301 sc->sc_lcr = onoff ? sc->sc_lcr | UCDC_LINE_RT [all...] |
| uvscom.c | 159 uint16_t sc_lcr; /* Line control */ member in struct:uvscom_softc 335 sc->sc_lcr = UVSCOM_LINE_INIT; 559 SET(sc->sc_lcr, UVSCOM_DTR); 561 CLR(sc->sc_lcr, UVSCOM_DTR); 563 uvscom_set_line(sc, sc->sc_lcr); 578 SET(sc->sc_lcr, UVSCOM_RTS); 580 CLR(sc->sc_lcr, UVSCOM_RTS); 582 uvscom_set_line(sc, sc->sc_lcr); 592 uvscom_set_line(sc, SET(sc->sc_lcr, UVSCOM_BREAK));
|
| /src/sys/arch/evbarm/dev/ |
| plcomvar.h | 142 volatile uint32_t sc_lcr, sc_ifls; member in struct:plcom_softc
|
| plcom.c | 1271 SET(sc->sc_lcr, PL01X_LCR_BRK); 1273 CLR(sc->sc_lcr, PL01X_LCR_BRK); 1448 lcr = ISSET(sc->sc_lcr, PL01X_LCR_BRK) | cflag2lcr(t->c_cflag); 1452 sc->sc_lcr = lcr; 1463 SET(sc->sc_lcr, PL01X_LCR_FEN); 1664 PWRITE1(pi, PL010COM_LCR, sc->sc_lcr); 1688 PWRITE1(pi, PL011COM_LCRH, sc->sc_lcr);
|
| /src/sys/dev/ic/ |
| comvar.h | 194 sc_mcr_active, sc_lcr, sc_ier, sc_fifo, sc_dlbl, sc_dlbh, sc_efr; member in struct:com_softc
|
| com.c | 628 sc->sc_lcr = cflag2lcr(comcons_info.cflag); 1501 SET(sc->sc_lcr, LCR_SBREAK); 1503 CLR(sc->sc_lcr, LCR_SBREAK); 1704 lcr = ISSET(sc->sc_lcr, LCR_SBREAK) | cflag2lcr(t->c_cflag); 1708 sc->sc_lcr = lcr; 1939 CSR_WRITE_1(regsp, COM_REG_LCR, sc->sc_lcr | LCR_DLAB); 1943 CSR_WRITE_1(regsp, COM_REG_LCR, sc->sc_lcr); 1950 CSR_WRITE_1(regsp, COM_REG_LCR, sc->sc_lcr); 2397 CSR_WRITE_1(regsp, COM_REG_LCR, sc->sc_lcr); 2408 CSR_WRITE_1(regsp, COM_REG_LCR, sc->sc_lcr | LCR_DLAB) [all...] |
| /src/sys/arch/sh3/dev/ |
| scif.c | 621 lcr = ISSET(sc->sc_lcr, LCR_SBREAK) | cflag2lcr(t->c_cflag);
|
| sci.c | 524 lcr = ISSET(sc->sc_lcr, LCR_SBREAK) | cflag2lcr(t->c_cflag);
|