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()
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 Dsu_driver.c104 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 Dasy.c172 static void async_rxint(struct asycom *asy, uchar_t lsr);
642 uchar_t lsr; in asydetach() local
695 lsr = ddi_get8(asy->asy_iohandle, asy->asy_ioaddr + LSR); in asydetach()
696 async_rxint(asy, lsr); in asydetach()
700 lsr = ddi_get8(asy->asy_iohandle, in asydetach()
702 if ((lsr & (XSRE | XHRE)) == (XSRE | XHRE)) in asydetach()
2283 const uint8_t lsr = ddi_get8(asy->asy_iohandle, in asyintr() local
2293 if ((lsr & XHRE) == 0) { in asyintr()
2314 async_rxint(asy, lsr); in asyintr()
2322 if ((lsr & XHRE) && (async->async_flags & ASYNC_BUSY) && in asyintr()
[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()