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()
1034 (void *)mem, readl(&mem->sio_ir.raw), in ioc4_intr()
1835 static void handle_intr(void *arg, uint32_t sio_ir) in handle_intr() argument
1858 sio_ir &= ~(hooks->intr_tx_mt); in handle_intr()
1875 if (sio_ir & hooks->intr_delta_dcd) { in handle_intr()
1878 &port->ip_mem->sio_ir.raw); in handle_intr()
1897 if (sio_ir & hooks->intr_delta_cts) { in handle_intr()
1900 &port->ip_mem->sio_ir.raw); in handle_intr()
1918 if (sio_ir & hooks->intr_rx_timer) { in handle_intr()
1921 &port->ip_mem->sio_ir.raw); in handle_intr()
1931 else if (sio_ir & hooks->intr_rx_high) { in handle_intr()
1948 if ((sio_ir = PENDING(port)) & hooks->intr_rx_high) { in handle_intr()
1962 if (sio_ir & hooks->intr_tx_explicit) { in handle_intr()
1967 &port->ip_mem->sio_ir.raw); in handle_intr()
1974 else if (sio_ir & hooks->intr_tx_mt) { in handle_intr()
1989 sio_ir = PENDING(port); in handle_intr()
1995 if (sio_ir & hooks->intr_tx_mt) { in handle_intr()
2015 sio_ir = PENDING(port); in handle_intr()
2021 if (rx_high_rd_aborted && (sio_ir == hooks->intr_rx_high)) { in handle_intr()
2022 sio_ir &= ~hooks->intr_rx_high; in handle_intr()
2024 } while (sio_ir & hooks->intr_all); in handle_intr()
2848 writel(~0, &idd->idd_misc_regs->sio_ir.raw); in ioc4_serial_attach_one()