Lines Matching defs:chip
17 struct gpio_chip chip;
34 static int imx_scu_gpio_get(struct gpio_chip *chip, unsigned int offset)
36 struct scu_gpio_priv *priv = gpiochip_get_data(chip);
40 if (offset >= chip->ngpio)
58 static void imx_scu_gpio_set(struct gpio_chip *chip, unsigned int offset, int value)
60 struct scu_gpio_priv *priv = gpiochip_get_data(chip);
63 if (offset >= chip->ngpio)
78 static int imx_scu_gpio_get_direction(struct gpio_chip *chip, unsigned int offset)
80 if (offset >= chip->ngpio)
104 gc = &priv->chip;