Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dpreisp-dummy.c70 struct gpio_desc *rst2_gpio; member
158 if (!IS_ERR(pisp_dmy->rst2_gpio)) { in __pisp_dmy_power_on()
159 gpiod_direction_output(pisp_dmy->rst2_gpio, 0); in __pisp_dmy_power_on()
161 gpiod_direction_output(pisp_dmy->rst2_gpio, 1); in __pisp_dmy_power_on()
190 if (!IS_ERR(pisp_dmy->rst2_gpio)) in __pisp_dmy_power_off()
191 gpiod_direction_output(pisp_dmy->rst2_gpio, 0); in __pisp_dmy_power_off()
458 pisp_dmy->rst2_gpio = devm_gpiod_get(dev, "rst2", GPIOD_OUT_LOW); in pisp_dmy_analyze_dts()
459 if (IS_ERR(pisp_dmy->rst2_gpio)) in pisp_dmy_analyze_dts()
461 PTR_ERR(pisp_dmy->rst2_gpio)); in pisp_dmy_analyze_dts()
/OK3568_Linux_fs/kernel/drivers/media/i2c/jaguar1_drv/
H A Djaguar1_v4l2.c111 struct gpio_desc *rst2_gpio; member
279 if (!IS_ERR(jaguar1->rst2_gpio)) { in __jaguar1_power_on()
280 gpiod_direction_output(jaguar1->rst2_gpio, 0); in __jaguar1_power_on()
282 gpiod_direction_output(jaguar1->rst2_gpio, 1); in __jaguar1_power_on()
311 if (!IS_ERR(jaguar1->rst2_gpio)) in __jaguar1_power_off()
312 gpiod_direction_output(jaguar1->rst2_gpio, 0); in __jaguar1_power_off()
917 jaguar1->rst2_gpio = devm_gpiod_get(dev, "rst2", GPIOD_OUT_LOW); in jaguar1_analyze_dts()
918 if (IS_ERR(jaguar1->rst2_gpio)) in jaguar1_analyze_dts()
920 PTR_ERR(jaguar1->rst2_gpio)); in jaguar1_analyze_dts()
/OK3568_Linux_fs/kernel/drivers/media/i2c/nvp6158_drv/
H A Dnvp6158_v4l2.c138 struct gpio_desc *rst2_gpio; member
424 if (!IS_ERR(nvp6158->rst2_gpio)) { in __nvp6158_power_on()
425 gpiod_direction_output(nvp6158->rst2_gpio, 0); in __nvp6158_power_on()
427 gpiod_direction_output(nvp6158->rst2_gpio, 1); in __nvp6158_power_on()
452 if (!IS_ERR(nvp6158->rst2_gpio)) in __nvp6158_power_off()
453 gpiod_direction_output(nvp6158->rst2_gpio, 0); in __nvp6158_power_off()
1386 nvp6158->rst2_gpio = devm_gpiod_get(dev, "rst2", GPIOD_OUT_LOW); in nvp6158_parse_dts()
1387 if (IS_ERR(nvp6158->rst2_gpio)) in nvp6158_parse_dts()
1389 PTR_ERR(nvp6158->rst2_gpio)); in nvp6158_parse_dts()