Searched refs:rt286 (Results 1 – 2 of 2) sorted by relevance
192 struct rt286_priv *rt286 = snd_soc_component_get_drvdata(component); in rt286_index_sync() local196 snd_soc_component_write(component, rt286->index_cache[i].reg, in rt286_index_sync()197 rt286->index_cache[i].def); in rt286_index_sync()215 static int rt286_jack_detect(struct rt286_priv *rt286, bool *hp, bool *mic) in rt286_jack_detect() argument223 if (!rt286->component) in rt286_jack_detect()226 dapm = snd_soc_component_get_dapm(rt286->component); in rt286_jack_detect()228 if (rt286->pdata.cbj_en) { in rt286_jack_detect()229 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect()233 regmap_update_bits(rt286->regmap, in rt286_jack_detect()242 regmap_write(rt286->regmap, RT286_SET_MIC1, 0x24); in rt286_jack_detect()[all …]
185 snd-soc-rt286-objs := rt286.o512 obj-$(CONFIG_SND_SOC_RT286) += snd-soc-rt286.o