Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf.c544 struct lsr *lsr; in interpret_ospf() local
672 lsr = ospf->ospf_lsr; in interpret_ospf()
673 while ((uchar_t *)lsr < ((uchar_t *)ospf + fraglen)) { in interpret_ospf()
674 if ((uchar_t *)lsr + sizeof (struct lsr) > in interpret_ospf()
683 ospf_print_ls_type(flags, ntohl(lsr->ls_type), in interpret_ospf()
684 lsr->ls_stateid, lsr->ls_router); in interpret_ospf()
686 ++lsr; in interpret_ospf()
H A Dsnoop_ospf6.c591 struct lsr6 *lsr; in interpret_ospf6() local
718 lsr = ospf->ospf6_lsr; in interpret_ospf6()
720 while ((uchar_t *)lsr < ((uchar_t *)ospf + fraglen)) { in interpret_ospf6()
721 if ((uchar_t *)lsr + sizeof (struct lsr6) > in interpret_ospf6()
728 ospf6_print_ls_type(flags, ntohl(lsr->ls_type), in interpret_ospf6()
729 lsr->ls_stateid, lsr->ls_router); in interpret_ospf6()
731 ++lsr; in interpret_ospf6()
H A Dsnoop_ospf.h249 struct lsr { struct
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c1585 uftdi_rxerr_put(mblk_t **rx_mpp, mblk_t *data, uint8_t lsr) in uftdi_rxerr_put() argument
1589 if (lsr & FTDI_LSR_STATUS_BI) { in uftdi_rxerr_put()
1594 lsr &= ~(uint8_t)(FTDI_LSR_STATUS_PE | FTDI_LSR_STATUS_FE); in uftdi_rxerr_put()
1597 ((lsr & FTDI_LSR_STATUS_OE) ? DS_OVERRUN_ERR : 0) | in uftdi_rxerr_put()
1598 ((lsr & FTDI_LSR_STATUS_PE) ? DS_PARITY_ERR : 0) | in uftdi_rxerr_put()
1599 ((lsr & FTDI_LSR_STATUS_FE) ? DS_FRAMING_ERR : 0) | in uftdi_rxerr_put()
1600 ((lsr & FTDI_LSR_STATUS_BI) ? DS_BREAK_ERR : 0); in uftdi_rxerr_put()
1656 uint8_t lsr = FTDI_GET_LSR(data->b_rptr); in uftdi_bulkin_cb() local
1681 if ((uf->uf_lsr & FTDI_LSR_MASK) != (lsr & FTDI_LSR_MASK)) { in uftdi_bulkin_cb()
1690 uf->uf_lsr, lsr); in uftdi_bulkin_cb()
[all …]
/titanic_50/usr/src/uts/sun4/io/
H A Dsu_driver.c102 static void async_txint(struct asycom *asy, uchar_t lsr);
103 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 …]
/titanic_50/usr/src/uts/i86pc/boot/
H A Dboot_console.c800 uchar_t lsr; in serial_getchar() local
805 lsr = inb(port + LSR); in serial_getchar()
806 if (lsr & (SERIAL_BREAK | SERIAL_FRAME | in serial_getchar()
808 if (lsr & SERIAL_OVERRUN) { in serial_getchar()
/titanic_50/usr/src/uts/common/io/
H A Dasy.c170 static void async_rxint(struct asycom *asy, uchar_t lsr);
640 uchar_t lsr; in asydetach() local
693 lsr = ddi_get8(asy->asy_iohandle, asy->asy_ioaddr + LSR); in asydetach()
694 async_rxint(asy, lsr); in asydetach()
698 lsr = ddi_get8(asy->asy_iohandle, in asydetach()
700 if ((lsr & (XSRE | XHRE)) == (XSRE | XHRE)) in asydetach()
2235 uchar_t interrupt_id, lsr; in asyintr() local
2283 lsr = ddi_get8(asy->asy_iohandle, asy->asy_ioaddr + LSR); in asyintr()
2289 async_rxint(asy, lsr); in asyintr()
2300 if ((lsr & XHRE) && (async->async_flags & ASYNC_BUSY) && in asyintr()
[all …]