Searched refs:rstb_gpio (Results 1 – 2 of 2) sorted by relevance
233 struct gpio_desc *rstb_gpio; member614 priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb", in tw9910_power_on()616 if (IS_ERR(priv->rstb_gpio)) { in tw9910_power_on()620 return PTR_ERR(priv->rstb_gpio); in tw9910_power_on()623 if (priv->rstb_gpio) { in tw9910_power_on()624 tw9910_set_gpio_value(priv->rstb_gpio, 1); in tw9910_power_on()625 tw9910_set_gpio_value(priv->rstb_gpio, 0); in tw9910_power_on()627 gpiod_put(priv->rstb_gpio); in tw9910_power_on()
422 struct gpio_desc *rstb_gpio; member864 priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset", in ov772x_power_on()866 if (IS_ERR(priv->rstb_gpio)) { in ov772x_power_on()869 return PTR_ERR(priv->rstb_gpio); in ov772x_power_on()872 if (priv->rstb_gpio) { in ov772x_power_on()873 gpiod_set_value(priv->rstb_gpio, 1); in ov772x_power_on()875 gpiod_set_value(priv->rstb_gpio, 0); in ov772x_power_on()878 gpiod_put(priv->rstb_gpio); in ov772x_power_on()