Searched refs:rt298 (Results 1 – 2 of 2) sorted by relevance
198 struct rt298_priv *rt298 = snd_soc_codec_get_drvdata(codec); in rt298_index_sync() local202 snd_soc_write(codec, rt298->index_cache[i].reg, in rt298_index_sync()203 rt298->index_cache[i].def); in rt298_index_sync()221 static int rt298_jack_detect(struct rt298_priv *rt298, bool *hp, bool *mic) in rt298_jack_detect() argument229 if (!rt298->codec) in rt298_jack_detect()232 dapm = snd_soc_codec_get_dapm(rt298->codec); in rt298_jack_detect()234 if (rt298->pdata.cbj_en) { in rt298_jack_detect()235 regmap_read(rt298->regmap, RT298_GET_HP_SENSE, &buf); in rt298_jack_detect()237 if (*hp == rt298->is_hp_in) in rt298_jack_detect()239 rt298->is_hp_in = *hp; in rt298_jack_detect()[all …]
87 snd-soc-rt298-objs := rt298.o282 obj-$(CONFIG_SND_SOC_RT298) += snd-soc-rt298.o