Searched refs:evpol (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-wpcm450.c | 220 unsigned long evpol; in wpcm450_gpio_fix_evpol() local 229 evpol = ioread32(pctrl->gpio_base + WPCM450_GPEVPOL); in wpcm450_gpio_fix_evpol() 230 __assign_bit(bit, &evpol, !level); in wpcm450_gpio_fix_evpol() 231 iowrite32(evpol, pctrl->gpio_base + WPCM450_GPEVPOL); in wpcm450_gpio_fix_evpol() 242 unsigned long evtype, evpol; in wpcm450_gpio_set_irq_type() local 255 evpol = ioread32(pctrl->gpio_base + WPCM450_GPEVPOL); in wpcm450_gpio_set_irq_type() 260 __assign_bit(bit, &evpol, 0); in wpcm450_gpio_set_irq_type() 264 __assign_bit(bit, &evpol, 1); in wpcm450_gpio_set_irq_type() 268 __assign_bit(bit, &evpol, 0); in wpcm450_gpio_set_irq_type() 272 __assign_bit(bit, &evpol, 1); in wpcm450_gpio_set_irq_type() [all …]
|