Searched refs:rt286 (Results 1 – 2 of 2) sorted by relevance
195 struct rt286_priv *rt286 = snd_soc_codec_get_drvdata(codec); in rt286_index_sync() local199 snd_soc_write(codec, rt286->index_cache[i].reg, in rt286_index_sync()200 rt286->index_cache[i].def); in rt286_index_sync()218 static int rt286_jack_detect(struct rt286_priv *rt286, bool *hp, bool *mic) in rt286_jack_detect() argument226 if (!rt286->codec) in rt286_jack_detect()229 dapm = snd_soc_codec_get_dapm(rt286->codec); in rt286_jack_detect()231 if (rt286->pdata.cbj_en) { in rt286_jack_detect()232 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect()236 regmap_update_bits(rt286->regmap, in rt286_jack_detect()245 regmap_write(rt286->regmap, RT286_SET_MIC1, 0x24); in rt286_jack_detect()[all …]
86 snd-soc-rt286-objs := rt286.o281 obj-$(CONFIG_SND_SOC_RT286) += snd-soc-rt286.o