Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/video/backlight/
Dlms283gf05.c157 st->reset = gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_LOW); in lms283gf05_probe()
/linux-6.12.1/drivers/leds/trigger/
Dledtrig-gpio.c89 gpio_data->gpiod = gpiod_get_optional(dev, "trigger-sources", GPIOD_IN); in gpio_trig_activate()
/linux-6.12.1/sound/soc/amd/acp/acp3x-es83xx/
Dacp3x-es83xx.c300 priv->gpio_speakers = gpiod_get_optional(priv->codec_dev, "speakers-enable", in acp3x_es83xx_init()
307 priv->gpio_headphone = gpiod_get_optional(priv->codec_dev, "headphone-enable", in acp3x_es83xx_init()
/linux-6.12.1/drivers/usb/dwc3/
Ddwc3-pci.c255 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()
/linux-6.12.1/include/linux/gpio/
Dconsumer.h70 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
212 gpiod_get_optional(struct device *dev, const char *con_id, in gpiod_get_optional() function
/linux-6.12.1/drivers/regulator/
Dwm8994-regulator.c178 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
Dmax8952.c219 gpiod = gpiod_get_optional(&client->dev, in max8952_pmic_probe()
Dfixed.c321 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe()
Darizona-ldo1.c260 config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena", in arizona_ldo1_common_init()
Dgpio-regulator.c343 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
Dpca9450-regulator.c1023 pca9450->sd_vsel_gpio = gpiod_get_optional(pca9450->dev, "sd-vsel", GPIOD_OUT_HIGH); in pca9450_i2c_probe()
/linux-6.12.1/drivers/staging/fbtft/
Dfb_st7789v.c97 te = gpiod_get_optional(dev, "te", GPIOD_IN); in init_tearing_effect_line()
/linux-6.12.1/sound/soc/amd/
Dacp-es8336.c215 gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW); in st_es8336_late_probe()
/linux-6.12.1/drivers/media/i2c/
Dtw9910.c609 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()
Drj54n1cb0c.c1354 rj54n1->pwup_gpio = gpiod_get_optional(&client->dev, "powerup", in rj54n1_probe()
1363 rj54n1->enable_gpio = gpiod_get_optional(&client->dev, "enable", in rj54n1_probe()
Dov772x.c897 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-6.12.1/sound/soc/intel/boards/
Dsof_es8336.c736 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()
Dbytcht_es8316.c643 gpiod_get_optional(codec_dev, "speaker-enable", in snd_byt_cht_es8316_mc_probe()
/linux-6.12.1/sound/soc/intel/avs/boards/
Des8336.c125 gpiod = gpiod_get_optional(codec_dai->dev, "speaker-enable", GPIOD_OUT_LOW); in avs_es8336_codec_init()
/linux-6.12.1/sound/soc/codecs/
Drk3328_codec.c451 rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe()
/linux-6.12.1/Documentation/driver-api/gpio/
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-6.12.1/drivers/mtd/nand/raw/
Dlpc32xx_mlc.c720 host->wp_gpio = gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW); in lpc32xx_nand_probe()
Dlpc32xx_slc.c857 host->wp_gpio = gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW); in lpc32xx_nand_probe()
/linux-6.12.1/drivers/video/fbdev/
Dsa1100fb.c1175 fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden", in sa1100fb_probe()
/linux-6.12.1/drivers/net/phy/
Dmdio_bus.c45 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdiobus_register_gpiod()

12