Searched refs:gpiod_get_optional (Results 1 – 19 of 19) sorted by relevance
/Linux-v5.10/drivers/usb/dwc3/ |
D | dwc3-pci.c | 183 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/ |
D | wm8994-regulator.c | 149 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
|
D | fixed.c | 229 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe()
|
D | max8952.c | 220 gpiod = gpiod_get_optional(&client->dev, in max8952_pmic_probe()
|
D | arizona-ldo1.c | 260 config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena", in arizona_ldo1_common_init()
|
D | gpio-regulator.c | 328 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
|
/Linux-v5.10/include/linux/gpio/ |
D | consumer.h | 72 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/ |
D | sun8i_dw_hdmi.c | 178 hdmi->ddc_en = gpiod_get_optional(&connector_pdev->dev, in sun8i_dw_hdmi_bind()
|
/Linux-v5.10/drivers/media/i2c/ |
D | tw9910.c | 614 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()
|
D | rj54n1cb0c.c | 1357 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()
|
D | ov772x.c | 864 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/ |
D | rk3328_codec.c | 452 rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe()
|
/Linux-v5.10/drivers/net/phy/ |
D | mdio_bus.c | 46 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdiobus_register_gpiod()
|
/Linux-v5.10/Documentation/driver-api/gpio/ |
D | consumer.rst | 86 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/ |
D | sa1100fb.c | 1176 fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden", in sa1100fb_probe()
|
/Linux-v5.10/drivers/nvmem/ |
D | core.c | 623 nvmem->wp_gpio = gpiod_get_optional(config->dev, "wp", in nvmem_register()
|
/Linux-v5.10/drivers/gpio/ |
D | gpiolib.c | 3844 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/ |
D | extcon-arizona.c | 1510 info->micd_pol_gpio = gpiod_get_optional(arizona->dev, in arizona_extcon_probe()
|
/Linux-v5.10/drivers/bluetooth/ |
D | btusb.c | 3997 reset_gpio = gpiod_get_optional(&data->udev->dev, "reset", in btusb_probe()
|