Searched refs:pwdnn_gpio (Results 1 – 1 of 1) sorted by relevance
79 struct gpio_desc *pwdnn_gpio; member529 data->pwdnn_gpio = devm_gpiod_get_optional(&i2c->dev, "pwdnn", in rt9120_probe()531 if (IS_ERR(data->pwdnn_gpio)) { in rt9120_probe()533 return PTR_ERR(data->pwdnn_gpio); in rt9120_probe()534 } else if (data->pwdnn_gpio) { in rt9120_probe()597 if (data->pwdnn_gpio) { in rt9120_runtime_suspend()600 gpiod_set_value(data->pwdnn_gpio, 0); in rt9120_runtime_suspend()610 if (data->pwdnn_gpio) { in rt9120_runtime_resume()611 gpiod_set_value(data->pwdnn_gpio, 1); in rt9120_runtime_resume()