Lines Matching refs:gpio_chip
46 * While any GPIO is requested, its gpio_chip is not removable;
52 struct gpio_chip *chip;
99 const struct gpio_chip *chip = desc->chip;
119 static inline struct gpio_chip *gpio_to_chip(unsigned gpio)
133 struct gpio_chip *chip = desc->chip;
560 * /base ... matching gpio_chip.base (N)
561 * /label ... matching gpio_chip.label
562 * /ngpio ... matching gpio_chip.ngpio
568 const struct gpio_chip *chip = dev_get_drvdata(dev);
577 const struct gpio_chip *chip = dev_get_drvdata(dev);
586 const struct gpio_chip *chip = dev_get_drvdata(dev);
908 static int gpiochip_export(struct gpio_chip *chip)
950 static void gpiochip_unexport(struct gpio_chip *chip)
989 struct gpio_chip *chip;
1007 static inline int gpiochip_export(struct gpio_chip *chip)
1012 static inline void gpiochip_unexport(struct gpio_chip *chip)
1019 * gpiochip_add() - register a gpio_chip
1035 int gpiochip_add(struct gpio_chip *chip)
1059 /* these GPIO numbers must not be managed by another gpio_chip */
1105 * gpiochip_remove() - unregister a gpio_chip
1108 * A gpio_chip with any GPIOs still requested may not be removed.
1110 int gpiochip_remove(struct gpio_chip *chip)
1141 * gpiochip_find() - iterator for locating a specific gpio_chip
1143 * @callback: Callback function to check gpio_chip
1145 * Similar to bus_find_device. It returns a reference to a gpio_chip as
1151 struct gpio_chip *gpiochip_find(void *data,
1152 int (*match)(struct gpio_chip *chip, void *data))
1154 struct gpio_chip *chip = NULL;
1180 struct gpio_chip *chip;
1235 struct gpio_chip *chip;
1340 const char *gpiochip_is_requested(struct gpio_chip *chip, unsigned offset)
1369 struct gpio_chip *chip;
1422 struct gpio_chip *chip;
1480 struct gpio_chip *chip;
1545 * gpio_chip.get() method; or zero if no such method is provided.
1549 struct gpio_chip *chip;
1564 * It invokes the associated gpio_chip.set() method.
1568 struct gpio_chip *chip;
1586 struct gpio_chip *chip;
1606 struct gpio_chip *chip;
1621 struct gpio_chip *chip;
1631 struct gpio_chip *chip;
1642 static void gpiolib_dbg_show(struct seq_file *s, struct gpio_chip *chip)
1711 struct gpio_chip *chip = NULL;
1715 /* REVISIT this isn't locked against gpio_chip removal ... */