Searched refs:rstb_gpio (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/media/i2c/
H A Dtw9910.c233 struct gpio_desc *rstb_gpio; member in struct:tw9910_priv
614 priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb",
616 if (IS_ERR(priv->rstb_gpio)) {
620 return PTR_ERR(priv->rstb_gpio);
623 if (priv->rstb_gpio) {
624 tw9910_set_gpio_value(priv->rstb_gpio, 1);
625 tw9910_set_gpio_value(priv->rstb_gpio, 0);
627 gpiod_put(priv->rstb_gpio);
H A Dov772x.c423 struct gpio_desc *rstb_gpio; member in struct:ov772x_priv
897 priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset",
899 if (IS_ERR(priv->rstb_gpio)) {
902 return PTR_ERR(priv->rstb_gpio);
905 if (priv->rstb_gpio) {
906 gpiod_set_value(priv->rstb_gpio, 1);
908 gpiod_set_value(priv->rstb_gpio, 0);
911 gpiod_put(priv->rstb_gpio);
H A Disl7998x.c515 struct gpio_desc *rstb_gpio; member in struct:isl7998x
1480 isl7998x->rstb_gpio = devm_gpiod_get_optional(dev, "reset",
1482 if (IS_ERR(isl7998x->rstb_gpio))
1483 return dev_err_probe(dev, PTR_ERR(isl7998x->rstb_gpio),
1575 gpiod_set_value(isl7998x->rstb_gpio, 1);
1577 gpiod_set_value(isl7998x->rstb_gpio, 0);

Completed in 122 milliseconds