Searched refs:lsr (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | uart_emul.c | 88 uint8_t lsr; /* Line status register (R/W) */ member 146 if ((sc->lsr & LSR_OE) != 0 && (sc->ier & IER_ERLS) != 0) in uart_intr_reason() 269 sc->lsr |= LSR_OE; in uart_ns16550_write() 412 sc->lsr |= LSR_TEMT | LSR_THRE; in uart_ns16550_read() 416 sc->lsr |= LSR_RXRDY; in uart_ns16550_read() 418 sc->lsr &= ~LSR_RXRDY; in uart_ns16550_read() 420 reg = sc->lsr; in uart_ns16550_read() 423 sc->lsr &= ~LSR_OE; in uart_ns16550_read()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ospf.c | 542 struct lsr *lsr; in interpret_ospf() local 670 lsr = ospf->ospf_lsr; in interpret_ospf() 671 while ((uchar_t *)lsr < ((uchar_t *)ospf + fraglen)) { in interpret_ospf() 672 if ((uchar_t *)lsr + sizeof (struct lsr) > in interpret_ospf() 681 ospf_print_ls_type(flags, ntohl(lsr->ls_type), in interpret_ospf() 682 lsr->ls_stateid, lsr->ls_router); in interpret_ospf() 684 ++lsr; in interpret_ospf()
|
H A D | snoop_ospf6.c | 589 struct lsr6 *lsr; in interpret_ospf6() local 716 lsr = ospf->ospf6_lsr; in interpret_ospf6() 718 while ((uchar_t *)lsr < ((uchar_t *)ospf + fraglen)) { in interpret_ospf6() 719 if ((uchar_t *)lsr + sizeof (struct lsr6) > in interpret_ospf6() 726 ospf6_print_ls_type(flags, ntohl(lsr->ls_type), in interpret_ospf6() 727 lsr->ls_stateid, lsr->ls_router); in interpret_ospf6() 729 ++lsr; in interpret_ospf6()
|
H A D | snoop_ospf.h | 247 struct lsr { struct
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/ |
H A D | uftdi_dsd.c | 1593 uftdi_rxerr_put(mblk_t **rx_mpp, mblk_t *data, uint8_t lsr) in uftdi_rxerr_put() argument 1597 if (lsr & FTDI_LSR_STATUS_BI) { in uftdi_rxerr_put() 1602 lsr &= ~(uint8_t)(FTDI_LSR_STATUS_PE | FTDI_LSR_STATUS_FE); in uftdi_rxerr_put() 1605 ((lsr & FTDI_LSR_STATUS_OE) ? DS_OVERRUN_ERR : 0) | in uftdi_rxerr_put() 1606 ((lsr & FTDI_LSR_STATUS_PE) ? DS_PARITY_ERR : 0) | in uftdi_rxerr_put() 1607 ((lsr & FTDI_LSR_STATUS_FE) ? DS_FRAMING_ERR : 0) | in uftdi_rxerr_put() 1608 ((lsr & FTDI_LSR_STATUS_BI) ? DS_BREAK_ERR : 0); in uftdi_rxerr_put() 1664 uint8_t lsr = FTDI_GET_LSR(data->b_rptr); in uftdi_bulkin_cb() local 1689 if ((uf->uf_lsr & FTDI_LSR_MASK) != (lsr & FTDI_LSR_MASK)) { in uftdi_bulkin_cb() 1698 uf->uf_lsr, lsr); in uftdi_bulkin_cb() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | su_driver.c | 104 static void async_txint(struct asycom *asy, uchar_t lsr); 105 static void async_rxint(struct asycom *asy, uchar_t lsr); 1637 uchar_t interrupt_id, lsr; in asyintr() local 1646 lsr = INB(LSR); in asyintr() 1647 if ((lsr & BRKDET) && in asyintr() 1705 lsr = INB(LSR); in asyintr() 1711 async_rxint(asy, lsr); in asyintr() 1715 async_txint(asy, lsr); in asyintr() 1735 async_txint(struct asycom *asy, uchar_t lsr) in async_txint() argument 1763 if (lsr & XHRE) { in async_txint() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | asy.c | 202 static void async_rxint(struct asycom *asy, uchar_t lsr); 1259 uchar_t lsr; in asy_suspend() local 1310 lsr = asy_get(asy, ASY_LSR); in asy_suspend() 1311 async_rxint(asy, lsr); in asy_suspend() 1315 lsr = asy_get(asy, ASY_LSR); in asy_suspend() 1316 if ((lsr & (ASY_LSR_TEMT | ASY_LSR_THRE)) == in asy_suspend() 1822 int isr, lsr, mcr, spr; in asy_identify_chip() local 2151 lsr = asy_get(asy, ASY_LSR); in asy_identify_chip() 2152 if (!(lsr & ASY_LSR_DR)) in asy_identify_chip() 2938 const uint8_t lsr = asy_get(asy, ASY_LSR); in asyintr() local [all …]
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_console.c | 881 uchar_t lsr; in serial_getchar() local 886 lsr = inb(port + LSR); in serial_getchar() 887 if (lsr & (SERIAL_BREAK | SERIAL_FRAME | in serial_getchar() 889 if (lsr & SERIAL_OVERRUN) { in serial_getchar()
|