Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/i2c/
Dtw9910.c228 struct gpio_desc *rstb_gpio; member
609 priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb", in tw9910_power_on()
611 if (IS_ERR(priv->rstb_gpio)) { in tw9910_power_on()
615 return PTR_ERR(priv->rstb_gpio); in tw9910_power_on()
618 if (priv->rstb_gpio) { in tw9910_power_on()
619 tw9910_set_gpio_value(priv->rstb_gpio, 1); in tw9910_power_on()
620 tw9910_set_gpio_value(priv->rstb_gpio, 0); in tw9910_power_on()
622 gpiod_put(priv->rstb_gpio); in tw9910_power_on()
Dov772x.c423 struct gpio_desc *rstb_gpio; member
897 priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset", in ov772x_power_on()
899 if (IS_ERR(priv->rstb_gpio)) { in ov772x_power_on()
902 return PTR_ERR(priv->rstb_gpio); in ov772x_power_on()
905 if (priv->rstb_gpio) { in ov772x_power_on()
906 gpiod_set_value(priv->rstb_gpio, 1); in ov772x_power_on()
908 gpiod_set_value(priv->rstb_gpio, 0); in ov772x_power_on()
911 gpiod_put(priv->rstb_gpio); in ov772x_power_on()
Disl7998x.c515 struct gpio_desc *rstb_gpio; member
1480 isl7998x->rstb_gpio = devm_gpiod_get_optional(dev, "reset", in isl7998x_probe()
1482 if (IS_ERR(isl7998x->rstb_gpio)) in isl7998x_probe()
1483 return dev_err_probe(dev, PTR_ERR(isl7998x->rstb_gpio), in isl7998x_probe()
1575 gpiod_set_value(isl7998x->rstb_gpio, 1); in isl7998x_runtime_resume()
1577 gpiod_set_value(isl7998x->rstb_gpio, 0); in isl7998x_runtime_resume()