/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-devres.c | 78 return devm_gpiod_get_index_optional(dev, con_id, 0, flags); in devm_gpiod_get_optional() 186 struct gpio_desc *__must_check devm_gpiod_get_index_optional(struct device *dev, in devm_gpiod_get_index_optional() function 199 EXPORT_SYMBOL_GPL(devm_gpiod_get_index_optional);
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | ti-tpd12s015.c | 141 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()
|
/openbmc/linux/drivers/regulator/ |
H A D | max8952.c | 239 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 D | rt4801-regulator.c | 198 priv->enable_gpios[i] = devm_gpiod_get_index_optional(&i2c->dev, in rt4801_probe()
|
H A D | rk808-regulator.c | 1641 devm_gpiod_get_index_optional(dev, "dvs", i, in rk808_regulator_dt_parse_pdata()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | encoder-tpd12s015.c | 238 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()
|
/openbmc/linux/drivers/w1/masters/ |
H A D | w1-gpio.c | 114 devm_gpiod_get_index_optional(dev, NULL, 1, GPIOD_OUT_LOW); in w1_gpio_probe()
|
/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-gpio.c | 48 bitbang->mdo = devm_gpiod_get_index_optional(dev, NULL, MDIO_GPIO_MDO, in mdio_gpio_get_data()
|
/openbmc/linux/include/linux/gpio/ |
H A D | consumer.h | 97 devm_gpiod_get_index_optional(struct device *dev, const char *con_id, 290 devm_gpiod_get_index_optional(struct device *dev, const char *con_id, in devm_gpiod_get_index_optional() function
|
/openbmc/linux/drivers/usb/host/ |
H A D | ohci-at91.c | 562 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 D | fhci-hcd.c | 639 fhci->gpiods[i] = devm_gpiod_get_index_optional(dev, in of_fhci_probe()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | fsl_upm.c | 216 fun->rnb_gpio[i] = devm_gpiod_get_index_optional(&ofdev->dev, in fun_probe()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_mctrl_gpio.c | 163 devm_gpiod_get_index_optional(dev, in mctrl_gpio_init_noauto()
|
H A D | cpm_uart.c | 1334 gpiod = devm_gpiod_get_index_optional(dev, NULL, i, GPIOD_ASIS); in cpm_uart_init_port()
|
/openbmc/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi_glink.c | 360 desc = devm_gpiod_get_index_optional(&adev->dev, "orientation", port, GPIOD_IN); in pmic_glink_ucsi_probe()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | omap.c | 1277 slot->vsd = devm_gpiod_get_index_optional(host->dev, "vsd", in mmc_omap_new_slot() 1282 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()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-mt7621.c | 236 port->gpio_rst = devm_gpiod_get_index_optional(dev, "reset", slot, in mt7621_pcie_parse_port()
|
/openbmc/linux/Documentation/driver-api/driver-model/ |
H A D | devres.rst | 273 devm_gpiod_get_index_optional()
|
/openbmc/linux/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 1811 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()
|
/openbmc/linux/sound/pci/hda/ |
H A D | cs35l56_hda.c | 893 cs35l56->base.reset_gpio = devm_gpiod_get_index_optional(cs35l56->base.dev, in cs35l56_hda_read_acpi()
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fbtft-core.c | 79 *gpiop = devm_gpiod_get_index_optional(dev, name, index, in fbtft_request_one_gpio()
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | consumer.rst | 146 struct gpio_desc *devm_gpiod_get_index_optional(struct device *dev,
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 2212 gpio = devm_gpiod_get_index_optional(dev, name, index, flags); in try_toggle_control_gpio()
|
/openbmc/linux/drivers/nfc/ |
H A D | trf7970a.c | 2030 trf->en2_gpiod = devm_gpiod_get_index_optional(trf->dev, "ti,enable", 1, in trf7970a_probe()
|
/openbmc/linux/drivers/spi/ |
H A D | spi.c | 3016 cs[i] = devm_gpiod_get_index_optional(dev, "cs", i, in spi_get_gpio_descs()
|