Home
last modified time | relevance | path

Searched refs:standby_gpio (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/sound/soc/codecs/
Dtas6424.c47 struct gpio_desc *standby_gpio; member
672 tas6424->standby_gpio = devm_gpiod_get_optional(dev, "standby", in tas6424_i2c_probe()
674 if (IS_ERR(tas6424->standby_gpio)) { in tas6424_i2c_probe()
675 if (PTR_ERR(tas6424->standby_gpio) == -EPROBE_DEFER) in tas6424_i2c_probe()
678 PTR_ERR(tas6424->standby_gpio)); in tas6424_i2c_probe()
679 tas6424->standby_gpio = NULL; in tas6424_i2c_probe()
743 if (tas6424->standby_gpio) in tas6424_i2c_remove()
744 gpiod_set_value_cansleep(tas6424->standby_gpio, 1); in tas6424_i2c_remove()
/Linux-v4.19/drivers/media/i2c/
Dmt9t112.c96 struct gpio_desc *standby_gpio; member
755 if (priv->standby_gpio) { in mt9t112_power_on()
756 gpiod_set_value(priv->standby_gpio, 0); in mt9t112_power_on()
766 if (priv->standby_gpio) { in mt9t112_power_off()
767 gpiod_set_value(priv->standby_gpio, 1); in mt9t112_power_off()
1097 priv->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9t112_probe()
1099 if (IS_ERR(priv->standby_gpio)) { in mt9t112_probe()
1101 return PTR_ERR(priv->standby_gpio); in mt9t112_probe()
Dmt9v032.c208 struct gpio_desc *standby_gpio; member
1061 mt9v032->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9v032_probe()
1063 if (IS_ERR(mt9v032->standby_gpio)) in mt9v032_probe()
1064 return PTR_ERR(mt9v032->standby_gpio); in mt9v032_probe()