Lines Matching refs:irq_stat
855 static int nv_host_intr(struct ata_port *ap, u8 irq_stat) in nv_host_intr() argument
860 if (unlikely(irq_stat & (NV_INT_ADDED | NV_INT_REMOVED))) { in nv_host_intr()
866 if (!(irq_stat & NV_INT_DEV)) in nv_host_intr()
899 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() local
901 handled += nv_host_intr(ap, irq_stat); in nv_adma_interrupt()
907 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() local
914 irq_stat |= NV_INT_DEV; in nv_adma_interrupt()
915 handled += nv_host_intr(ap, irq_stat); in nv_adma_interrupt()
1464 static irqreturn_t nv_do_interrupt(struct ata_host *host, u8 irq_stat) in nv_do_interrupt() argument
1469 handled += nv_host_intr(host->ports[i], irq_stat); in nv_do_interrupt()
1470 irq_stat >>= NV_INT_PORT_SHIFT; in nv_do_interrupt()
1479 u8 irq_stat; in nv_nf2_interrupt() local
1483 irq_stat = ioread8(host->ports[0]->ioaddr.scr_addr + NV_INT_STATUS); in nv_nf2_interrupt()
1484 ret = nv_do_interrupt(host, irq_stat); in nv_nf2_interrupt()
1493 u8 irq_stat; in nv_ck804_interrupt() local
1497 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_ck804_interrupt()
1498 ret = nv_do_interrupt(host, irq_stat); in nv_ck804_interrupt()
2284 u32 irq_stat; in nv_swncq_interrupt() local
2288 irq_stat = readl(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_MCP55); in nv_swncq_interrupt()
2294 nv_swncq_host_interrupt(ap, (u16)irq_stat); in nv_swncq_interrupt()
2297 if (irq_stat) /* reserve Hotplug */ in nv_swncq_interrupt()
2300 handled += nv_host_intr(ap, (u8)irq_stat); in nv_swncq_interrupt()
2302 irq_stat >>= NV_INT_PORT_SHIFT_MCP55; in nv_swncq_interrupt()