/openbmc/linux/drivers/video/backlight/ |
H A D | lms283gf05.c | 157 st->reset = gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_LOW); in lms283gf05_probe()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | dwc3-pci.c | 255 gpio = gpiod_get_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); in dwc3_pci_quirks() 262 gpio = gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in dwc3_pci_quirks()
|
/openbmc/linux/drivers/regulator/ |
H A D | wm8994-regulator.c | 178 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
|
H A D | fixed.c | 273 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe()
|
H A D | max8952.c | 219 gpiod = gpiod_get_optional(&client->dev, in max8952_pmic_probe()
|
H A D | arizona-ldo1.c | 260 config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena", in arizona_ldo1_common_init()
|
H A D | gpio-regulator.c | 343 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
|
H A D | pca9450-regulator.c | 841 pca9450->sd_vsel_gpio = gpiod_get_optional(pca9450->dev, "sd-vsel", GPIOD_OUT_HIGH); in pca9450_i2c_probe()
|
/openbmc/linux/include/linux/gpio/ |
H A D | consumer.h | 70 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, 213 gpiod_get_optional(struct device *dev, const char *con_id, in gpiod_get_optional() function
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fb_st7789v.c | 97 te = gpiod_get_optional(dev, "te", GPIOD_IN); in init_tearing_effect_line()
|
/openbmc/linux/sound/soc/amd/ |
H A D | acp-es8336.c | 215 gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW); in st_es8336_late_probe()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tw9910.c | 614 priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb", in tw9910_power_on() 968 priv->pdn_gpio = gpiod_get_optional(&client->dev, "pdn", in tw9910_probe()
|
H A D | rj54n1cb0c.c | 1356 rj54n1->pwup_gpio = gpiod_get_optional(&client->dev, "powerup", in rj54n1_probe() 1365 rj54n1->enable_gpio = gpiod_get_optional(&client->dev, "enable", in rj54n1_probe()
|
H A D | ov772x.c | 883 priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset", in ov772x_power_on() 1475 priv->pwdn_gpio = gpiod_get_optional(&client->dev, "powerdown", in ov772x_probe()
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | sof_es8336.c | 736 priv->gpio_speakers = gpiod_get_optional(codec_dev, "speakers-enable", GPIOD_OUT_LOW); in sof_es8336_probe() 743 priv->gpio_headphone = gpiod_get_optional(codec_dev, "headphone-enable", GPIOD_OUT_LOW); in sof_es8336_probe()
|
H A D | bytcht_es8316.c | 577 gpiod_get_optional(codec_dev, "speaker-enable", in snd_byt_cht_es8316_mc_probe()
|
/openbmc/linux/sound/soc/intel/avs/boards/ |
H A D | es8336.c | 124 gpiod = gpiod_get_optional(codec_dai->dev, "speaker-enable", GPIOD_OUT_LOW); in avs_es8336_codec_init()
|
/openbmc/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()
|
H A D | arizona-jack.c | 1348 info->micd_pol_gpio = gpiod_get_optional(arizona->dev, in arizona_jack_codec_dev_probe()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | lpc32xx_mlc.c | 716 host->wp_gpio = gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW); in lpc32xx_nand_probe()
|
H A D | lpc32xx_slc.c | 853 host->wp_gpio = gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW); in lpc32xx_nand_probe()
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | consumer.rst | 90 pattern where a GPIO is optional, the gpiod_get_optional() and 94 struct gpio_desc *gpiod_get_optional(struct device *dev,
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | sa1100fb.c | 1174 fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden", in sa1100fb_probe()
|
/openbmc/linux/drivers/net/phy/ |
H A D | mdio_bus.c | 47 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdiobus_register_gpiod()
|
/openbmc/linux/sound/soc/generic/ |
H A D | simple-card-utils.c | 771 desc = gpiod_get_optional(dev, prop, GPIOD_IN); in asoc_simple_init_jack()
|