Searched refs:gpiod_get_index (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.15/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); 171 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 172 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 173 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
|
| D | consumer.rst | 55 struct gpio_desc *gpiod_get_index(struct device *dev,
|
| /Linux-v5.15/Documentation/firmware-guide/acpi/ |
| D | gpio-properties.rst | 296 desc = gpiod_get_index(dev, connection_id, index, flags); 304 desc = gpiod_get_index(dev, "non-null-connection-id", index, flags); 309 desc = gpiod_get_index(dev, NULL, index, flags); 317 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
|
| /Linux-v5.15/drivers/staging/media/atomisp/i2c/ |
| D | atomisp-lm3554.c | 807 platform_data.gpio_reset = gpiod_get_index(&client->dev, in lm3554_platform_data_func() 811 platform_data.gpio_strobe = gpiod_get_index(&client->dev, in lm3554_platform_data_func() 815 platform_data.gpio_torch = gpiod_get_index(&client->dev, in lm3554_platform_data_func()
|
| /Linux-v5.15/drivers/platform/surface/ |
| D | surface3_button.c | 76 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in surface3_button_lookup_gpio()
|
| /Linux-v5.15/include/linux/gpio/ |
| D | consumer.h | 68 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, 208 gpiod_get_index(struct device *dev, in gpiod_get_index() function
|
| /Linux-v5.15/drivers/leds/ |
| D | leds-netxbig.c | 375 gpiod = gpiod_get_index(gpio_ext_dev, "addr", i, in netxbig_gpio_ext_get() 397 gpiod = gpiod_get_index(gpio_ext_dev, "data", i, in netxbig_gpio_ext_get()
|
| /Linux-v5.15/drivers/gpio/ |
| D | gpiolib-devres.c | 101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
|
| D | gpiolib.c | 3740 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get() 3845 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function 3917 EXPORT_SYMBOL_GPL(gpiod_get_index); 4004 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional() 4096 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
|
| /Linux-v5.15/sound/soc/ |
| D | soc-jack.c | 337 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
|
| /Linux-v5.15/drivers/input/misc/ |
| D | soc_button_array.c | 108 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
|
| /Linux-v5.15/drivers/staging/media/atomisp/pci/ |
| D | atomisp_gmin_platform.c | 531 gs->gpio0 = gpiod_get_index(dev, NULL, 0, GPIOD_OUT_LOW); in gmin_subdev_add() 537 gs->gpio1 = gpiod_get_index(dev, NULL, 1, GPIOD_OUT_LOW); in gmin_subdev_add()
|