Searched refs:gpiod_get_index (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/mmc/core/
H A Dpwrseq_emmc.c79 pwrseq->reset_gpio = gpiod_get_index(dev, "reset", 0, GPIOD_OUT_LOW); mmc_pwrseq_emmc_alloc()
H A Dpwrseq_simple.c120 pwrseq->reset_gpios[i] = gpiod_get_index(dev, "reset", i, mmc_pwrseq_simple_alloc()
/linux-4.1.27/include/linux/gpio/
H A Dmachine.h48 * gpiod_get_index()
H A Dconsumer.h438 #define gpiod_get_index(varargs...) __gpiod_get_index(varargs, GPIOD_ASIS) macro
/linux-4.1.27/drivers/gpio/
H A Ddevres.c89 * devm_gpiod_get_index - Resource-managed gpiod_get_index()
95 * Managed gpiod_get_index(). GPIO descriptors returned from this function are
96 * automatically disposed on driver detach. See gpiod_get_index() for detailed
112 desc = gpiod_get_index(dev, con_id, idx, flags); __devm_gpiod_get_index()
H A Dgpiolib.c1888 return gpiod_get_index(dev, con_id, 0, flags); __gpiod_get()
1952 * gpiod_get_index - obtain a GPIO from a multi-index GPIO function
2079 * This is equivalent to gpiod_get_index(), except that when no GPIO with the
2090 desc = gpiod_get_index(dev, con_id, index, flags); __gpiod_get_index_optional()
2190 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); gpiod_get_array()
/linux-4.1.27/drivers/input/misc/
H A Dsoc_button_array.c58 desc = gpiod_get_index(dev, KBUILD_MODNAME, acpi_index, GPIOD_ASIS); soc_button_lookup_gpio()
/linux-4.1.27/sound/soc/
H A Dsoc-jack.c320 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, snd_soc_jack_add_gpios()

Completed in 571 milliseconds