Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/leds/simple/
Dsimatic-ipc-leds-gpio.c103 gpiod = gpiod_get_index(&simatic_leds_pdev->dev, NULL, 6, GPIOD_OUT_LOW); in simatic_ipc_leds_gpio_probe()
111 gpiod = gpiod_get_index(&simatic_leds_pdev->dev, NULL, 7, GPIOD_OUT_LOW); in simatic_ipc_leds_gpio_probe()
/linux-6.1.9/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);
168 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
169 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
170 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
Dconsumer.rst55 struct gpio_desc *gpiod_get_index(struct device *dev,
/linux-6.1.9/Documentation/firmware-guide/acpi/
Dgpio-properties.rst298 desc = gpiod_get_index(dev, connection_id, index, flags);
306 desc = gpiod_get_index(dev, "non-null-connection-id", index, flags);
311 desc = gpiod_get_index(dev, NULL, index, flags);
319 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
/linux-6.1.9/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c807 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-6.1.9/include/linux/gpio/
Dconsumer.h65 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
203 gpiod_get_index(struct device *dev, in gpiod_get_index() function
/linux-6.1.9/drivers/leds/
Dleds-netxbig.c375 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-6.1.9/drivers/gpio/
Dgpiolib-devres.c101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
Dgpiolib.c3965 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
4074 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4144 EXPORT_SYMBOL_GPL(gpiod_get_index);
4165 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4255 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/linux-6.1.9/sound/soc/
Dsoc-jack.c337 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/linux-6.1.9/drivers/input/misc/
Dsoc_button_array.c119 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/linux-6.1.9/sound/pci/hda/
Dcs35l41_hda.c1172 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cs35l41_get_speaker_id()
1199 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id()
1234 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in cs35l41_no_acpi_dsd()
/linux-6.1.9/drivers/spi/
Dspi-mpc52xx.c455 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()
/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_gmin_platform.c549 gs->gpio0 = gpiod_get_index(dev, NULL, 0, GPIOD_OUT_LOW); in gmin_subdev_add()
555 gs->gpio1 = gpiod_get_index(dev, NULL, 1, GPIOD_OUT_LOW); in gmin_subdev_add()