Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-wpcm450.c84 u8 first_irq_gpio; /* First IRQ-capable GPIO in this bank */ member
104 if (hwirq < bank->first_irq_gpio) in wpcm450_gpio_irq_bitnum()
107 if (hwirq - bank->first_irq_gpio >= bank->num_irqs) in wpcm450_gpio_irq_bitnum()
110 return hwirq - bank->first_irq_gpio + bank->first_irq_bit; in wpcm450_gpio_irq_bitnum()
123 return bitnum - bank->first_irq_bit + bank->first_irq_gpio; in wpcm450_irq_bitnum_to_gpio()