Symbol: gpiod_get_optional
drivers/bluetooth/btusb.c
4158
reset_gpio = gpiod_get_optional(&data->udev->dev, "reset",
drivers/gpio/gpiolib.c
4881
EXPORT_SYMBOL_GPL(gpiod_get_optional);
drivers/leds/trigger/ledtrig-gpio.c
89
gpio_data->gpiod = gpiod_get_optional(dev, "trigger-sources", GPIOD_IN);
drivers/media/i2c/ov772x.c
1489
priv->pwdn_gpio = gpiod_get_optional(&client->dev, "powerdown",
drivers/media/i2c/ov772x.c
897
priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset",
drivers/media/i2c/rj54n1cb0c.c
1357
rj54n1->pwup_gpio = gpiod_get_optional(&client->dev, "powerup",
drivers/media/i2c/rj54n1cb0c.c
1366
rj54n1->enable_gpio = gpiod_get_optional(&client->dev, "enable",
drivers/media/i2c/tw9910.c
609
priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb",
drivers/media/i2c/tw9910.c
961
priv->pdn_gpio = gpiod_get_optional(&client->dev, "pdn",
drivers/mtd/nand/raw/lpc32xx_mlc.c
720
host->wp_gpio = gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW);
drivers/net/dsa/sja1105/sja1105_main.c
36
gpio = gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
drivers/net/phy/mdio_device.c
123
mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev,
drivers/nvmem/core.c
930
nvmem->wp_gpio = gpiod_get_optional(config->dev, "wp",
drivers/regulator/arizona-ldo1.c
260
config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena",
drivers/regulator/fixed.c
321
cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags);
drivers/regulator/gpio-regulator.c
343
cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags);
drivers/regulator/max8952.c
219
gpiod = gpiod_get_optional(&client->dev,
drivers/regulator/pca9450-regulator.c
1411
pca9450->sd_vsel_gpio = gpiod_get_optional(&ldo5->dev, "sd-vsel", GPIOD_IN);
drivers/regulator/pf9453-regulator.c
839
pf9453->sd_vsel_gpio = gpiod_get_optional(pf9453->dev, "sd-vsel", GPIOD_OUT_HIGH);
drivers/regulator/wm8994-regulator.c
178
gpiod = gpiod_get_optional(pdev->dev.parent,
drivers/staging/fbtft/fb_st7789v.c
97
te = gpiod_get_optional(dev, "te", GPIOD_IN);
drivers/usb/dwc3/dwc3-pci.c
268
gpio = gpiod_get_optional(&pdev->dev, "cs", GPIOD_OUT_LOW);
drivers/usb/dwc3/dwc3-pci.c
275
gpio = gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW);
drivers/video/backlight/lms283gf05.c
157
st->reset = gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_LOW);
drivers/video/fbdev/sa1100fb.c
1175
fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden",
include/linux/gpio/consumer.h
72
struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
sound/soc/amd/acp-es8336.c
213
gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW);
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
303
priv->gpio_speakers = gpiod_get_optional(priv->codec_dev, "speakers-enable",
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
310
priv->gpio_headphone = gpiod_get_optional(priv->codec_dev, "headphone-enable",
sound/soc/codecs/arizona-jack.c
1357
info->micd_pol_gpio = gpiod_get_optional(arizona->dev,
sound/soc/codecs/rk3328_codec.c
451
rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH);
sound/soc/generic/simple-card-utils.c
810
desc = gpiod_get_optional(dev, prop, GPIOD_IN);
sound/soc/intel/avs/boards/es8336.c
127
gpiod = gpiod_get_optional(codec_dai->dev, "speaker-enable", GPIOD_OUT_LOW);
sound/soc/intel/boards/bytcht_es8316.c
654
gpiod_get_optional(codec_dev, "speaker-enable",
sound/soc/intel/boards/sof_es8336.c
745
priv->gpio_speakers = gpiod_get_optional(codec_dev, "speakers-enable", GPIOD_OUT_LOW);
sound/soc/intel/boards/sof_es8336.c
752
priv->gpio_headphone = gpiod_get_optional(codec_dev, "headphone-enable", GPIOD_OUT_LOW);