Lines Matching refs:dapm

1869 	struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm);  in hp_event()
1963 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in out_pga_event()
1996 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in dsp2_event()
2364 struct snd_soc_dapm_context *dapm = &codec->dapm; in wm8962_add_widgets() local
2376 snd_soc_dapm_new_controls(dapm, wm8962_dapm_widgets, in wm8962_add_widgets()
2379 snd_soc_dapm_new_controls(dapm, wm8962_dapm_spk_mono_widgets, in wm8962_add_widgets()
2382 snd_soc_dapm_new_controls(dapm, wm8962_dapm_spk_stereo_widgets, in wm8962_add_widgets()
2385 snd_soc_dapm_add_routes(dapm, wm8962_intercon, in wm8962_add_widgets()
2388 snd_soc_dapm_add_routes(dapm, wm8962_spk_mono_intercon, in wm8962_add_widgets()
2391 snd_soc_dapm_add_routes(dapm, wm8962_spk_stereo_intercon, in wm8962_add_widgets()
2395 snd_soc_dapm_disable_pin(dapm, "Beep"); in wm8962_add_widgets()
2449 if (codec->dapm.bias_level != SND_SOC_BIAS_ON) in wm8962_configure_bclk()
2455 if (codec->dapm.bias_level != SND_SOC_BIAS_ON) in wm8962_configure_bclk()
2513 if (level == codec->dapm.bias_level) in wm8962_set_bias_level()
2533 if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) in wm8962_set_bias_level()
2541 codec->dapm.bias_level = level; in wm8962_set_bias_level()
2617 if (codec->dapm.bias_level == SND_SOC_BIAS_ON) in wm8962_hw_params()
3121 struct snd_soc_dapm_context *dapm = &codec->dapm; in wm8962_mic_detect() local
3142 snd_soc_dapm_mutex_lock(dapm); in wm8962_mic_detect()
3145 snd_soc_dapm_force_enable_pin_unlocked(dapm, "SYSCLK"); in wm8962_mic_detect()
3146 snd_soc_dapm_force_enable_pin_unlocked(dapm, "MICBIAS"); in wm8962_mic_detect()
3148 snd_soc_dapm_disable_pin_unlocked(dapm, "SYSCLK"); in wm8962_mic_detect()
3149 snd_soc_dapm_disable_pin_unlocked(dapm, "MICBIAS"); in wm8962_mic_detect()
3152 snd_soc_dapm_mutex_unlock(dapm); in wm8962_mic_detect()
3167 struct snd_soc_dapm_context *dapm = &codec->dapm; in wm8962_beep_work() local
3184 snd_soc_dapm_enable_pin(dapm, "Beep"); in wm8962_beep_work()
3187 snd_soc_dapm_disable_pin(dapm, "Beep"); in wm8962_beep_work()
3193 snd_soc_dapm_sync(dapm); in wm8962_beep_work()
3465 snd_soc_dapm_nc_pin(&codec->dapm, "DMICDAT"); in wm8962_probe()