Searched refs:com_lsr (Results 1 – 6 of 6) sorted by relevance
107 #define com_lsr 5 /* line status register (R/W) */ macro108 #define REG_LSR com_lsr
156 if (inb(comc_port + com_lsr) & LSR_TXRDY) { in comc_putchar()171 return (inb(comc_port + com_lsr) & LSR_RXRDY); in comc_ischar()331 while (inb(comc_port + com_lsr) & LSR_RXRDY && ++tries < TRY_COUNT); in comc_setup()
156 if (inb(comc_port + com_lsr) & LSR_TXRDY) { in comc_putchar()171 return (inb(comc_port + com_lsr) & LSR_RXRDY); in comc_ischar()322 while (inb(comc_port + com_lsr) & LSR_RXRDY && ++tries < TRY_COUNT); in comc_setup()
50 #define com_lsr 5 /* line status register (R/W) */ macro302 lsr = inb (port, com_lsr); in dos_comisr()332 while ((lsr = inb (port, com_lsr)) & LSR_RXRDY); in dos_comisr()514 (void) inb (port, com_lsr); in dos_open()
929 com->line_status_port = iobase + com_lsr;2318 while ((inb(iobase + com_lsr) & (LSR_TSRE | LSR_TXRDY))2554 if (inb(iobase + com_lsr) & LSR_RXRDY) in sio_cngetc()
1478 com->line_status_port = iobase + iat[com_lsr];1487 com->line_status_port = iobase + com_lsr;3480 while ((inb(iobase + com_lsr) & (LSR_TSRE | LSR_TXRDY))3716 if (inb(iobase + com_lsr) & LSR_RXRDY) in sio_cngetc()