Home
last modified time | relevance | path

Searched refs:enable_gpio (Results 1 – 2 of 2) sorted by relevance

/sound/soc/codecs/
Dssm2518.c117 int enable_gpio; member
486 if (gpio_is_valid(ssm2518->enable_gpio)) in ssm2518_set_power()
487 gpio_set_value(ssm2518->enable_gpio, enable); in ssm2518_set_power()
750 ssm2518->enable_gpio = pdata->enable_gpio; in ssm2518_i2c_probe()
752 ssm2518->enable_gpio = of_get_gpio(i2c->dev.of_node, 0); in ssm2518_i2c_probe()
753 if (ssm2518->enable_gpio < 0 && ssm2518->enable_gpio != -ENOENT) in ssm2518_i2c_probe()
754 return ssm2518->enable_gpio; in ssm2518_i2c_probe()
756 ssm2518->enable_gpio = -1; in ssm2518_i2c_probe()
759 if (gpio_is_valid(ssm2518->enable_gpio)) { in ssm2518_i2c_probe()
760 ret = devm_gpio_request_one(&i2c->dev, ssm2518->enable_gpio, in ssm2518_i2c_probe()
Dtas2552.c69 struct gpio_desc *enable_gpio; member
491 gpiod_set_value(tas2552->enable_gpio, 0); in tas2552_runtime_suspend()
500 gpiod_set_value(tas2552->enable_gpio, 1); in tas2552_runtime_resume()
582 gpiod_set_value(tas2552->enable_gpio, 1); in tas2552_component_probe()
607 gpiod_set_value(tas2552->enable_gpio, 0); in tas2552_component_probe()
620 gpiod_set_value(tas2552->enable_gpio, 0); in tas2552_component_remove()
697 data->enable_gpio = devm_gpiod_get_optional(dev, "enable", in tas2552_probe()
699 if (IS_ERR(data->enable_gpio)) in tas2552_probe()
700 return PTR_ERR(data->enable_gpio); in tas2552_probe()