Lines Matching refs:pwdn_gpio
100 struct gpio_desc *pwdn_gpio; member
842 if (!IS_ERR(gc0312->pwdn_gpio)) { in gc0312_s_stream()
843 gpiod_set_value_cansleep(gc0312->pwdn_gpio, 1); in gc0312_s_stream()
849 if (!IS_ERR(gc0312->pwdn_gpio)) { in gc0312_s_stream()
850 gpiod_set_value_cansleep(gc0312->pwdn_gpio, 0); in gc0312_s_stream()
996 if (!IS_ERR(gc0312->pwdn_gpio)) in gc0312_detect()
997 gpiod_set_value_cansleep(gc0312->pwdn_gpio, 1); in gc0312_detect()
1015 if (!IS_ERR(gc0312->pwdn_gpio)) { in __gc0312_power_on()
1016 gpiod_set_value_cansleep(gc0312->pwdn_gpio, 1); in __gc0312_power_on()
1029 if (!IS_ERR(gc0312->pwdn_gpio)) { in __gc0312_power_on()
1030 gpiod_set_value_cansleep(gc0312->pwdn_gpio, 0); in __gc0312_power_on()
1051 if (!IS_ERR(gc0312->pwdn_gpio)) in __gc0312_power_off()
1052 gpiod_set_value_cansleep(gc0312->pwdn_gpio, 1); in __gc0312_power_off()
1072 gc0312->pwdn_gpio = devm_gpiod_get(dev, "pwdn", GPIOD_OUT_LOW); in gc0312_parse_of()
1073 if (IS_ERR(gc0312->pwdn_gpio)) in gc0312_parse_of()