Home
last modified time | relevance | path

Searched refs:grer (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpio/
Dgpio-pxa.c389 uint32_t grer, gfer; in update_edge_detect() local
391 grer = readl_relaxed(c->regbase + GRER_OFFSET) & ~c->irq_mask; in update_edge_detect()
393 grer |= c->irq_edge_rise & c->irq_mask; in update_edge_detect()
395 writel_relaxed(grer, c->regbase + GRER_OFFSET); in update_edge_detect()
502 uint32_t grer, gfer; in pxa_mask_muxed_gpio() local
506 grer = readl_relaxed(base + GRER_OFFSET) & ~GPIO_bit(gpio); in pxa_mask_muxed_gpio()
508 writel_relaxed(grer, base + GRER_OFFSET); in pxa_mask_muxed_gpio()
Dgpio-sa1100.c113 u32 grer, gfer; in sa1100_update_edge_regs() local
115 grer = sgc->irqrising & sgc->irqmask; in sa1100_update_edge_regs()
118 writel_relaxed(grer, base + R_GRER); in sa1100_update_edge_regs()
Dgpio-intel-mid.c173 void __iomem *grer = gpio_reg(&priv->chip, gpio, GRER); in intel_mid_irq_type() local
184 value = readl(grer) | BIT(gpio % 32); in intel_mid_irq_type()
186 value = readl(grer) & (~BIT(gpio % 32)); in intel_mid_irq_type()
187 writel(value, grer); in intel_mid_irq_type()
Dgpio-merrifield.c249 void __iomem *grer = gpio_reg(&priv->chip, gpio, GRER); in mrfld_irq_set_type() local
259 value = readl(grer) | BIT(gpio % 32); in mrfld_irq_set_type()
261 value = readl(grer) & ~BIT(gpio % 32); in mrfld_irq_set_type()
262 writel(value, grer); in mrfld_irq_set_type()