Searched refs:enable_gpio (Results 1 – 2 of 2) sorted by relevance
/sound/soc/codecs/ |
D | ssm2518.c | 118 int enable_gpio; member 487 if (gpio_is_valid(ssm2518->enable_gpio)) in ssm2518_set_power() 488 gpio_set_value(ssm2518->enable_gpio, enable); in ssm2518_set_power() 749 ssm2518->enable_gpio = pdata->enable_gpio; in ssm2518_i2c_probe() 751 ssm2518->enable_gpio = of_get_gpio(i2c->dev.of_node, 0); in ssm2518_i2c_probe() 752 if (ssm2518->enable_gpio < 0 && ssm2518->enable_gpio != -ENOENT) in ssm2518_i2c_probe() 753 return ssm2518->enable_gpio; in ssm2518_i2c_probe() 755 ssm2518->enable_gpio = -1; in ssm2518_i2c_probe() 758 if (gpio_is_valid(ssm2518->enable_gpio)) { in ssm2518_i2c_probe() 759 ret = devm_gpio_request_one(&i2c->dev, ssm2518->enable_gpio, in ssm2518_i2c_probe()
|
D | tas2552.c | 77 struct gpio_desc *enable_gpio; member 496 gpiod_set_value(tas2552->enable_gpio, 0); in tas2552_runtime_suspend() 505 gpiod_set_value(tas2552->enable_gpio, 1); in tas2552_runtime_resume() 586 gpiod_set_value(tas2552->enable_gpio, 1); in tas2552_codec_probe() 610 gpiod_set_value(tas2552->enable_gpio, 0); in tas2552_codec_probe() 623 gpiod_set_value(tas2552->enable_gpio, 0); in tas2552_codec_remove() 701 data->enable_gpio = devm_gpiod_get_optional(dev, "enable", in tas2552_probe() 703 if (IS_ERR(data->enable_gpio)) in tas2552_probe() 704 return PTR_ERR(data->enable_gpio); in tas2552_probe()
|