/openbmc/linux/drivers/leds/simple/ |
H A D | simatic-ipc-leds-gpio-core.c | 83 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 D | cs35l41_hda_property.c | 28 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 D | cs35l41_hda.c | 1369 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 D | board.rst | 48 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 D | consumer.rst | 55 struct gpio_desc *gpiod_get_index(struct device *dev,
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | gpio-properties.rst | 311 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 D | serial.c | 206 d = gpiod_get_index(NULL, "wakeup", idx, GPIOD_IN); in omap_serial_set_port_wakeup()
|
/openbmc/linux/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-lm3554.c | 807 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 D | consumer.h | 66 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 D | leds-netxbig.c | 375 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 D | gpiolib-devres.c | 101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
|
H A D | gpiolib.c | 4156 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 D | gpio.c | 176 gpiod = gpiod_get_index(dev, NULL, index, in qe_pin_request()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | pdata-quirks.c | 105 d = gpiod_get_index(NULL, "reset", idx, GPIOD_OUT_HIGH); in omap3_sbc_t3x_usb_hub_init()
|
/openbmc/linux/sound/soc/ |
H A D | soc-jack.c | 337 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
|
/openbmc/linux/drivers/input/misc/ |
H A D | soc_button_array.c | 140 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_gmin_platform.c | 554 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 D | spi-mpc52xx.c | 455 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()
|