Home
last modified time | relevance | path

Searched refs:irq_reg (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/intel/
Dintel_bxt_pmic_thermal.c30 u16 irq_reg; member
52 .irq_reg = BXTWC_THRM0IRQ,
61 .irq_reg = BXTWC_THRM0IRQ,
73 .irq_reg = BXTWC_THRM0IRQ,
82 .irq_reg = BXTWC_THRM0IRQ,
94 .irq_reg = BXTWC_THRM0IRQ,
103 .irq_reg = BXTWC_THRM0IRQ,
115 .irq_reg = BXTWC_THRM2IRQ,
172 reg = td->maps[i].trip_config[j].irq_reg; in pmic_thermal_irq_handler()
/kernel/linux/linux-5.10/drivers/mfd/
Dmax8997-irq.c168 u8 irq_reg[MAX8997_IRQ_GROUP_NR] = {}; in max8997_irq_thread() local
183 &irq_reg[PMIC_INT1]); in max8997_irq_thread()
199 irq_reg[FUEL_GAUGE] = 0; in max8997_irq_thread()
204 &irq_reg[MUIC_INT1]); in max8997_irq_thread()
210 irq_reg[GPIO_LOW] = 0; in max8997_irq_thread()
211 irq_reg[GPIO_HI] = 0; in max8997_irq_thread()
239 irq_reg[GPIO_LOW] |= (1 << i); in max8997_irq_thread()
241 irq_reg[GPIO_HI] |= (1 << (i - 8)); in max8997_irq_thread()
249 &irq_reg[FLASH_STATUS]); in max8997_irq_thread()
254 irq_reg[i] &= ~max8997->irq_masks_cur[i]; in max8997_irq_thread()
[all …]
Dmax8998-irq.c154 u8 irq_reg[MAX8998_NUM_IRQ_REGS]; in max8998_irq_thread() local
159 MAX8998_NUM_IRQ_REGS, irq_reg); in max8998_irq_thread()
168 irq_reg[i] &= ~max8998->irq_masks_cur[i]; in max8998_irq_thread()
172 if (irq_reg[max8998_irqs[i].reg - 1] & max8998_irqs[i].mask) { in max8998_irq_thread()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-ingenic-tcu.c30 uint32_t irq_reg, irq_mask; in ingenic_tcu_intc_cascade() local
33 regmap_read(map, TCU_REG_TFR, &irq_reg); in ingenic_tcu_intc_cascade()
38 irq_reg &= ~irq_mask; in ingenic_tcu_intc_cascade()
40 for_each_set_bit(i, (unsigned long *)&irq_reg, 32) in ingenic_tcu_intc_cascade()
/kernel/linux/linux-5.10/drivers/ide/
Dcmd64x.c208 int irq_reg = hwif->channel ? ARTTIM23 : CFR; in cmd64x_clear_irq() local
213 (void) pci_read_config_byte(dev, irq_reg, &irq_stat); in cmd64x_clear_irq()
215 (void) pci_write_config_byte(dev, irq_reg, irq_stat | irq_mask); in cmd64x_clear_irq()
235 int irq_reg = hwif->channel ? ARTTIM23 : CFR; in cmd64x_test_irq() local
240 (void) pci_read_config_byte(dev, irq_reg, &irq_stat); in cmd64x_test_irq()
Dcmd640.c638 int irq_reg = hwif->channel ? ARTTIM23 : CFR; in cmd640_test_irq() local
641 u8 irq_stat = get_cmd640_reg(irq_reg); in cmd640_test_irq()
/kernel/linux/linux-5.10/drivers/mmc/host/
Djz4740_mmc.c827 uint32_t irq_reg, status, tmp; in jz_mmc_irq() local
830 irq_reg = jz4740_mmc_read_irq_reg(host); in jz_mmc_irq()
832 tmp = irq_reg; in jz_mmc_irq()
833 irq_reg &= ~host->irq_mask; in jz_mmc_irq()
838 if (tmp != irq_reg) in jz_mmc_irq()
839 jz4740_mmc_write_irq_reg(host, tmp & ~irq_reg); in jz_mmc_irq()
841 if (irq_reg & JZ_MMC_IRQ_SDIO) { in jz_mmc_irq()
844 irq_reg &= ~JZ_MMC_IRQ_SDIO; in jz_mmc_irq()
847 if (host->req && cmd && irq_reg) { in jz_mmc_irq()
862 jz4740_mmc_set_irq_enabled(host, irq_reg, false); in jz_mmc_irq()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dpata_cmd64x.c243 int irq_reg = ap->port_no ? ARTTIM23 : CFR; in cmd64x_sff_irq_check() local
247 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd64x_sff_irq_check()
262 int irq_reg = ap->port_no ? ARTTIM23 : CFR; in cmd64x_sff_irq_clear() local
268 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd64x_sff_irq_clear()
Dpata_cmd640.c167 int irq_reg = ap->port_no ? ARTIM23 : CFR; in cmd640_sff_irq_check() local
170 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd640_sff_irq_check()
/kernel/linux/linux-5.10/drivers/dma/
Dsun6i-dma.c432 u32 irq_val, irq_reg, irq_offset; in sun6i_dma_start_desc() local
450 irq_reg = pchan->idx / DMA_IRQ_CHAN_NR; in sun6i_dma_start_desc()
455 irq_val = readl(sdev->base + DMA_IRQ_EN(irq_reg)); in sun6i_dma_start_desc()
459 writel(irq_val, sdev->base + DMA_IRQ_EN(irq_reg)); in sun6i_dma_start_desc()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dsge.c879 u32 irq_reg = readl(adapter->regs + A_SG_INT_ENABLE); in freelQs_empty() local
887 irq_reg |= F_FL_EXHAUSTED; in freelQs_empty()
891 irq_reg &= ~F_FL_EXHAUSTED; in freelQs_empty()
895 writel(irq_reg, adapter->regs + A_SG_INT_ENABLE); in freelQs_empty()