Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c42 #define GPIO_PER_REG 32 macro
231 if (*offset >= GPIO_PER_REG) { in armada_37xx_update_reg()
232 *offset -= GPIO_PER_REG; in armada_37xx_update_reg()
578 val |= (BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_wake()
580 val &= ~(BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_wake()
599 val &= ~(BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_type()
602 val |= (BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_type()
611 if (in_val & BIT(d->hwirq % GPIO_PER_REG)) in armada_37xx_irq_set_type()
612 val |= BIT(d->hwirq % GPIO_PER_REG); /* falling */ in armada_37xx_irq_set_type()
614 val &= ~(BIT(d->hwirq % GPIO_PER_REG)); /* rising */ in armada_37xx_irq_set_type()
[all …]