Home
last modified time | relevance | path

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

/linux-4.1.27/sound/soc/codecs/
Drt286.c191 struct rt286_priv *rt286 = i2c_get_clientdata(client); in rt286_hw_write() local
199 if (reg == rt286->index_cache[i].reg) { in rt286_hw_write()
200 rt286->index_cache[i].def = value; in rt286_hw_write()
279 struct rt286_priv *rt286 = snd_soc_codec_get_drvdata(codec); in rt286_index_sync() local
283 snd_soc_write(codec, rt286->index_cache[i].reg, in rt286_index_sync()
284 rt286->index_cache[i].def); in rt286_index_sync()
302 static int rt286_jack_detect(struct rt286_priv *rt286, bool *hp, bool *mic) in rt286_jack_detect() argument
309 if (!rt286->codec) in rt286_jack_detect()
311 if (rt286->pdata.cbj_en) { in rt286_jack_detect()
312 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect()
[all …]
DMakefile80 snd-soc-rt286-objs := rt286.o
265 obj-$(CONFIG_SND_SOC_RT286) += snd-soc-rt286.o