Lines Matching refs:gpio_chip
37 Controller Drivers: gpio_chip
41 gpio_chip" (see linux/gpio/driver.h for its complete definition) with members
52 The code implementing a gpio_chip should support multiple instances of the
54 gpio_chip and issue gpiochip_add(). Removing a GPIO controller should be rare;
57 Most often a gpio_chip is part of an instance-specific structure with state not
66 (like PM runtime) in its gpio_chip implementation (.get/.set and direction
106 struct gpio_chip, as everything happens directly in the callbacks.
154 flag on struct gpio_chip to true, indicating that this chip may sleep
163 the struct gpio_chip* for the chip to all IRQ callbacks, so the callbacks
164 need to embed the gpio_chip in its state container and obtain a pointer
169 gpio_chip from a parent IRQ and passes the struct gpio_chip* as handler
176 - Make sure to assign all relevant members of the struct gpio_chip so that
188 if that is a combined GPIO+IRQ driver. The basic premise is that gpio_chip and
212 int gpiochip_lock_as_irq(struct gpio_chip *chip, unsigned int offset)
217 void gpiochip_unlock_as_irq(struct gpio_chip *chip, unsigned int offset)