| /linux/drivers/video/backlight/ |
| H A D | lms283gf05.c | 157 st->reset = gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_LOW); in lms283gf05_probe()
|
| /linux/drivers/leds/trigger/ |
| H A D | ledtrig-gpio.c | 89 gpio_data->gpiod = gpiod_get_optional(dev, "trigger-sources", GPIOD_IN); in gpio_trig_activate()
|
| /linux/drivers/usb/dwc3/ |
| H A D | dwc3-pci.c | 268 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 D | wm8994-regulator.c | 178 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
|
| H A D | max8952.c | 219 gpiod = gpiod_get_optional(&client->dev, in max8952_pmic_probe()
|
| H A D | gpio-regulator.c | 343 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
|
| H A D | pf9453-regulator.c | 842 pf9453->sd_vsel_gpio = gpiod_get_optional(pf9453->dev, "sd-vsel", GPIOD_OUT_HIGH); in pf9453_i2c_probe()
|
| H A D | pca9450-regulator.c | 1411 pca9450->sd_vsel_gpio = gpiod_get_optional(&ldo5->dev, "sd-vsel", GPIOD_IN); in pca9450_i2c_probe()
|
| /linux/drivers/staging/fbtft/ |
| H A D | fb_st7789v.c | 97 te = gpiod_get_optional(dev, "te", GPIOD_IN); in init_tearing_effect_line()
|
| /linux/sound/soc/amd/ |
| H A D | acp-es8336.c | 212 gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW); in st_es8336_late_probe()
|
| /linux/drivers/media/i2c/ |
| H A D | tw9910.c | 609 priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb", in tw9910_power_on() 961 priv->pdn_gpio = gpiod_get_optional(&client->dev, "pdn", in tw9910_probe()
|
| H A D | ov772x.c | 897 priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset", in ov772x_power_on() 1489 priv->pwdn_gpio = gpiod_get_optional(&client->dev, "powerdown", in ov772x_probe()
|
| /linux/sound/soc/intel/boards/ |
| H A D | sof_es8336.c | 745 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()
|
| /linux/sound/soc/codecs/ |
| H A D | rk3328_codec.c | 451 rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe()
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | consumer.rst | 31 ``[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/mtd/nand/raw/ |
| H A D | lpc32xx_mlc.c | 720 host->wp_gpio = gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW); in lpc32xx_nand_probe()
|
| /linux/drivers/video/fbdev/ |
| H A D | sa1100fb.c | 1175 fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden", in sa1100fb_probe()
|
| /linux/sound/soc/generic/ |
| H A D | simple-card-utils.c | 829 desc = gpiod_get_optional(dev, prop, GPIOD_IN); in simple_util_init_jack()
|
| /linux/drivers/nvmem/ |
| H A D | core.c | 930 nvmem->wp_gpio = gpiod_get_optional(config->dev, "wp", in nvmem_register()
|
| /linux/drivers/gpio/ |
| H A D | gpiolib.c | 4942 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, in gpiod_get_optional() function 4948 EXPORT_SYMBOL_GPL(gpiod_get_optional);
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_main.c | 36 gpio = gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in sja1105_hw_reset()
|
| /linux/drivers/bluetooth/ |
| H A D | btusb.c | 4152 reset_gpio = gpiod_get_optional(&data->udev->dev, "reset", in btusb_probe()
|