Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/simple/
H A Dsimatic-ipc-leds-gpio-core.c83 gpiod = gpiod_get_index(dev, NULL, 6, GPIOD_OUT_LOW); in simatic_ipc_leds_gpio_probe()
91 gpiod = gpiod_get_index(dev, NULL, 7, GPIOD_OUT_LOW); in simatic_ipc_leds_gpio_probe()
/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda_property.c28 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in lenovo_legion_no_acpi()
61 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 1, GPIOD_OUT_HIGH); in hp_vision_acpi_fix()
H A Dcs35l41_hda.c1369 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cs35l41_get_speaker_id()
1396 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id()
/openbmc/linux/Documentation/driver-api/gpio/
H A 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);
H A Dconsumer.rst55 struct gpio_desc *gpiod_get_index(struct device *dev,
/openbmc/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);
324 desc = gpiod_get_index(dev, NULL, index, flags);
332 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
/openbmc/linux/arch/arm/mach-omap1/
H A Dserial.c206 d = gpiod_get_index(NULL, "wakeup", idx, GPIOD_IN); in omap_serial_set_port_wakeup()
/openbmc/linux/drivers/staging/media/atomisp/i2c/
H A 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()
/openbmc/linux/include/linux/gpio/
H A Dconsumer.h66 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
204 gpiod_get_index(struct device *dev, in gpiod_get_index() function
/openbmc/linux/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()
/openbmc/linux/drivers/gpio/
H A Dgpiolib-devres.c101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
H A Dgpiolib.c4156 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
4265 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4276 EXPORT_SYMBOL_GPL(gpiod_get_index);
4297 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4389 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/openbmc/linux/drivers/soc/fsl/qe/
H A Dgpio.c176 gpiod = gpiod_get_index(dev, NULL, index, in qe_pin_request()
/openbmc/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()
/openbmc/linux/sound/soc/
H A Dsoc-jack.c337 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/openbmc/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()
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c554 gs->gpio0 = gpiod_get_index(dev, NULL, 0, GPIOD_OUT_LOW); in gmin_subdev_add()
560 gs->gpio1 = gpiod_get_index(dev, NULL, 1, GPIOD_OUT_LOW); in gmin_subdev_add()
/openbmc/linux/drivers/spi/
H A Dspi-mpc52xx.c455 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()