Lines Matching defs:gpio
35 #include <linux/gpio/driver.h>
38 #include <asm/mach-rc32434/gpio.h>
143 static int rb532_gpio_to_irq(struct gpio_chip *chip, unsigned gpio)
145 return 8 + 4 * 32 + gpio;
166 void rb532_gpio_set_ilevel(int bit, unsigned gpio)
168 rb532_set_bit(bit, gpio, rb532_gpio_chip->regbase + GPIOILEVEL);
175 void rb532_gpio_set_istat(int bit, unsigned gpio)
177 rb532_set_bit(bit, gpio, rb532_gpio_chip->regbase + GPIOISTAT);
184 void rb532_gpio_set_func(unsigned gpio)
186 rb532_set_bit(1, gpio, rb532_gpio_chip->regbase + GPIOFUNC);