Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-xgs-iproc.c124 u32 event_pol, int_pol; in iproc_gpio_irq_set_type() local
130 event_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
131 event_pol &= ~BIT(pin); in iproc_gpio_irq_set_type()
132 writel_relaxed(event_pol, chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
135 event_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
136 event_pol |= BIT(pin); in iproc_gpio_irq_set_type()
137 writel_relaxed(event_pol, chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()