Home
last modified time | relevance | path

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

/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()
/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()
/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7110.c703 const struct jh7110_gpio_irq_reg *irq_reg = sfp->info->irq_reg; in jh7110_irq_ack() local
705 void __iomem *ic = sfp->base + irq_reg->ic_reg_base in jh7110_irq_ack()
721 const struct jh7110_gpio_irq_reg *irq_reg = sfp->info->irq_reg; in jh7110_irq_mask() local
723 void __iomem *ie = sfp->base + irq_reg->ie_reg_base in jh7110_irq_mask()
740 const struct jh7110_gpio_irq_reg *irq_reg = sfp->info->irq_reg; in jh7110_irq_mask_ack() local
742 void __iomem *ie = sfp->base + irq_reg->ie_reg_base in jh7110_irq_mask_ack()
744 void __iomem *ic = sfp->base + irq_reg->ic_reg_base in jh7110_irq_mask_ack()
763 const struct jh7110_gpio_irq_reg *irq_reg = sfp->info->irq_reg; in jh7110_irq_unmask() local
765 void __iomem *ie = sfp->base + irq_reg->ie_reg_base in jh7110_irq_unmask()
782 const struct jh7110_gpio_irq_reg *irq_reg = sfp->info->irq_reg; in jh7110_irq_set_type() local
[all …]
Dpinctrl-starfive-jh7110.h52 const struct jh7110_gpio_irq_reg *irq_reg; member
Dpinctrl-starfive-jh7110-aon.c149 .irq_reg = &jh7110_aon_irq_reg,
Dpinctrl-starfive-jh7110-sys.c421 .irq_reg = &jh7110_sys_irq_reg,
/drivers/irqchip/
Dirq-ingenic-tcu.c30 uint32_t irq_reg, irq_mask; in ingenic_tcu_intc_cascade() local
34 regmap_read(map, TCU_REG_TFR, &irq_reg); in ingenic_tcu_intc_cascade()
39 irq_reg &= ~irq_mask; in ingenic_tcu_intc_cascade()
40 bits = irq_reg; in ingenic_tcu_intc_cascade()
/drivers/mmc/host/
Djz4740_mmc.c842 uint32_t irq_reg, status, tmp; in jz_mmc_irq() local
845 irq_reg = jz4740_mmc_read_irq_reg(host); in jz_mmc_irq()
847 tmp = irq_reg; in jz_mmc_irq()
848 irq_reg &= ~host->irq_mask; in jz_mmc_irq()
853 if (tmp != irq_reg) in jz_mmc_irq()
854 jz4740_mmc_write_irq_reg(host, tmp & ~irq_reg); in jz_mmc_irq()
856 if (irq_reg & JZ_MMC_IRQ_SDIO) { in jz_mmc_irq()
859 irq_reg &= ~JZ_MMC_IRQ_SDIO; in jz_mmc_irq()
862 if (host->req && cmd && irq_reg) { in jz_mmc_irq()
877 jz4740_mmc_set_irq_enabled(host, irq_reg, false); in jz_mmc_irq()
[all …]
/drivers/tty/serial/
Dliteuart.c48 u8 irq_reg; member
76 uart->irq_reg |= mask; in liteuart_update_irq_reg()
78 uart->irq_reg &= ~mask; in liteuart_update_irq_reg()
81 litex_write8(port->membase + OFF_EV_ENABLE, uart->irq_reg); in liteuart_update_irq_reg()
143 isr = litex_read8(port->membase + OFF_EV_PENDING) & uart->irq_reg; in liteuart_interrupt()
/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()
/drivers/dma/
Dsun6i-dma.c439 u32 irq_val, irq_reg, irq_offset; in sun6i_dma_start_desc() local
457 irq_reg = pchan->idx / DMA_IRQ_CHAN_NR; in sun6i_dma_start_desc()
462 irq_val = readl(sdev->base + DMA_IRQ_EN(irq_reg)); in sun6i_dma_start_desc()
466 writel(irq_val, sdev->base + DMA_IRQ_EN(irq_reg)); in sun6i_dma_start_desc()
/drivers/net/ethernet/intel/ice/
Dice_ptp.c1514 u32 func, aux_reg, gpio_reg, irq_reg; in ice_ptp_cfg_extts() local
1523 irq_reg = rd32(hw, PFINT_OICR_ENA); in ice_ptp_cfg_extts()
1527 irq_reg |= PFINT_OICR_TSYN_EVNT_M; in ice_ptp_cfg_extts()
1553 irq_reg &= ~PFINT_OICR_TSYN_EVNT_M; in ice_ptp_cfg_extts()
1556 wr32(hw, PFINT_OICR_ENA, irq_reg); in ice_ptp_cfg_extts()
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c870 u32 irq_reg = readl(adapter->regs + A_SG_INT_ENABLE); in freelQs_empty() local
878 irq_reg |= F_FL_EXHAUSTED; in freelQs_empty()
882 irq_reg &= ~F_FL_EXHAUSTED; in freelQs_empty()
886 writel(irq_reg, adapter->regs + A_SG_INT_ENABLE); in freelQs_empty()