Lines Matching defs:gpio
35 #include <sys/gpio.h>
43 #include <dev/gpio/gpiobusvar.h>
86 * practice they are always the flags from the dt-bindings/gpio/gpio.h file.
222 gpio_pin_release(gpio_pin_t gpio)
226 if (gpio == NULL)
229 KASSERT(gpio->dev != NULL, ("GPIO pin device is NULL."));
231 busdev = GPIO_GET_BUS(gpio->dev);
233 gpiobus_release_pin(busdev, gpio->pin);
235 free(gpio, M_DEVBUF);
1140 EARLY_DRIVER_MODULE(gpiobus, gpio, gpiobus_driver, gpiobus_devclass, 0, 0,