Searched refs:resetb_gpio (Results 1 – 4 of 4) sorted by relevance
/drivers/media/i2c/ |
D | ov7740.c | 125 struct gpio_desc *resetb_gpio; member 309 if (ov7740->resetb_gpio) { in ov7740_set_power() 310 gpiod_set_value(ov7740->resetb_gpio, 1); in ov7740_set_power() 312 gpiod_set_value(ov7740->resetb_gpio, 0); in ov7740_set_power() 924 ov7740->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset", in ov7740_probe_dt() 926 if (IS_ERR(ov7740->resetb_gpio)) { in ov7740_probe_dt() 928 return PTR_ERR(ov7740->resetb_gpio); in ov7740_probe_dt()
|
D | ov2640.c | 306 struct gpio_desc *resetb_gpio; member 792 if (on && priv->resetb_gpio) { in ov2640_set_power() 794 gpiod_direction_output(priv->resetb_gpio, 1); in ov2640_set_power() 796 gpiod_set_value(priv->resetb_gpio, 0); in ov2640_set_power() 1160 priv->resetb_gpio = devm_gpiod_get_optional(&client->dev, "resetb", in ov2640_probe_dt() 1163 if (!priv->resetb_gpio) in ov2640_probe_dt() 1166 ret = PTR_ERR_OR_ZERO(priv->resetb_gpio); in ov2640_probe_dt()
|
D | ov2659.c | 215 struct gpio_desc *resetb_gpio; member 1295 if (ov2659->resetb_gpio) { in ov2659_power_on() 1296 gpiod_set_value(ov2659->resetb_gpio, 1); in ov2659_power_on() 1298 gpiod_set_value(ov2659->resetb_gpio, 0); in ov2659_power_on() 1466 ov2659->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset", in ov2659_probe() 1468 if (IS_ERR(ov2659->resetb_gpio)) in ov2659_probe() 1469 return PTR_ERR(ov2659->resetb_gpio); in ov2659_probe()
|
D | ov7670.c | 245 struct gpio_desc *resetb_gpio; member 1666 if (info->resetb_gpio) { in ov7670_power_on() 1667 gpiod_set_value(info->resetb_gpio, 1); in ov7670_power_on() 1669 gpiod_set_value(info->resetb_gpio, 0); in ov7670_power_on() 1671 if (info->pwdn_gpio || info->resetb_gpio || info->clk) in ov7670_power_on() 1802 info->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset", in ov7670_init_gpio() 1804 if (IS_ERR(info->resetb_gpio)) { in ov7670_init_gpio() 1806 return PTR_ERR(info->resetb_gpio); in ov7670_init_gpio()
|