Searched refs:rt286 (Results 1 – 3 of 3) sorted by relevance
189 struct rt286_priv *rt286 = snd_soc_component_get_drvdata(component); in rt286_index_sync() local193 snd_soc_component_write(component, rt286->index_cache[i].reg, in rt286_index_sync()194 rt286->index_cache[i].def); in rt286_index_sync()212 static int rt286_jack_detect(struct rt286_priv *rt286, bool *hp, bool *mic) in rt286_jack_detect() argument220 if (!rt286->component) in rt286_jack_detect()223 dapm = snd_soc_component_get_dapm(rt286->component); in rt286_jack_detect()225 if (rt286->pdata.cbj_en) { in rt286_jack_detect()226 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect()230 regmap_update_bits(rt286->regmap, in rt286_jack_detect()239 regmap_write(rt286->regmap, RT286_SET_MIC1, 0x24); in rt286_jack_detect()[all …]
155 snd-soc-rt286-objs := rt286.o439 obj-$(CONFIG_SND_SOC_RT286) += snd-soc-rt286.o
968 header-test- += sound/rt286.h