Lines Matching refs:pwdn_gpio
97 struct gpio_desc *pwdn_gpio; member
1079 if (!IS_ERR(gc2035->pwdn_gpio)) { in gc2035_s_stream()
1080 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 1); in gc2035_s_stream()
1086 if (!IS_ERR(gc2035->pwdn_gpio)) { in gc2035_s_stream()
1087 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 0); in gc2035_s_stream()
1356 if (!IS_ERR(gc2035->pwdn_gpio)) in gc2035_detect()
1357 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 1); in gc2035_detect()
1380 if (!IS_ERR(gc2035->pwdn_gpio)) { in __gc2035_power_on()
1381 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 1); in __gc2035_power_on()
1394 if (!IS_ERR(gc2035->pwdn_gpio)) { in __gc2035_power_on()
1395 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 0); in __gc2035_power_on()
1416 if (!IS_ERR(gc2035->pwdn_gpio)) in __gc2035_power_off()
1417 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 1); in __gc2035_power_off()
1437 gc2035->pwdn_gpio = devm_gpiod_get(dev, "pwdn", GPIOD_OUT_LOW); in gc2035_parse_of()
1438 if (IS_ERR(gc2035->pwdn_gpio)) in gc2035_parse_of()