Searched refs:gpiod_get_index (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/Documentation/driver-api/gpio/ |
D | board.rst | 48 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);
|
D | consumer.rst | 55 struct gpio_desc *gpiod_get_index(struct device *dev,
|
/Linux-v4.19/Documentation/acpi/ |
D | gpio-properties.txt | 200 desc = gpiod_get_index(dev, connection_id, index, flags); 207 desc = gpiod_get_index(dev, "non-null-connection-id", index, flags); 211 desc = gpiod_get_index(dev, NULL, index, flags); 219 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
|
/Linux-v4.19/include/linux/gpio/ |
D | consumer.h | 57 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, 184 gpiod_get_index(struct device *dev, in gpiod_get_index() function
|
/Linux-v4.19/drivers/platform/x86/ |
D | surface3_button.c | 80 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in surface3_button_lookup_gpio()
|
/Linux-v4.19/drivers/gpio/ |
D | devres.c | 114 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
|
D | gpiolib.c | 3775 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get() 3869 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function 3924 EXPORT_SYMBOL_GPL(gpiod_get_index); 4083 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional() 4185 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
|
/Linux-v4.19/drivers/input/misc/ |
D | soc_button_array.c | 51 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
|
/Linux-v4.19/sound/soc/ |
D | soc-jack.c | 395 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
|