Lines Matching refs:sio_ir
40 #define PENDING(port) (PCI_INW(&(port)->ip_ioc4->sio_ir) & port->ip_ienb)
520 ioc4_serial_intr(intr_arg_t arg, ioc4reg_t sio_ir) in ioc4_serial_intr() argument
547 sio_ir &= ~(H_INTR_TX_MT); in ioc4_serial_intr()
551 dprintf(("interrupt: sio_ir 0x%x\n", sio_ir)); in ioc4_serial_intr()
557 if (sio_ir & H_INTR_DELTA_DCD) { in ioc4_serial_intr()
562 PCI_OUTW(&port->ip_ioc4->sio_ir, H_INTR_DELTA_DCD); in ioc4_serial_intr()
579 if (sio_ir & H_INTR_DELTA_CTS) { in ioc4_serial_intr()
584 PCI_OUTW(&port->ip_ioc4->sio_ir, H_INTR_DELTA_CTS); in ioc4_serial_intr()
601 if (sio_ir & H_INTR_RX_TIMER) { in ioc4_serial_intr()
606 PCI_OUTW(&port->ip_ioc4->sio_ir, H_INTR_RX_TIMER); in ioc4_serial_intr()
614 else if (sio_ir & H_INTR_RX_HIGH) { in ioc4_serial_intr()
631 if ((sio_ir = PENDING(port)) & H_INTR_RX_HIGH) { in ioc4_serial_intr()
651 if (sio_ir & H_INTR_TX_EXPLICIT) { in ioc4_serial_intr()
658 PCI_OUTW(&port->ip_ioc4->sio_ir, H_INTR_TX_EXPLICIT); in ioc4_serial_intr()
666 else if (sio_ir & H_INTR_TX_MT) { in ioc4_serial_intr()
688 sio_ir = PENDING(port); in ioc4_serial_intr()
694 if (sio_ir & H_INTR_TX_MT) { in ioc4_serial_intr()
713 sio_ir = PENDING(port); in ioc4_serial_intr()
719 if ( rx_high_rd_aborted && (sio_ir == H_INTR_RX_HIGH) ) { in ioc4_serial_intr()
720 sio_ir &= ~H_INTR_RX_HIGH; in ioc4_serial_intr()
722 } while (sio_ir & H_INTR_ALL); in ioc4_serial_intr()
910 PCI_OUTW(&port->ip_ioc4->sio_ir, H_INTR_CLEAR); in hardware_init()
1620 if (!(PCI_INW(&p->ip_ioc4->sio_ir) & IOC4_SIO_IR_S0_TX_MT) && in ioc4_wrflush()
1633 !(PCI_INW(&p->ip_ioc4->sio_ir) & IOC4_SIO_IR_S0_TX_MT)) { in ioc4_wrflush()