Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/dwc3/
Ddwc3-pci.c183 gpio = gpiod_get_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); in dwc3_pci_quirks()
190 gpio = gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in dwc3_pci_quirks()
/Linux-v5.10/drivers/regulator/
Dwm8994-regulator.c149 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
Dfixed.c229 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe()
Dmax8952.c220 gpiod = gpiod_get_optional(&client->dev, in max8952_pmic_probe()
Darizona-ldo1.c260 config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena", in arizona_ldo1_common_init()
Dgpio-regulator.c328 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
/Linux-v5.10/include/linux/gpio/
Dconsumer.h72 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
217 gpiod_get_optional(struct device *dev, const char *con_id, in gpiod_get_optional() function
/Linux-v5.10/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.c178 hdmi->ddc_en = gpiod_get_optional(&connector_pdev->dev, in sun8i_dw_hdmi_bind()
/Linux-v5.10/drivers/media/i2c/
Dtw9910.c614 priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb", in tw9910_power_on()
969 priv->pdn_gpio = gpiod_get_optional(&client->dev, "pdn", in tw9910_probe()
Drj54n1cb0c.c1357 rj54n1->pwup_gpio = gpiod_get_optional(&client->dev, "powerup", in rj54n1_probe()
1366 rj54n1->enable_gpio = gpiod_get_optional(&client->dev, "enable", in rj54n1_probe()
Dov772x.c864 priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset", in ov772x_power_on()
1410 priv->pwdn_gpio = gpiod_get_optional(&client->dev, "powerdown", in ov772x_probe()
/Linux-v5.10/sound/soc/codecs/
Drk3328_codec.c452 rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe()
/Linux-v5.10/drivers/net/phy/
Dmdio_bus.c46 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdiobus_register_gpiod()
/Linux-v5.10/Documentation/driver-api/gpio/
Dconsumer.rst86 pattern where a GPIO is optional, the gpiod_get_optional() and
90 struct gpio_desc *gpiod_get_optional(struct device *dev,
/Linux-v5.10/drivers/video/fbdev/
Dsa1100fb.c1176 fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden", in sa1100fb_probe()
/Linux-v5.10/drivers/nvmem/
Dcore.c623 nvmem->wp_gpio = gpiod_get_optional(config->dev, "wp", in nvmem_register()
/Linux-v5.10/drivers/gpio/
Dgpiolib.c3844 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, in gpiod_get_optional() function
3850 EXPORT_SYMBOL_GPL(gpiod_get_optional);
/Linux-v5.10/drivers/extcon/
Dextcon-arizona.c1510 info->micd_pol_gpio = gpiod_get_optional(arizona->dev, in arizona_extcon_probe()
/Linux-v5.10/drivers/bluetooth/
Dbtusb.c3997 reset_gpio = gpiod_get_optional(&data->udev->dev, "reset", in btusb_probe()