Lines Matching defs:gpio
18 #include <linux/gpio/consumer.h>
110 .name = "leds-gpio",
143 * Because green and red power LEDs are normally driven by leds-gpio driver,
145 * ourselves, we acquire both and then create leds-gpio platform device
152 struct gpio_desc *gpio;
177 gpio = fwnode_gpiod_get_index(of_fwnode_handle(child),
180 error = PTR_ERR_OR_ZERO(gpio);
182 printk(KERN_ERR __FILE__ ": Failed to get %s led gpio: %d\n",
188 led->gpiod = gpio;
199 printk(KERN_ERR __FILE__ ": Unable to add leds-gpio: %d\n",