Lines Matching refs:chip
41 struct gpio_chip chip; member
87 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get() argument
91 gpch = gpiochip_get_data(chip); in rb532_gpio_get()
98 static void rb532_gpio_set(struct gpio_chip *chip, in rb532_gpio_set() argument
103 gpch = gpiochip_get_data(chip); in rb532_gpio_set()
110 static int rb532_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in rb532_gpio_direction_input() argument
114 gpch = gpiochip_get_data(chip); in rb532_gpio_direction_input()
126 static int rb532_gpio_direction_output(struct gpio_chip *chip, in rb532_gpio_direction_output() argument
131 gpch = gpiochip_get_data(chip); in rb532_gpio_direction_output()
143 static int rb532_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) in rb532_gpio_to_irq() argument
150 .chip = {
203 gpiochip_add_data(&rb532_gpio_chip->chip, rb532_gpio_chip); in rb532_gpio_init()