Home
last modified time | relevance | path

Searched refs:ldo_ena (Results 1 – 3 of 3) sorted by relevance

/linux/sound/soc/codecs/
H A Dwm8996.c54 struct gpio_desc *ldo_ena; member
1599 if (wm8996->ldo_ena) { in wm8996_set_bias_level()
1600 gpiod_set_value_cansleep(wm8996->ldo_ena, in wm8996_set_bias_level()
1618 if (wm8996->ldo_ena) { in wm8996_set_bias_level()
1619 gpiod_set_value_cansleep(wm8996->ldo_ena, 0); in wm8996_set_bias_level()
2770 wm8996->ldo_ena = devm_gpiod_get_optional(&i2c->dev, "wlf,ldo1ena", in wm8996_i2c_probe()
2772 if (IS_ERR(wm8996->ldo_ena)) { in wm8996_i2c_probe()
2773 ret = PTR_ERR(wm8996->ldo_ena); in wm8996_i2c_probe()
2778 gpiod_set_consumer_name(wm8996->ldo_ena, "WM8996 ENA"); in wm8996_i2c_probe()
2813 if (wm8996->ldo_ena) { in wm8996_i2c_probe()
[all …]
H A Dwm2200.c82 struct gpio_desc *ldo_ena; member
2252 wm2200->ldo_ena = devm_gpiod_get_optional(&i2c->dev, "wlf,ldo1ena", in wm2200_i2c_probe()
2254 if (IS_ERR(wm2200->ldo_ena)) { in wm2200_i2c_probe()
2255 ret = PTR_ERR(wm2200->ldo_ena); in wm2200_i2c_probe()
2260 if (wm2200->ldo_ena) { in wm2200_i2c_probe()
2261 gpiod_set_consumer_name(wm2200->ldo_ena, "WM2200 LDOENA"); in wm2200_i2c_probe()
2411 gpiod_set_value_cansleep(wm2200->ldo_ena, 0); in wm2200_i2c_probe()
2427 gpiod_set_value_cansleep(wm2200->ldo_ena, 0); in wm2200_i2c_remove()
2439 gpiod_set_value_cansleep(wm2200->ldo_ena, 0); in wm2200_runtime_suspend()
2459 if (wm2200->ldo_ena) { in wm2200_runtime_resume()
[all …]
H A Dwm5100.c59 struct gpio_desc *ldo_ena; member
2447 wm5100->ldo_ena = devm_gpiod_get_optional(&i2c->dev, "wlf,ldo1ena", in wm5100_i2c_probe()
2449 if (IS_ERR(wm5100->ldo_ena)) { in wm5100_i2c_probe()
2450 ret = PTR_ERR(wm5100->ldo_ena); in wm5100_i2c_probe()
2454 if (wm5100->ldo_ena) { in wm5100_i2c_probe()
2455 gpiod_set_consumer_name(wm5100->ldo_ena, "WM5100 LDOENA"); in wm5100_i2c_probe()
2608 gpiod_set_value_cansleep(wm5100->ldo_ena, 0); in wm5100_i2c_probe()
2625 gpiod_set_value_cansleep(wm5100->ldo_ena, 0); in wm5100_i2c_remove()
2635 gpiod_set_value_cansleep(wm5100->ldo_ena, 0); in wm5100_runtime_suspend()
2655 if (wm5100->ldo_ena) { in wm5100_runtime_resume()
[all …]