Searched refs:ldo1_en (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/include/sound/
H A Drt5640.h23 int ldo1_en; /* GPIO for LDO1_EN */ member in struct:rt5640_platform_data
/linux-4.1.27/sound/soc/codecs/
H A Drt5640.c2032 if (gpio_is_valid(rt5640->pdata.ldo1_en)) rt5640_suspend()
2033 gpio_set_value_cansleep(rt5640->pdata.ldo1_en, 0); rt5640_suspend()
2042 if (gpio_is_valid(rt5640->pdata.ldo1_en)) { rt5640_resume()
2043 gpio_set_value_cansleep(rt5640->pdata.ldo1_en, 1); rt5640_resume()
2175 rt5640->pdata.ldo1_en = of_get_named_gpio(np, rt5640_parse_dt()
2183 if (!gpio_is_valid(rt5640->pdata.ldo1_en) && rt5640_parse_dt()
2184 (rt5640->pdata.ldo1_en != -ENOENT)) rt5640_parse_dt()
2185 return rt5640->pdata.ldo1_en; rt5640_parse_dt()
2213 if (!rt5640->pdata.ldo1_en) rt5640_i2c_probe()
2214 rt5640->pdata.ldo1_en = -EINVAL; rt5640_i2c_probe()
2220 rt5640->pdata.ldo1_en = -EINVAL; rt5640_i2c_probe()
2230 if (gpio_is_valid(rt5640->pdata.ldo1_en)) { rt5640_i2c_probe()
2231 ret = devm_gpio_request_one(&i2c->dev, rt5640->pdata.ldo1_en, rt5640_i2c_probe()
2236 rt5640->pdata.ldo1_en, ret); rt5640_i2c_probe()

Completed in 122 milliseconds