Home
last modified time | relevance | path

Searched refs:devm_gpiod_get_index_optional (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.15/drivers/gpio/
H A Dgpiolib-devres.c92 return devm_gpiod_get_index_optional(dev, con_id, 0, flags); in devm_gpiod_get_optional()
212 struct gpio_desc *__must_check devm_gpiod_get_index_optional(struct device *dev, in devm_gpiod_get_index_optional() function
225 EXPORT_SYMBOL_GPL(devm_gpiod_get_index_optional);
/linux-6.15/drivers/gpu/drm/bridge/
H A Dti-tpd12s015.c141 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 0, in tpd12s015_probe()
148 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 1, in tpd12s015_probe()
/linux-6.15/drivers/regulator/
H A Dmax8952.c239 max8952->vid0_gpiod = devm_gpiod_get_index_optional(&client->dev, in max8952_pmic_probe()
245 max8952->vid1_gpiod = devm_gpiod_get_index_optional(&client->dev, in max8952_pmic_probe()
H A Dmax8998.c666 max8998->buck1_gpio1 = devm_gpiod_get_index_optional(iodev->dev, in max8998_pmic_probe()
676 max8998->buck1_gpio2 = devm_gpiod_get_index_optional(iodev->dev, in max8998_pmic_probe()
686 max8998->buck2_gpio = devm_gpiod_get_index_optional(iodev->dev, in max8998_pmic_probe()
H A Drt4801-regulator.c198 priv->enable_gpios[i] = devm_gpiod_get_index_optional(&i2c->dev, in rt4801_probe()
/linux-6.15/drivers/video/fbdev/omap2/omapfb/displays/
H A Dencoder-tpd12s015.c238 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 0, in tpd_probe()
247 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 1, in tpd_probe()
/linux-6.15/drivers/w1/masters/
H A Dw1-gpio.c97 devm_gpiod_get_index_optional(dev, NULL, 1, GPIOD_OUT_LOW); in w1_gpio_probe()
/linux-6.15/drivers/net/mdio/
H A Dmdio-gpio.c48 bitbang->mdo = devm_gpiod_get_index_optional(dev, NULL, MDIO_GPIO_MDO, in mdio_gpio_get_data()
/linux-6.15/include/linux/gpio/
H A Dconsumer.h99 devm_gpiod_get_index_optional(struct device *dev, const char *con_id,
287 devm_gpiod_get_index_optional(struct device *dev, const char *con_id, in devm_gpiod_get_index_optional() function
/linux-6.15/drivers/usb/host/
H A Dohci-at91.c562 devm_gpiod_get_index_optional(&pdev->dev, "atmel,vbus", in ohci_hcd_at91_drv_probe()
576 devm_gpiod_get_index_optional(&pdev->dev, "atmel,oc", in ohci_hcd_at91_drv_probe()
H A Dfhci-hcd.c639 fhci->gpiods[i] = devm_gpiod_get_index_optional(dev, in of_fhci_probe()
/linux-6.15/drivers/i2c/
H A Di2c-slave-testunit.c249 tu->gpio = devm_gpiod_get_index_optional(&client->dev, NULL, 0, GPIOD_OUT_LOW); in i2c_slave_testunit_probe()
/linux-6.15/drivers/tty/serial/
H A Dserial_mctrl_gpio.c163 devm_gpiod_get_index_optional(dev, in mctrl_gpio_init_noauto()
H A Dcpm_uart.c1328 gpiod = devm_gpiod_get_index_optional(dev, NULL, i, GPIOD_ASIS); in cpm_uart_init_port()
/linux-6.15/drivers/leds/
H A Dleds-gpio.c223 gpiod = devm_gpiod_get_index_optional(dev, NULL, idx, GPIOD_OUT_LOW); in gpio_led_get_gpiod()
/linux-6.15/drivers/mtd/nand/raw/
H A Dfsl_upm.c216 fun->rnb_gpio[i] = devm_gpiod_get_index_optional(&ofdev->dev, in fun_probe()
/linux-6.15/drivers/usb/typec/ucsi/
H A Ducsi_glink.c377 desc = devm_gpiod_get_index_optional(&adev->dev, "orientation", port, GPIOD_IN); in pmic_glink_ucsi_probe()
/linux-6.15/drivers/mmc/host/
H A Domap.c1273 slot->vsd = devm_gpiod_get_index_optional(host->dev, "vsd", in mmc_omap_new_slot()
1280 slot->vio = devm_gpiod_get_index_optional(host->dev, "vio", in mmc_omap_new_slot()
1287 slot->cover = devm_gpiod_get_index_optional(host->dev, "cover", in mmc_omap_new_slot()
/linux-6.15/drivers/pci/controller/
H A Dpcie-mt7621.c236 port->gpio_rst = devm_gpiod_get_index_optional(dev, "reset", slot, in mt7621_pcie_parse_port()
/linux-6.15/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1811 gpio = devm_gpiod_get_index_optional(dev, NULL, 0, GPIOD_IN); in atmel_nand_controller_legacy_add_nands()
1824 gpio = devm_gpiod_get_index_optional(dev, NULL, 1, GPIOD_OUT_HIGH); in atmel_nand_controller_legacy_add_nands()
1834 gpio = devm_gpiod_get_index_optional(nc->dev, NULL, 2, GPIOD_IN); in atmel_nand_controller_legacy_add_nands()
/linux-6.15/Documentation/driver-api/driver-model/
H A Ddevres.rst273 devm_gpiod_get_index_optional()
/linux-6.15/sound/pci/hda/
H A Dcs35l56_hda.c953 cs35l56->base.reset_gpio = devm_gpiod_get_index_optional(cs35l56->base.dev, in cs35l56_hda_read_acpi()
H A Dtas2781_hda_spi.c447 p->reset = devm_gpiod_get_index_optional(physdev, "reset", in tas2781_read_acpi()
/linux-6.15/drivers/staging/fbtft/
H A Dfbtft-core.c79 *gpiop = devm_gpiod_get_index_optional(dev, name, index, in fbtft_request_one_gpio()
/linux-6.15/Documentation/driver-api/gpio/
H A Dconsumer.rst148 struct gpio_desc *devm_gpiod_get_index_optional(struct device *dev,

12