Lines Matching refs:power_gpio
36 int power_gpio; member
52 if (data->power_gpio >= 0) in tpa6130a2_power()
53 gpio_set_value(data->power_gpio, 1); in tpa6130a2_power()
62 if (data->power_gpio >= 0) in tpa6130a2_power()
63 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
79 if (data->power_gpio >= 0) in tpa6130a2_power()
80 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
243 data->power_gpio = pdata->power_gpio; in tpa6130a2_probe()
245 data->power_gpio = of_get_named_gpio(np, "power-gpio", 0); in tpa6130a2_probe()
257 if (data->power_gpio >= 0) { in tpa6130a2_probe()
258 ret = devm_gpio_request(dev, data->power_gpio, in tpa6130a2_probe()
262 data->power_gpio); in tpa6130a2_probe()
265 gpio_direction_output(data->power_gpio, 0); in tpa6130a2_probe()