Searched refs:gpiod_get_index (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/Documentation/gpio/ |
D | board.txt | 46 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 47 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 48 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH); 158 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 159 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 160 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
|
D | consumer.txt | 38 struct gpio_desc *gpiod_get_index(struct device *dev,
|
/linux-4.4.14/include/linux/gpio/ |
D | consumer.h | 53 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, 156 gpiod_get_index(struct device *dev, in gpiod_get_index() function
|
/linux-4.4.14/drivers/input/misc/ |
D | soc_button_array.c | 57 desc = gpiod_get_index(dev, KBUILD_MODNAME, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
|
/linux-4.4.14/drivers/gpio/ |
D | devres.c | 112 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
|
D | gpiolib.c | 2043 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get() 2128 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function 2179 EXPORT_SYMBOL_GPL(gpiod_get_index); 2263 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional() 2367 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
|
/linux-4.4.14/sound/soc/ |
D | soc-jack.c | 324 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
|