Home
last modified time | relevance | path

Searched refs:powerdown_gpio (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/bridge/
Dlvds-encoder.c18 struct gpio_desc *powerdown_gpio; member
37 if (lvds_encoder->powerdown_gpio) in lvds_encoder_enable()
38 gpiod_set_value_cansleep(lvds_encoder->powerdown_gpio, 0); in lvds_encoder_enable()
47 if (lvds_encoder->powerdown_gpio) in lvds_encoder_disable()
48 gpiod_set_value_cansleep(lvds_encoder->powerdown_gpio, 1); in lvds_encoder_disable()
70 lvds_encoder->powerdown_gpio = devm_gpiod_get_optional(dev, "powerdown", in lvds_encoder_probe()
72 if (IS_ERR(lvds_encoder->powerdown_gpio)) { in lvds_encoder_probe()
73 int err = PTR_ERR(lvds_encoder->powerdown_gpio); in lvds_encoder_probe()
/Linux-v5.4/drivers/iio/adc/
Dad7780.c62 struct gpio_desc *powerdown_gpio; member
100 gpiod_set_value(st->powerdown_gpio, val); in ad7780_set_mode()
249 st->powerdown_gpio = devm_gpiod_get_optional(dev, in ad7780_init_gpios()
252 if (IS_ERR(st->powerdown_gpio)) { in ad7780_init_gpios()
253 ret = PTR_ERR(st->powerdown_gpio); in ad7780_init_gpios()