Lines Matching refs:gc
230 static int sx150x_gpio_get(struct gpio_chip *gc, unsigned offset)
235 chip = container_of(gc, struct sx150x_chip, gpio_chip);
246 static void sx150x_gpio_set(struct gpio_chip *gc, unsigned offset, int val)
250 chip = container_of(gc, struct sx150x_chip, gpio_chip);
260 static int sx150x_gpio_direction_input(struct gpio_chip *gc, unsigned offset)
265 chip = container_of(gc, struct sx150x_chip, gpio_chip);
275 static int sx150x_gpio_direction_output(struct gpio_chip *gc,
282 chip = container_of(gc, struct sx150x_chip, gpio_chip);
292 static int sx150x_gpio_to_irq(struct gpio_chip *gc, unsigned offset)
296 chip = container_of(gc, struct sx150x_chip, gpio_chip);