Lines Matching refs:gpio_nreset
249 int gpio_nreset; member
465 if (gpio_is_valid(priv->gpio_nreset)) { in tas5086_reset()
467 gpio_direction_output(priv->gpio_nreset, 0); in tas5086_reset()
469 gpio_set_value(priv->gpio_nreset, 1); in tas5086_reset()
870 if (gpio_is_valid(priv->gpio_nreset)) in tas5086_remove()
872 gpio_set_value(priv->gpio_nreset, 0); in tas5086_remove()
919 int gpio_nreset = -EINVAL; in tas5086_i2c_probe() local
947 gpio_nreset = of_get_named_gpio(of_node, "reset-gpio", 0); in tas5086_i2c_probe()
950 if (gpio_is_valid(gpio_nreset)) in tas5086_i2c_probe()
951 if (devm_gpio_request(dev, gpio_nreset, "TAS5086 Reset")) in tas5086_i2c_probe()
952 gpio_nreset = -EINVAL; in tas5086_i2c_probe()
954 priv->gpio_nreset = gpio_nreset; in tas5086_i2c_probe()