Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/driver-api/gpio/
Dboard.rst48 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
49 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
50 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
166 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
167 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
168 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
Dconsumer.rst55 struct gpio_desc *gpiod_get_index(struct device *dev,
/Linux-v5.4/Documentation/firmware-guide/acpi/
Dgpio-properties.rst208 desc = gpiod_get_index(dev, connection_id, index, flags);
216 desc = gpiod_get_index(dev, "non-null-connection-id", index, flags);
221 desc = gpiod_get_index(dev, NULL, index, flags);
229 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
/Linux-v5.4/drivers/platform/x86/
Dsurface3_button.c76 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in surface3_button_lookup_gpio()
/Linux-v5.4/include/linux/gpio/
Dconsumer.h67 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
199 gpiod_get_index(struct device *dev, in gpiod_get_index() function
/Linux-v5.4/drivers/gpio/
Dgpiolib-devres.c101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
Dgpiolib.c4393 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
4498 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4568 EXPORT_SYMBOL_GPL(gpiod_get_index);
4654 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4749 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/Linux-v5.4/sound/soc/
Dsoc-jack.c377 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/Linux-v5.4/drivers/input/misc/
Dsoc_button_array.c52 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/Linux-v5.4/sound/soc/intel/boards/
Dbytcht_es8316.c556 gpiod_get_index(codec_dev, "speaker-enable", 0, in snd_byt_cht_es8316_mc_probe()