Searched refs:sio_ir (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/tty/serial/
H A Dioc4_serial.c381 #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)
447 * along with sio_ir.
637 static void handle_intr(void *arg, uint32_t sio_ir);
805 intrs = readl(&mem->sio_ir.raw) & readl(&mem->sio_ies.raw); pending_intrs()
911 writel(hooks->intr_clear, &port->ip_mem->sio_ir.raw); port_init()
1031 printk ("%s : %d : mem 0x%p sio_ir 0x%x sio_ies 0x%x " ioc4_intr()
1034 (void *)mem, readl(&mem->sio_ir.raw), ioc4_intr()
1833 * @sio_ir: ioc4regs
1835 static void handle_intr(void *arg, uint32_t sio_ir) handle_intr() argument
1858 sio_ir &= ~(hooks->intr_tx_mt); handle_intr()
1875 if (sio_ir & hooks->intr_delta_dcd) { handle_intr()
1878 &port->ip_mem->sio_ir.raw); handle_intr()
1897 if (sio_ir & hooks->intr_delta_cts) { handle_intr()
1900 &port->ip_mem->sio_ir.raw); handle_intr()
1918 if (sio_ir & hooks->intr_rx_timer) { handle_intr()
1921 &port->ip_mem->sio_ir.raw); handle_intr()
1931 else if (sio_ir & hooks->intr_rx_high) { handle_intr()
1946 * though we see it as asserted when we read the sio_ir. handle_intr()
1948 if ((sio_ir = PENDING(port)) & hooks->intr_rx_high) { handle_intr()
1962 if (sio_ir & hooks->intr_tx_explicit) { handle_intr()
1967 &port->ip_mem->sio_ir.raw); handle_intr()
1974 else if (sio_ir & hooks->intr_tx_mt) { handle_intr()
1985 /* We need to reload the sio_ir since the lowat handle_intr()
1989 sio_ir = PENDING(port); handle_intr()
1995 if (sio_ir & hooks->intr_tx_mt) { handle_intr()
2015 sio_ir = PENDING(port); handle_intr()
2021 if (rx_high_rd_aborted && (sio_ir == hooks->intr_rx_high)) { handle_intr()
2022 sio_ir &= ~hooks->intr_rx_high; handle_intr()
2024 } while (sio_ir & hooks->intr_all); handle_intr()
2848 writel(~0, &idd->idd_misc_regs->sio_ir.raw); ioc4_serial_attach_one()
H A Dioc3_serial.c36 /* determine given the sio_ir what port it applies to */
114 #define PENDING(_a, _p) (readl(&(_p)->vma->sio_ir) & (_a)->ic_enable)
1446 unsigned int sio_ir; ioc3uart_intr_one() local
1467 sio_ir = pending & ~(hooks->intr_tx_mt); ioc3uart_intr_one()
1483 if (sio_ir & hooks->intr_delta_dcd) { ioc3uart_intr_one()
1505 if (sio_ir & hooks->intr_delta_cts) { ioc3uart_intr_one()
1522 if (sio_ir & hooks->intr_rx_timer) { ioc3uart_intr_one()
1531 else if (sio_ir & hooks->intr_rx_high) { ioc3uart_intr_one()
1544 * though we see it as asserted when we read the sio_ir. ioc3uart_intr_one()
1546 if ((sio_ir = PENDING(card_ptr, idd)) ioc3uart_intr_one()
1562 if (sio_ir & hooks->intr_tx_explicit) { ioc3uart_intr_one()
1570 else if (sio_ir & hooks->intr_tx_mt) { ioc3uart_intr_one()
1581 /* We need to reload the sio_ir since the lowat ioc3uart_intr_one()
1585 sio_ir = PENDING(card_ptr, idd); ioc3uart_intr_one()
1591 if (sio_ir & hooks->intr_tx_mt) { ioc3uart_intr_one()
1609 sio_ir = PENDING(card_ptr, idd); ioc3uart_intr_one()
1615 if (rx_high_rd_aborted && (sio_ir == hooks->intr_rx_high)) { ioc3uart_intr_one()
1616 sio_ir &= ~hooks->intr_rx_high; ioc3uart_intr_one()
1618 } while (sio_ir & hooks->intr_all); ioc3uart_intr_one()
/linux-4.4.14/include/linux/
H A Dioc3.h50 * along with sio_ir.
H A Dioc4.h62 } sio_ir; /* Serial interrupt state */ member in struct:ioc4_misc_regs
/linux-4.4.14/drivers/sn/
H A Dioc3.c396 intrs = readl(&idd->vma->sio_ir); get_pending_intrs()
470 writel(irqs & is->irq_mask, &idd->vma->sio_ir); ioc3_ack()
697 writel(~0, &idd->vma->sio_ir); ioc3_probe()
780 writel(~0, &idd->vma->sio_ir); ioc3_remove()
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dioc3.h64 uint32_t sio_ir; member in struct:ioc3
/linux-4.4.14/arch/mips/include/asm/sn/
H A Dioc3.h72 volatile u32 sio_ir; /* 0x0001c */ member in struct:ioc3
443 #define IOC3_PENDING_INTRS(mem) (PCI_INW(&((mem)->sio_ir)) & \
/linux-4.4.14/drivers/misc/
H A Dioc4.c367 writel(~0, &idd->idd_misc_regs->sio_ir); ioc4_probe()

Completed in 586 milliseconds