Home
last modified time | relevance | path

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

/linux/drivers/gpio/
A Dgpio-xgs-iproc.c122 u32 event_pol, int_pol; in iproc_gpio_irq_set_type() local
128 event_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
129 event_pol &= ~BIT(pin); in iproc_gpio_irq_set_type()
130 writel_relaxed(event_pol, chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
133 event_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
134 event_pol |= BIT(pin); in iproc_gpio_irq_set_type()
135 writel_relaxed(event_pol, chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()

Completed in 3 milliseconds