Lines Matching refs:power_gpio
43 int power_gpio; member
140 if (data->power_gpio >= 0) in tpa6130a2_power()
141 gpio_set_value(data->power_gpio, 1); in tpa6130a2_power()
148 if (data->power_gpio >= 0) in tpa6130a2_power()
149 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
161 if (data->power_gpio >= 0) in tpa6130a2_power()
162 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
385 data->power_gpio = pdata->power_gpio; in tpa6130a2_probe()
395 if (data->power_gpio >= 0) { in tpa6130a2_probe()
396 ret = gpio_request(data->power_gpio, "tpa6130a2 enable"); in tpa6130a2_probe()
399 data->power_gpio); in tpa6130a2_probe()
402 gpio_direction_output(data->power_gpio, 0); in tpa6130a2_probe()
445 if (data->power_gpio >= 0) in tpa6130a2_probe()
446 gpio_free(data->power_gpio); in tpa6130a2_probe()
461 if (data->power_gpio >= 0) in tpa6130a2_remove()
462 gpio_free(data->power_gpio); in tpa6130a2_remove()