Searched refs:eic (Results 1 – 5 of 5) sorted by relevance
45 static struct mchp_eic *eic; variable51 tmp = readl_relaxed(eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_mask()53 writel_relaxed(tmp, eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_mask()62 tmp = readl_relaxed(eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_unmask()64 writel_relaxed(tmp, eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_unmask()74 tmp = readl_relaxed(eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_set_type()96 writel_relaxed(tmp, eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_set_type()103 irq_set_irq_wake(eic->irqs[d->hwirq], on); in mchp_eic_irq_set_wake()105 eic->wakeup_source |= BIT(d->hwirq); in mchp_eic_irq_set_wake()107 eic->wakeup_source &= ~BIT(d->hwirq); in mchp_eic_irq_set_wake()[all …]
121 obj-$(CONFIG_MCHP_EIC) += irq-mchp-eic.o
54 struct ep93xx_gpio_irq_chip *eic; member68 return egc->eic; in to_ep93xx_gpio_irq_chip()83 struct ep93xx_gpio_irq_chip *eic) in ep93xx_gpio_update_int_params() argument85 writeb_relaxed(0, epg->base + eic->irq_offset + EP93XX_INT_EN_OFFSET); in ep93xx_gpio_update_int_params()87 writeb_relaxed(eic->int_type2, in ep93xx_gpio_update_int_params()88 epg->base + eic->irq_offset + EP93XX_INT_TYPE2_OFFSET); in ep93xx_gpio_update_int_params()90 writeb_relaxed(eic->int_type1, in ep93xx_gpio_update_int_params()91 epg->base + eic->irq_offset + EP93XX_INT_TYPE1_OFFSET); in ep93xx_gpio_update_int_params()93 writeb_relaxed(eic->int_unmasked & eic->int_enabled, in ep93xx_gpio_update_int_params()94 epg->base + eic->irq_offset + EP93XX_INT_EN_OFFSET); in ep93xx_gpio_update_int_params()[all …]
57 obj-$(CONFIG_GPIO_EIC_SPRD) += gpio-eic-sprd.o130 obj-$(CONFIG_GPIO_PMIC_EIC_SPRD) += gpio-pmic-eic-sprd.o
45 char eic[18]; member164 u8 eic[8]; in eic_read() local186 eic[2] = rx[0]; in eic_read()187 eic[3] = rx[2]; in eic_read()188 eic[4] = rx[4]; in eic_read()189 eic[5] = rx[6]; in eic_read()197 eic[0] = rx[3]; in eic_read()198 eic[1] = rx[4]; in eic_read()199 eic[6] = rx[0]; in eic_read()200 eic[7] = rx[1]; in eic_read()[all …]