Searched refs:gpiod_get_index (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/Documentation/gpio/ |
D | board.txt | 42 red = gpiod_get_index(dev, "led", 0); 43 green = gpiod_get_index(dev, "led", 1); 44 blue = gpiod_get_index(dev, "led", 2); 145 red = gpiod_get_index(dev, "led", 0); 146 green = gpiod_get_index(dev, "led", 1); 147 blue = gpiod_get_index(dev, "led", 2);
|
D | consumer.txt | 38 struct gpio_desc *gpiod_get_index(struct device *dev,
|
/linux-4.1.27/drivers/mmc/core/ |
D | pwrseq_emmc.c | 79 pwrseq->reset_gpio = gpiod_get_index(dev, "reset", 0, GPIOD_OUT_LOW); in mmc_pwrseq_emmc_alloc()
|
D | pwrseq_simple.c | 120 pwrseq->reset_gpios[i] = gpiod_get_index(dev, "reset", i, in mmc_pwrseq_simple_alloc()
|
/linux-4.1.27/drivers/input/misc/ |
D | soc_button_array.c | 58 desc = gpiod_get_index(dev, KBUILD_MODNAME, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
|
/linux-4.1.27/drivers/gpio/ |
D | devres.c | 112 desc = gpiod_get_index(dev, con_id, idx, flags); in __devm_gpiod_get_index()
|
D | gpiolib.c | 1888 return gpiod_get_index(dev, con_id, 0, flags); in __gpiod_get() 2090 desc = gpiod_get_index(dev, con_id, index, flags); in __gpiod_get_index_optional() 2190 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
|
/linux-4.1.27/sound/soc/ |
D | soc-jack.c | 320 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
|
/linux-4.1.27/include/linux/gpio/ |
D | consumer.h | 438 #define gpiod_get_index(varargs...) __gpiod_get_index(varargs, GPIOD_ASIS) macro
|