Lines Matching refs:pwdn_gpio
108 struct gpio_desc *pwdn_gpio; member
2645 if (!IS_ERR(gc2145->pwdn_gpio)) { in gc2145_power()
2646 gpiod_set_value_cansleep(gc2145->pwdn_gpio, 0); in gc2145_power()
2655 if (!IS_ERR(gc2145->pwdn_gpio)) { in gc2145_power()
2656 gpiod_set_value_cansleep(gc2145->pwdn_gpio, 1); in gc2145_power()
2742 if (!IS_ERR(gc2145->pwdn_gpio)) in gc2145_detect()
2743 gpiod_set_value_cansleep(gc2145->pwdn_gpio, 1); in gc2145_detect()
2774 if (!IS_ERR(gc2145->pwdn_gpio)) { in __gc2145_power_on()
2775 gpiod_set_value_cansleep(gc2145->pwdn_gpio, 1); in __gc2145_power_on()
2788 if (!IS_ERR(gc2145->pwdn_gpio)) { in __gc2145_power_on()
2789 gpiod_set_value_cansleep(gc2145->pwdn_gpio, 0); in __gc2145_power_on()
2815 if (!IS_ERR(gc2145->pwdn_gpio)) in __gc2145_power_off()
2816 gpiod_set_value_cansleep(gc2145->pwdn_gpio, 1); in __gc2145_power_off()
2866 gc2145->pwdn_gpio = devm_gpiod_get(dev, "pwdn", GPIOD_OUT_LOW); in gc2145_parse_of()
2867 if (IS_ERR(gc2145->pwdn_gpio)) in gc2145_parse_of()