Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/dwc3/
Ddwc3-pci.c176 gpio = gpiod_get_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); in dwc3_pci_quirks()
183 gpio = gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in dwc3_pci_quirks()
/Linux-v5.4/drivers/regulator/
Dwm8994-regulator.c149 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
Dfixed.c235 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.c321 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
/Linux-v5.4/include/linux/gpio/
Dconsumer.h71 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
208 gpiod_get_optional(struct device *dev, const char *con_id, in gpiod_get_optional() function
/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.c179 hdmi->ddc_en = gpiod_get_optional(&connector_pdev->dev, in sun8i_dw_hdmi_bind()
/Linux-v5.4/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.4/drivers/net/phy/
Dmdio_bus.c48 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdiobus_register_gpiod()
/Linux-v5.4/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.4/drivers/extcon/
Dextcon-arizona.c1476 info->micd_pol_gpio = gpiod_get_optional(arizona->dev, in arizona_extcon_probe()
/Linux-v5.4/drivers/gpio/
Dgpiolib.c4407 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, in gpiod_get_optional() function
4413 EXPORT_SYMBOL_GPL(gpiod_get_optional);
/Linux-v5.4/drivers/bluetooth/
Dbtusb.c3691 reset_gpio = gpiod_get_optional(&data->udev->dev, "reset", in btusb_probe()