Lines Matching refs:sio_ir
381 #define PENDING(_p) (readl(&(_p)->ip_mem->sio_ir.raw) & _p->ip_ienb)
382 #define READ_SIO_IR(_p) readl(&(_p)->ip_mem->sio_ir.raw)
637 static void handle_intr(void *arg, uint32_t sio_ir);
805 intrs = readl(&mem->sio_ir.raw) & readl(&mem->sio_ies.raw); in pending_intrs()
911 writel(hooks->intr_clear, &port->ip_mem->sio_ir.raw); in port_init()
1033 (void *)mem, readl(&mem->sio_ir.raw), in ioc4_intr()
1834 static void handle_intr(void *arg, uint32_t sio_ir) in handle_intr() argument
1857 sio_ir &= ~(hooks->intr_tx_mt); in handle_intr()
1874 if (sio_ir & hooks->intr_delta_dcd) { in handle_intr()
1877 &port->ip_mem->sio_ir.raw); in handle_intr()
1896 if (sio_ir & hooks->intr_delta_cts) { in handle_intr()
1899 &port->ip_mem->sio_ir.raw); in handle_intr()
1917 if (sio_ir & hooks->intr_rx_timer) { in handle_intr()
1920 &port->ip_mem->sio_ir.raw); in handle_intr()
1930 else if (sio_ir & hooks->intr_rx_high) { in handle_intr()
1947 if ((sio_ir = PENDING(port)) & hooks->intr_rx_high) { in handle_intr()
1961 if (sio_ir & hooks->intr_tx_explicit) { in handle_intr()
1966 &port->ip_mem->sio_ir.raw); in handle_intr()
1973 else if (sio_ir & hooks->intr_tx_mt) { in handle_intr()
1988 sio_ir = PENDING(port); in handle_intr()
1994 if (sio_ir & hooks->intr_tx_mt) { in handle_intr()
2014 sio_ir = PENDING(port); in handle_intr()
2020 if (rx_high_rd_aborted && (sio_ir == hooks->intr_rx_high)) { in handle_intr()
2021 sio_ir &= ~hooks->intr_rx_high; in handle_intr()
2023 } while (sio_ir & hooks->intr_all); in handle_intr()
2847 writel(~0, &idd->idd_misc_regs->sio_ir.raw); in ioc4_serial_attach_one()