Home
last modified time | relevance | path

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

/linux/sound/hda/codecs/side-codecs/
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.c310 cs_gpiod = gpiod_get_index(physdev, "cs", 0, GPIOD_OUT_LOW); in generic_dsd_config()
389 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in hp_i2c_int_2amp_dual_spkid()
424 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in lenovo_legion_no_acpi()
H A Dcs35l41_hda.c1759 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cs35l41_get_speaker_id()
1786 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id()
/linux/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);
328 desc = gpiod_get_index(dev, NULL, index, flags);
332 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
/linux/arch/arm/mach-omap1/
H A Dserial.c206 d = gpiod_get_index(NULL, "wakeup", idx, GPIOD_IN); in omap_serial_set_port_wakeup()
/linux/sound/soc/
H A Dsoc-jack.c336 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/linux/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/drivers/gpio/
H A Dgpiolib.c4946 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
5063 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
5074 EXPORT_SYMBOL_GPL(gpiod_get_index);
5100 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
5202 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/linux/drivers/i2c/busses/
H A Di2c-gpio.c370 retdesc = gpiod_get_index(dev, NULL, index, gflags); in i2c_gpio_get_desc()
/linux/drivers/pinctrl/
H A Dpinctrl-upboard.c808 desc = gpiod_get_index(pctrl->dev, "external", pin, 0); in upboard_gpio_request()
/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst57 struct gpio_desc *gpiod_get_index(struct device *dev,