Home
last modified time | relevance | path

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

/linux-6.15/sound/pci/hda/
H A Dcirrus_scodec.c22 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cirrus_scodec_get_speaker_id()
48 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cirrus_scodec_get_speaker_id()
H A Dcs35l41_hda_property.c299 cs_gpiod = gpiod_get_index(physdev, "cs", 0, GPIOD_OUT_LOW); in generic_dsd_config()
378 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in hp_i2c_int_2amp_dual_spkid()
413 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in lenovo_legion_no_acpi()
H A Dcs35l41_hda.c1696 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cs35l41_get_speaker_id()
1723 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id()
/linux-6.15/drivers/leds/simatic/
H A Dsimatic-ipc-leds-gpio-core.c82 gpiod = gpiod_get_index(dev, NULL, 6, GPIOD_OUT_LOW); in simatic_ipc_leds_gpio_probe()
90 gpiod = gpiod_get_index(dev, NULL, 7, GPIOD_OUT_LOW); in simatic_ipc_leds_gpio_probe()
/linux-6.15/Documentation/driver-api/gpio/
H A Dboard.rst42 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
43 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
44 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
162 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
163 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
164 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
H A Dconsumer.rst57 struct gpio_desc *gpiod_get_index(struct device *dev,
/linux-6.15/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst311 desc = gpiod_get_index(dev, connection_id, index, flags);
319 desc = gpiod_get_index(dev, "non-null-connection-id", index, flags);
324 desc = gpiod_get_index(dev, NULL, index, flags);
332 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
/linux-6.15/arch/arm/mach-omap1/
H A Dserial.c206 d = gpiod_get_index(NULL, "wakeup", idx, GPIOD_IN); in omap_serial_set_port_wakeup()
/linux-6.15/include/linux/gpio/
H A Dconsumer.h68 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
201 gpiod_get_index(struct device *dev, in gpiod_get_index() function
/linux-6.15/drivers/gpio/
H A Dgpiolib-devres.c120 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
H A Dgpiolib.c4728 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
4845 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4856 EXPORT_SYMBOL_GPL(gpiod_get_index);
4882 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4984 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/linux-6.15/drivers/leds/
H A 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.15/drivers/soc/fsl/qe/
H A Dgpio.c176 gpiod = gpiod_get_index(dev, NULL, index, in qe_pin_request()
/linux-6.15/sound/soc/
H A Dsoc-jack.c336 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/linux-6.15/arch/arm/mach-omap2/
H A Dpdata-quirks.c105 d = gpiod_get_index(NULL, "reset", idx, GPIOD_OUT_HIGH); in omap3_sbc_t3x_usb_hub_init()
/linux-6.15/drivers/input/misc/
H A Dsoc_button_array.c140 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c539 gs->gpio0 = gpiod_get_index(dev, NULL, 0, GPIOD_OUT_LOW); in gmin_subdev_add()
545 gs->gpio1 = gpiod_get_index(dev, NULL, 1, GPIOD_OUT_LOW); in gmin_subdev_add()
/linux-6.15/drivers/spi/
H A Dspi-mpc52xx.c456 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()
/linux-6.15/drivers/staging/gpib/gpio/
H A Dgpib_bitbang.c1147 desc = gpiod_get_index(board->gpib_dev, name, gpios_vector[j], GPIOD_IN); in allocate_gpios()