Home
last modified time | relevance | path

Searched refs:lsr (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf.c542 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 Dsnoop_ospf6.c589 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 Dsnoop_ospf.h247 struct lsr { struct
/illumos-gate/usr/src/cmd/bhyve/
H A Duart_emul.c134 uint8_t lsr; /* Line status register (R/W) */ member
393 if ((sc->lsr & LSR_OE) != 0 && (sc->ier & IER_ERLS) != 0) in uart_intr_reason()
497 sc->lsr |= LSR_OE; in uart_write()
645 sc->lsr |= LSR_TEMT | LSR_THRE; in uart_read()
649 sc->lsr |= LSR_RXRDY; in uart_read()
651 sc->lsr &= ~LSR_RXRDY; in uart_read()
653 reg = sc->lsr; in uart_read()
656 sc->lsr &= ~LSR_OE; in uart_read()
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c1593 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()
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
1698 uf->uf_lsr, lsr); in uftdi_bulkin_cb()
1703 uf->uf_lsr = lsr; /* THRE and TEMT captured here */ in uftdi_bulkin_cb()
1705 if ((lsr & FTDI_LSR_MASK) != 0 && in uftdi_bulkin_cb()
[all …]
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c1646 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()
1763 if (lsr & XHRE) { in async_txint()
1774 lsr = INB(LSR); in async_txint()
1820 if (lsr & RCA) { in async_rxint()
1839 if (lsr & PARERR) { in async_rxint()
1845 if (lsr & OVRRUN) { in async_rxint()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dasy.c642 uchar_t lsr; in asydetach() local
696 async_rxint(asy, lsr); in asydetach()
700 lsr = ddi_get8(asy->asy_iohandle, in asydetach()
2293 if ((lsr & XHRE) == 0) { in asyintr()
2314 async_rxint(asy, lsr); in asyintr()
2452 async_rxint(struct asycom *asy, uchar_t lsr) in async_rxint() argument
2467 lsr = ddi_get8(asy->asy_iohandle, in async_rxint()
2478 if (lsr & RCA) { in async_rxint()
2520 if (lsr & PARERR) { in async_rxint()
2525 if (lsr & (FRMERR|BRKDET)) in async_rxint()
[all …]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c881 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()