Lines Matching full:int_status
657 static void cio2_irq_handle_once(struct cio2_device *cio2, u32 int_status) in cio2_irq_handle_once() argument
662 if (int_status & CIO2_INT_IOOE) { in cio2_irq_handle_once()
689 int_status &= ~CIO2_INT_IOOE; in cio2_irq_handle_once()
692 if (int_status & CIO2_INT_IOC_MASK) { in cio2_irq_handle_once()
698 if (int_status & CIO2_INT_IOC(d)) { in cio2_irq_handle_once()
702 int_status &= ~clr; in cio2_irq_handle_once()
705 if (int_status & CIO2_INT_IOS_IOLN_MASK) { in cio2_irq_handle_once()
711 if (int_status & CIO2_INT_IOS_IOLN(d)) { in cio2_irq_handle_once()
717 int_status &= ~clr; in cio2_irq_handle_once()
720 if (int_status & (CIO2_INT_IOIE | CIO2_INT_IOIRQ)) { in cio2_irq_handle_once()
749 int_status &= ~(CIO2_INT_IOIE | CIO2_INT_IOIRQ); in cio2_irq_handle_once()
752 if (int_status) in cio2_irq_handle_once()
753 dev_warn(dev, "unknown interrupt 0x%x on INT\n", int_status); in cio2_irq_handle_once()
761 u32 int_status; in cio2_irq() local
763 int_status = readl(base + CIO2_REG_INT_STS); in cio2_irq()
764 dev_dbg(dev, "isr enter - interrupt status 0x%x\n", int_status); in cio2_irq()
765 if (!int_status) in cio2_irq()
769 writel(int_status, base + CIO2_REG_INT_STS); in cio2_irq()
770 cio2_irq_handle_once(cio2, int_status); in cio2_irq()
771 int_status = readl(base + CIO2_REG_INT_STS); in cio2_irq()
772 if (int_status) in cio2_irq()
773 dev_dbg(dev, "pending status 0x%x\n", int_status); in cio2_irq()
774 } while (int_status); in cio2_irq()