Home
last modified time | relevance | path

Searched refs:gpiod_get_index (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/Documentation/gpio/
Dboard.txt42 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);
Dconsumer.txt38 struct gpio_desc *gpiod_get_index(struct device *dev,
/linux-4.1.27/drivers/mmc/core/
Dpwrseq_emmc.c79 pwrseq->reset_gpio = gpiod_get_index(dev, "reset", 0, GPIOD_OUT_LOW); in mmc_pwrseq_emmc_alloc()
Dpwrseq_simple.c120 pwrseq->reset_gpios[i] = gpiod_get_index(dev, "reset", i, in mmc_pwrseq_simple_alloc()
/linux-4.1.27/drivers/input/misc/
Dsoc_button_array.c58 desc = gpiod_get_index(dev, KBUILD_MODNAME, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/linux-4.1.27/drivers/gpio/
Ddevres.c112 desc = gpiod_get_index(dev, con_id, idx, flags); in __devm_gpiod_get_index()
Dgpiolib.c1888 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/
Dsoc-jack.c320 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/linux-4.1.27/include/linux/gpio/
Dconsumer.h438 #define gpiod_get_index(varargs...) __gpiod_get_index(varargs, GPIOD_ASIS) macro