Home
last modified time | relevance | path

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

/linux/sound/pci/hda/
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()
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()
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/drivers/leds/simple/
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/Documentation/driver-api/gpio/
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);
A Dconsumer.rst57 struct gpio_desc *gpiod_get_index(struct device *dev,
/linux/Documentation/firmware-guide/acpi/
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/arch/arm/mach-omap1/
A Dserial.c206 d = gpiod_get_index(NULL, "wakeup", idx, GPIOD_IN); in omap_serial_set_port_wakeup()
/linux/include/linux/gpio/
A Dconsumer.h66 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
203 gpiod_get_index(struct device *dev, in gpiod_get_index() function
/linux/drivers/gpio/
A Dgpiolib-devres.c120 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
A Dgpiolib.c4406 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
4523 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4534 EXPORT_SYMBOL_GPL(gpiod_get_index);
4560 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4661 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/linux/drivers/leds/
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/drivers/soc/fsl/qe/
A Dgpio.c176 gpiod = gpiod_get_index(dev, NULL, index, in qe_pin_request()
/linux/sound/soc/
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/
A Dpdata-quirks.c105 d = gpiod_get_index(NULL, "reset", idx, GPIOD_OUT_HIGH); in omap3_sbc_t3x_usb_hub_init()
/linux/drivers/input/misc/
A Dsoc_button_array.c140 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/linux/drivers/staging/media/atomisp/pci/
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/drivers/spi/
A Dspi-mpc52xx.c456 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()

Completed in 44 milliseconds