Home
last modified time | relevance | path

Searched refs:pd_gpio (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dencoder-tfp410.c22 struct gpio_desc *pd_gpio; member
91 if (ddata->pd_gpio) in tfp410_enable()
92 gpiod_set_value_cansleep(ddata->pd_gpio, 0); in tfp410_enable()
107 if (ddata->pd_gpio) in tfp410_disable()
108 gpiod_set_value_cansleep(ddata->pd_gpio, 1); in tfp410_disable()
182 ddata->pd_gpio = devm_gpiod_get_optional(&pdev->dev, "powerdown", in tfp410_probe()
184 r = PTR_ERR_OR_ZERO(ddata->pd_gpio); in tfp410_probe()
190 gpiod_set_consumer_name(ddata->pd_gpio, "tfp410 PD"); in tfp410_probe()
/openbmc/linux/drivers/iio/adc/
H A Dad7766.c39 struct gpio_desc *pd_gpio; member
104 gpiod_set_value(ad7766->pd_gpio, 0); in ad7766_preenable()
113 gpiod_set_value(ad7766->pd_gpio, 1); in ad7766_postdisable()
237 ad7766->pd_gpio = devm_gpiod_get_optional(&spi->dev, "powerdown", in ad7766_probe()
239 if (IS_ERR(ad7766->pd_gpio)) in ad7766_probe()
240 return PTR_ERR(ad7766->pd_gpio); in ad7766_probe()
/openbmc/linux/sound/soc/codecs/
H A Dadau1372.c37 struct gpio_desc *pd_gpio; member
793 if (adau1372->pd_gpio) in adau1372_set_power()
794 gpiod_set_value(adau1372->pd_gpio, 0); in adau1372_set_power()
814 if (adau1372->pd_gpio) { in adau1372_set_power()
820 gpiod_set_value(adau1372->pd_gpio, 1); in adau1372_set_power()
934 adau1372->pd_gpio = devm_gpiod_get_optional(dev, "powerdown", GPIOD_OUT_HIGH); in adau1372_probe()
935 if (IS_ERR(adau1372->pd_gpio)) in adau1372_probe()
936 return PTR_ERR(adau1372->pd_gpio); in adau1372_probe()
/openbmc/linux/drivers/media/i2c/
H A Dov02a10.c108 struct gpio_desc *pd_gpio; member
410 gpiod_set_value_cansleep(ov02a10->pd_gpio, 1); in ov02a10_power_on()
426 gpiod_set_value_cansleep(ov02a10->pd_gpio, 0); in ov02a10_power_on()
455 gpiod_set_value_cansleep(ov02a10->pd_gpio, 1); in ov02a10_power_off()
905 ov02a10->pd_gpio = devm_gpiod_get(dev, "powerdown", GPIOD_OUT_HIGH); in ov02a10_probe()
906 if (IS_ERR(ov02a10->pd_gpio)) in ov02a10_probe()
907 return dev_err_probe(dev, PTR_ERR(ov02a10->pd_gpio), in ov02a10_probe()
H A Disl7998x.c514 struct gpio_desc *pd_gpio; member
1474 isl7998x->pd_gpio = devm_gpiod_get_optional(dev, "powerdown", in isl7998x_probe()
1476 if (IS_ERR(isl7998x->pd_gpio)) in isl7998x_probe()
1477 return dev_err_probe(dev, PTR_ERR(isl7998x->pd_gpio), in isl7998x_probe()
1576 gpiod_set_value(isl7998x->pd_gpio, 0); in isl7998x_runtime_resume()
1590 gpiod_set_value(isl7998x->pd_gpio, 1); in isl7998x_runtime_resume()
1600 gpiod_set_value(isl7998x->pd_gpio, 1); in isl7998x_runtime_suspend()
H A Dds90ub960.c504 struct gpio_desc *pd_gpio; member
3783 priv->pd_gpio = in ub960_get_hw_resources()
3785 if (IS_ERR(priv->pd_gpio)) in ub960_get_hw_resources()
3786 return dev_err_probe(dev, PTR_ERR(priv->pd_gpio), in ub960_get_hw_resources()
3816 if (priv->pd_gpio) { in ub960_enable_core_hw()
3817 gpiod_set_value_cansleep(priv->pd_gpio, 1); in ub960_enable_core_hw()
3820 gpiod_set_value_cansleep(priv->pd_gpio, 0); in ub960_enable_core_hw()
3866 gpiod_set_value_cansleep(priv->pd_gpio, 1); in ub960_enable_core_hw()
3876 gpiod_set_value_cansleep(priv->pd_gpio, 1); in ub960_disable_core_hw()