Home
last modified time | relevance | path

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

/linux-4.4.14/sound/soc/codecs/
Dwm2000.c87 struct wm2000_priv *wm2000 = i2c_get_clientdata(i2c); in wm2000_write() local
88 return regmap_write(wm2000->regmap, reg, value); in wm2000_write()
93 struct wm2000_priv *wm2000 = i2c_get_clientdata(i2c); in wm2000_read() local
97 ret = regmap_read(wm2000->regmap, r, &val); in wm2000_read()
104 static void wm2000_reset(struct wm2000_priv *wm2000) in wm2000_reset() argument
106 struct i2c_client *i2c = wm2000->i2c; in wm2000_reset()
112 wm2000->anc_mode = ANC_OFF; in wm2000_reset()
136 struct wm2000_priv *wm2000 = dev_get_drvdata(&i2c->dev); in wm2000_power_up() local
140 if (WARN_ON(wm2000->anc_mode != ANC_OFF)) in wm2000_power_up()
145 ret = regulator_bulk_enable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
[all …]
DMakefile136 snd-soc-wm2000-objs := wm2000.o
327 obj-$(CONFIG_SND_SOC_WM2000) += snd-soc-wm2000.o