• Home
  • Raw
  • Download

Lines Matching defs:gpio

22 #define GPIO_BANK(gpio)				((gpio) >> 5)  argument
23 #define GPIO_BIT(gpio) ((gpio) & (GPIO_PER_BANK - 1)) argument
26 #define GPIO_CONTROL(gpio) (0x00000100 + ((gpio) << 2)) argument
83 unsigned gpio) in bcm_kona_gpio_lock_gpio()
99 unsigned gpio) in bcm_kona_gpio_unlock_gpio()
114 static int bcm_kona_gpio_get_dir(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_get_dir()
124 static void bcm_kona_gpio_set(struct gpio_chip *chip, unsigned gpio, int value) in bcm_kona_gpio_set()
151 static int bcm_kona_gpio_get(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_get()
178 static int bcm_kona_gpio_request(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_request()
186 static void bcm_kona_gpio_free(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_free()
193 static int bcm_kona_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_direction_input()
215 unsigned gpio, int value) in bcm_kona_gpio_direction_output()
243 static int bcm_kona_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_to_irq()
253 static int bcm_kona_gpio_set_debounce(struct gpio_chip *chip, unsigned gpio, in bcm_kona_gpio_set_debounce()
302 static int bcm_kona_gpio_set_config(struct gpio_chip *chip, unsigned gpio, in bcm_kona_gpio_set_config()
333 unsigned gpio = d->hwirq; in bcm_kona_gpio_irq_ack() local
354 unsigned gpio = d->hwirq; in bcm_kona_gpio_irq_mask() local
376 unsigned gpio = d->hwirq; in bcm_kona_gpio_irq_unmask() local
398 unsigned gpio = d->hwirq; in bcm_kona_gpio_irq_set_type() local