Lines Matching refs:pwdn_gpio
95 struct gpio_desc *pwdn_gpio; member
772 if (!IS_ERR(gc0329->pwdn_gpio)) { in gc0329_s_stream()
773 gpiod_set_value_cansleep(gc0329->pwdn_gpio, 1); in gc0329_s_stream()
778 if (!IS_ERR(gc0329->pwdn_gpio)) { in gc0329_s_stream()
779 gpiod_set_value_cansleep(gc0329->pwdn_gpio, 0); in gc0329_s_stream()
969 if (!IS_ERR(gc0329->pwdn_gpio)) in gc0329_detect()
970 gpiod_set_value_cansleep(gc0329->pwdn_gpio, 1); in gc0329_detect()
988 if (!IS_ERR(gc0329->pwdn_gpio)) { in __gc0329_power_on()
989 gpiod_set_value_cansleep(gc0329->pwdn_gpio, 1); in __gc0329_power_on()
1002 if (!IS_ERR(gc0329->pwdn_gpio)) { in __gc0329_power_on()
1003 gpiod_set_value_cansleep(gc0329->pwdn_gpio, 0); in __gc0329_power_on()
1024 if (!IS_ERR(gc0329->pwdn_gpio)) in __gc0329_power_off()
1025 gpiod_set_value_cansleep(gc0329->pwdn_gpio, 1); in __gc0329_power_off()
1045 gc0329->pwdn_gpio = devm_gpiod_get(dev, "pwdn", GPIOD_OUT_LOW); in gc0329_parse_of()
1046 if (IS_ERR(gc0329->pwdn_gpio)) in gc0329_parse_of()