Home
last modified time | relevance | path

Searched refs:gpiod_get_index (Results 1 – 15 of 15) 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.c309 cs_gpiod = gpiod_get_index(physdev, "cs", 0, GPIOD_OUT_LOW); in generic_dsd_config()
388 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in hp_i2c_int_2amp_dual_spkid()
423 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in lenovo_legion_no_acpi()
H A Dcs35l41_hda.c1727 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cs35l41_get_speaker_id()
1754 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/drivers/gpio/
H A Dgpiolib-devres.c102 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
H A Dgpiolib.c4923 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
5040 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
5051 EXPORT_SYMBOL_GPL(gpiod_get_index);
5077 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
5179 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/linux/drivers/soc/fsl/qe/
H A Dgpio.c175 gpiod = gpiod_get_index(dev, NULL, index, in qe_pin_request()
/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/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c496 gs->gpio0 = gpiod_get_index(dev, NULL, 0, GPIOD_OUT_LOW); in gmin_subdev_add()
502 gs->gpio1 = gpiod_get_index(dev, NULL, 1, GPIOD_OUT_LOW); in gmin_subdev_add()
/linux/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/drivers/spi/
H A Dspi-mpc52xx.c453 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()
/linux/drivers/gpib/gpio/
H A Dgpib_bitbang.c1149 desc = gpiod_get_index(board->gpib_dev, name, gpios_vector[j], GPIOD_IN); in allocate_gpios()
/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst57 struct gpio_desc *gpiod_get_index(struct device *dev,