Searched refs:resetb_gpio (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/media/i2c/
H A Dov7740.c122 struct gpio_desc *resetb_gpio; member in struct:ov7740
306 if (ov7740->resetb_gpio) {
307 gpiod_set_value(ov7740->resetb_gpio, 1);
309 gpiod_set_value(ov7740->resetb_gpio, 0);
889 ov7740->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset",
891 if (IS_ERR(ov7740->resetb_gpio)) {
893 return PTR_ERR(ov7740->resetb_gpio);
H A Dov2640.c302 struct gpio_desc *resetb_gpio; member in struct:ov2640_priv
788 if (on && priv->resetb_gpio) {
790 gpiod_direction_output(priv->resetb_gpio, 1);
792 gpiod_set_value(priv->resetb_gpio, 0);
1154 priv->resetb_gpio = devm_gpiod_get_optional(&client->dev, "resetb",
1157 if (!priv->resetb_gpio)
1160 ret = PTR_ERR_OR_ZERO(priv->resetb_gpio);
H A Dov7670.c238 struct gpio_desc *resetb_gpio; member in struct:ov7670_info
1662 if (info->resetb_gpio) {
1663 gpiod_set_value(info->resetb_gpio, 1);
1665 gpiod_set_value(info->resetb_gpio, 0);
1667 if (info->pwdn_gpio || info->resetb_gpio || info->clk)
1775 info->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset",
1777 if (IS_ERR(info->resetb_gpio)) {
1779 return PTR_ERR(info->resetb_gpio);
H A Dov2659.c215 struct gpio_desc *resetb_gpio; member in struct:ov2659
1289 if (ov2659->resetb_gpio) {
1290 gpiod_set_value(ov2659->resetb_gpio, 1);
1292 gpiod_set_value(ov2659->resetb_gpio, 0);
1456 ov2659->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset",
1458 if (IS_ERR(ov2659->resetb_gpio))
1459 return PTR_ERR(ov2659->resetb_gpio);

Completed in 149 milliseconds