Searched refs:irq_reg (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/drivers/mfd/
H A Dmax8997-irq.c182 u8 irq_reg[MAX8997_IRQ_GROUP_NR] = {}; max8997_irq_thread() local
197 &irq_reg[PMIC_INT1]); max8997_irq_thread()
213 irq_reg[FUEL_GAUGE] = 0; max8997_irq_thread()
218 &irq_reg[MUIC_INT1]); max8997_irq_thread()
224 irq_reg[GPIO_LOW] = 0; max8997_irq_thread()
225 irq_reg[GPIO_HI] = 0; max8997_irq_thread()
253 irq_reg[GPIO_LOW] |= (1 << i); max8997_irq_thread()
255 irq_reg[GPIO_HI] |= (1 << (i - 8)); max8997_irq_thread()
263 &irq_reg[FLASH_STATUS]); max8997_irq_thread()
268 irq_reg[i] &= ~max8997->irq_masks_cur[i]; max8997_irq_thread()
272 if (irq_reg[max8997_irqs[i].group] & max8997_irqs[i].mask) { max8997_irq_thread()
H A Dmax8998-irq.c160 u8 irq_reg[MAX8998_NUM_IRQ_REGS]; max8998_irq_thread() local
165 MAX8998_NUM_IRQ_REGS, irq_reg); max8998_irq_thread()
174 irq_reg[i] &= ~max8998->irq_masks_cur[i]; max8998_irq_thread()
178 if (irq_reg[max8998_irqs[i].reg - 1] & max8998_irqs[i].mask) { max8998_irq_thread()
/linux-4.4.14/drivers/irqchip/
H A Dirq-ingenic.c47 uint32_t irq_reg; intc_cascade() local
51 irq_reg = readl(intc->base + (i * CHIP_SIZE) + intc_cascade()
53 if (!irq_reg) intc_cascade()
56 generic_handle_irq(__fls(irq_reg) + (i * 32) + JZ4740_IRQ_BASE); intc_cascade()
/linux-4.4.14/drivers/ide/
H A Dcmd64x.c204 int irq_reg = hwif->channel ? ARTTIM23 : CFR; cmd64x_clear_irq() local
209 (void) pci_read_config_byte(dev, irq_reg, &irq_stat); cmd64x_clear_irq()
211 (void) pci_write_config_byte(dev, irq_reg, irq_stat | irq_mask); cmd64x_clear_irq()
231 int irq_reg = hwif->channel ? ARTTIM23 : CFR; cmd64x_test_irq() local
236 (void) pci_read_config_byte(dev, irq_reg, &irq_stat); cmd64x_test_irq()
H A Dcmd640.c637 int irq_reg = hwif->channel ? ARTTIM23 : CFR; cmd640_test_irq() local
640 u8 irq_stat = get_cmd640_reg(irq_reg); cmd640_test_irq()
/linux-4.4.14/drivers/ata/
H A Dpata_cmd64x.c242 int irq_reg = ap->port_no ? ARTTIM23 : CFR; cmd64x_sff_irq_check() local
246 pci_read_config_byte(pdev, irq_reg, &irq_stat); cmd64x_sff_irq_check()
261 int irq_reg = ap->port_no ? ARTTIM23 : CFR; cmd64x_sff_irq_clear() local
267 pci_read_config_byte(pdev, irq_reg, &irq_stat); cmd64x_sff_irq_clear()
H A Dpata_cmd640.c166 int irq_reg = ap->port_no ? ARTIM23 : CFR; cmd640_sff_irq_check() local
169 pci_read_config_byte(pdev, irq_reg, &irq_stat); cmd640_sff_irq_check()
/linux-4.4.14/drivers/mmc/host/
H A Djz4740_mmc.c777 uint16_t irq_reg, status, tmp; jz_mmc_irq() local
779 irq_reg = readw(host->base + JZ_REG_MMC_IREG); jz_mmc_irq()
781 tmp = irq_reg; jz_mmc_irq()
782 irq_reg &= ~host->irq_mask; jz_mmc_irq()
787 if (tmp != irq_reg) jz_mmc_irq()
788 writew(tmp & ~irq_reg, host->base + JZ_REG_MMC_IREG); jz_mmc_irq()
790 if (irq_reg & JZ_MMC_IRQ_SDIO) { jz_mmc_irq()
793 irq_reg &= ~JZ_MMC_IRQ_SDIO; jz_mmc_irq()
796 if (host->req && cmd && irq_reg) { jz_mmc_irq()
813 jz4740_mmc_set_irq_enabled(host, irq_reg, false); jz_mmc_irq()
814 writew(irq_reg, host->base + JZ_REG_MMC_IREG); jz_mmc_irq()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c874 u32 irq_reg = readl(adapter->regs + A_SG_INT_ENABLE); freelQs_empty() local
882 irq_reg |= F_FL_EXHAUSTED; freelQs_empty()
886 irq_reg &= ~F_FL_EXHAUSTED; freelQs_empty()
890 writel(irq_reg, adapter->regs + A_SG_INT_ENABLE); freelQs_empty()
/linux-4.4.14/drivers/dma/
H A Dsun6i-dma.c363 u32 irq_val, irq_reg, irq_offset; sun6i_dma_start_desc() local
381 irq_reg = pchan->idx / DMA_IRQ_CHAN_NR; sun6i_dma_start_desc()

Completed in 287 milliseconds