Home
last modified time | relevance | path

Searched refs:gpiod_get_index (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A Dserial.c206 d = gpiod_get_index(NULL, "wakeup", idx, GPIOD_IN); in omap_serial_set_port_wakeup()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dsurface3_button.c76 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in surface3_button_lookup_gpio()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/gpio/
H A Dconsumer.h68 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
208 gpiod_get_index(struct device *dev, in gpiod_get_index() function
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
H A Datomisp-lm3554.c808 platform_data.gpio_reset = gpiod_get_index(&client->dev, in lm3554_platform_data_func()
812 platform_data.gpio_strobe = gpiod_get_index(&client->dev, in lm3554_platform_data_func()
816 platform_data.gpio_torch = gpiod_get_index(&client->dev, in lm3554_platform_data_func()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpiolib-devres.c83 * devm_gpiod_get_index - Resource-managed gpiod_get_index()
89 * Managed gpiod_get_index(). GPIO descriptors returned from this function are
90 * automatically disposed on driver detach. See gpiod_get_index() for detailed
101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
H A Dgpiolib.c4155 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
4251 * gpiod_get_index - obtain a GPIO from a multi-index GPIO function
4264 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4275 EXPORT_SYMBOL_GPL(gpiod_get_index); variable
4285 * This is equivalent to gpiod_get_index(), except that when no GPIO with the
4296 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4388 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpiolib-devres.c83 * devm_gpiod_get_index - Resource-managed gpiod_get_index()
89 * Managed gpiod_get_index(). GPIO descriptors returned from this function are
90 * automatically disposed on driver detach. See gpiod_get_index() for detailed
101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
H A Dgpiolib.c3884 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
3976 * gpiod_get_index - obtain a GPIO from a multi-index GPIO function
3989 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4062 EXPORT_SYMBOL_GPL(gpiod_get_index); variable
4140 * This is equivalent to gpiod_get_index(), except that when no GPIO with the
4151 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4245 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-jack.c338 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/kernel/linux/linux-6.6/drivers/soc/fsl/qe/
H A Dgpio.c176 gpiod = gpiod_get_index(dev, NULL, index, in qe_pin_request()
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-jack.c337 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dsoc_button_array.c140 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/kernel/linux/linux-5.10/sound/soc/intel/boards/
H A Dbytcht_es8316.c569 gpiod_get_index(codec_dev, "speaker-enable", 0, in snd_byt_cht_es8316_mc_probe()
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-mpc52xx.c455 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dsoc_button_array.c140 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c531 gs->gpio0 = gpiod_get_index(dev, NULL, 0, GPIOD_OUT_LOW); in gmin_subdev_add()
537 gs->gpio1 = gpiod_get_index(dev, NULL, 1, GPIOD_OUT_LOW); in gmin_subdev_add()
/kernel/linux/linux-6.6/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()

Completed in 31 milliseconds