Lines Matching refs:irq_reg
777 uint16_t irq_reg, status, tmp; in jz_mmc_irq() local
779 irq_reg = readw(host->base + JZ_REG_MMC_IREG); in jz_mmc_irq()
781 tmp = irq_reg; in jz_mmc_irq()
782 irq_reg &= ~host->irq_mask; in jz_mmc_irq()
787 if (tmp != irq_reg) in jz_mmc_irq()
788 writew(tmp & ~irq_reg, host->base + JZ_REG_MMC_IREG); in jz_mmc_irq()
790 if (irq_reg & JZ_MMC_IRQ_SDIO) { in jz_mmc_irq()
793 irq_reg &= ~JZ_MMC_IRQ_SDIO; in jz_mmc_irq()
796 if (host->req && cmd && irq_reg) { in jz_mmc_irq()
813 jz4740_mmc_set_irq_enabled(host, irq_reg, false); in jz_mmc_irq()
814 writew(irq_reg, host->base + JZ_REG_MMC_IREG); in jz_mmc_irq()