Searched refs:gpiod_pwdn (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/staging/media/max96712/ |
H A D | max96712.c | 31 struct gpio_desc *gpiod_pwdn; member 430 priv->gpiod_pwdn = devm_gpiod_get_optional(&client->dev, "enable", in max96712_probe() 432 if (IS_ERR(priv->gpiod_pwdn)) in max96712_probe() 433 return PTR_ERR(priv->gpiod_pwdn); in max96712_probe() 435 gpiod_set_consumer_name(priv->gpiod_pwdn, "max96712-pwdn"); in max96712_probe() 436 gpiod_set_value_cansleep(priv->gpiod_pwdn, 1); in max96712_probe() 438 if (priv->gpiod_pwdn) in max96712_probe() 461 gpiod_set_value_cansleep(priv->gpiod_pwdn, 0); in max96712_remove()
|
/linux/drivers/media/i2c/ |
H A D | max9286.c | 175 struct gpio_desc *gpiod_pwdn; member 1598 priv->gpiod_pwdn = devm_gpiod_get_optional(&client->dev, "enable", in max9286_probe() 1600 if (IS_ERR(priv->gpiod_pwdn)) { in max9286_probe() 1601 ret = PTR_ERR(priv->gpiod_pwdn); in max9286_probe() 1605 gpiod_set_consumer_name(priv->gpiod_pwdn, "max9286-pwdn"); in max9286_probe() 1606 gpiod_set_value_cansleep(priv->gpiod_pwdn, 1); in max9286_probe() 1609 if (priv->gpiod_pwdn) in max9286_probe() 1643 gpiod_set_value_cansleep(priv->gpiod_pwdn, 0); in max9286_probe() 1660 gpiod_set_value_cansleep(priv->gpiod_pwdn, 0); in max9286_remove()
|