Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-wpcm450.c82 u8 first_irq_bit; /* First bit in GPEVST that belongs to this bank */ member
110 return hwirq - bank->first_irq_gpio + bank->first_irq_bit; in wpcm450_gpio_irq_bitnum()
117 if (bitnum < bank->first_irq_bit) in wpcm450_irq_bitnum_to_gpio()
120 if (bitnum - bank->first_irq_bit > bank->num_irqs) in wpcm450_irq_bitnum_to_gpio()
123 return bitnum - bank->first_irq_bit + bank->first_irq_gpio; in wpcm450_irq_bitnum_to_gpio()
315 ours = GENMASK(gpio->bank->num_irqs - 1, 0) << gpio->bank->first_irq_bit; in wpcm450_gpio_irqhandler()