Home
last modified time | relevance | path

Searched refs:gpiod_get_optional (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/video/backlight/
H A Dlms283gf05.c157 st->reset = gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_LOW); in lms283gf05_probe()
/linux/drivers/usb/dwc3/
H A Ddwc3-pci.c268 gpio = gpiod_get_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); in dwc3_pci_quirks()
275 gpio = gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in dwc3_pci_quirks()
/linux/drivers/regulator/
H A Dwm8994-regulator.c178 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
H A Dgpio-regulator.c343 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
H A Dpf9453-regulator.c842 pf9453->sd_vsel_gpio = gpiod_get_optional(pf9453->dev, "sd-vsel", GPIOD_OUT_HIGH); in pf9453_i2c_probe()
H A Dpca9450-regulator.c1416 pca9450->sd_vsel_gpio = gpiod_get_optional(&ldo5->dev, "sd-vsel", GPIOD_IN); in pca9450_i2c_probe()
/linux/drivers/staging/fbtft/
H A Dfb_st7789v.c97 te = gpiod_get_optional(dev, "te", GPIOD_IN); in init_tearing_effect_line()
/linux/sound/soc/amd/
H A Dacp-es8336.c212 gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW); in st_es8336_late_probe()
/linux/drivers/net/phy/
H A Dmdio_device.c38 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdio_device_register_reset()
/linux/sound/soc/intel/boards/
H A Dsof_es8336.c745 priv->gpio_speakers = gpiod_get_optional(codec_dev, "speakers-enable", GPIOD_OUT_LOW); in sof_es8336_probe()
752 priv->gpio_headphone = gpiod_get_optional(codec_dev, "headphone-enable", GPIOD_OUT_LOW); in sof_es8336_probe()
H A Dbytcht_es8316.c679 gpiod_get_optional(codec_dev, "speaker-enable", in snd_byt_cht_es8316_mc_probe()
/linux/sound/soc/codecs/
H A Drk3328_codec.c
/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst31 ``[devm_]gpiod_get_optional()`` is a *bad idea*, and will result in weird
92 pattern where a GPIO is optional, the gpiod_get_optional() and
96 struct gpio_desc *gpiod_get_optional(struct device *dev,
/linux/drivers/net/wireless/intersil/p54/
H A Dp54spi.c598 priv->gpio_powerdown = gpiod_get_optional(&spi->dev, "powerdown", GPIOD_OUT_HIGH); in p54spi_probe()
/linux/drivers/mtd/nand/raw/
H A Dlpc32xx_mlc.c728 host->wp_gpio = gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW); in lpc32xx_nand_probe()
/linux/sound/soc/generic/
H A Dsimple-card-utils.c800 desc = gpiod_get_optional(dev, prop, GPIOD_IN);
/linux/drivers/gpio/
H A Dgpiolib.c4965 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, in gpiod_get_optional() function
4971 EXPORT_SYMBOL_GPL(gpiod_get_optional);