Lines Matching refs:gpio_reset
85 int gpio_reset; member
1319 if (gpio_is_valid(aic3x->gpio_reset)) in aic3x_regulator_event()
1320 gpio_set_value(aic3x->gpio_reset, 0); in aic3x_regulator_event()
1340 if (gpio_is_valid(aic3x->gpio_reset)) { in aic3x_set_power()
1342 gpio_set_value(aic3x->gpio_reset, 1); in aic3x_set_power()
1539 if (gpio_is_valid(aic3x->gpio_reset) && in aic3x_is_shared_reset()
1540 aic3x->gpio_reset == a->gpio_reset) in aic3x_is_shared_reset()
1709 aic3x->gpio_reset = pdata->gpio_reset; in aic3x_i2c_probe()
1720 aic3x->gpio_reset = ret; in aic3x_i2c_probe()
1722 aic3x->gpio_reset = -1; in aic3x_i2c_probe()
1750 aic3x->gpio_reset = -1; in aic3x_i2c_probe()
1755 if (gpio_is_valid(aic3x->gpio_reset) && in aic3x_i2c_probe()
1757 ret = gpio_request(aic3x->gpio_reset, "tlv320aic3x reset"); in aic3x_i2c_probe()
1760 gpio_direction_output(aic3x->gpio_reset, 0); in aic3x_i2c_probe()
1792 if (gpio_is_valid(aic3x->gpio_reset) && in aic3x_i2c_probe()
1794 gpio_free(aic3x->gpio_reset); in aic3x_i2c_probe()
1804 if (gpio_is_valid(aic3x->gpio_reset) && in aic3x_i2c_remove()
1806 gpio_set_value(aic3x->gpio_reset, 0); in aic3x_i2c_remove()
1807 gpio_free(aic3x->gpio_reset); in aic3x_i2c_remove()