Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
H 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()
/kernel/linux/linux-6.6/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()

Completed in 3 milliseconds