Searched refs:rt298 (Results 1 – 4 of 4) sorted by relevance
196 struct rt298_priv *rt298 = snd_soc_component_get_drvdata(component); in rt298_index_sync() local200 snd_soc_component_write(component, rt298->index_cache[i].reg, in rt298_index_sync()201 rt298->index_cache[i].def); in rt298_index_sync()219 static int rt298_jack_detect(struct rt298_priv *rt298, bool *hp, bool *mic) in rt298_jack_detect() argument227 if (!rt298->component) in rt298_jack_detect()230 dapm = snd_soc_component_get_dapm(rt298->component); in rt298_jack_detect()232 if (rt298->pdata.cbj_en) { in rt298_jack_detect()233 regmap_read(rt298->regmap, RT298_GET_HP_SENSE, &buf); in rt298_jack_detect()235 if (*hp == rt298->is_hp_in) in rt298_jack_detect()237 rt298->is_hp_in = *hp; in rt298_jack_detect()[all …]
235 snd-soc-rt298-y := rt298.o637 obj-$(CONFIG_SND_SOC_RT298) += snd-soc-rt298.o
15 snd-soc-avs-rt298-y := rt298.o33 obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT298) += snd-soc-avs-rt298.o
119 tristate "rt298 in I2S mode"