Lines Matching refs:dapm

242 		snd_soc_dapm_sync(&codec->dapm);  in configure_clock()
252 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_clk_sys()
810 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in clk_sys_event()
985 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in vmid_event()
1041 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in aif1clk_ev()
1139 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in aif2clk_ev()
1224 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in aif1clk_late_ev()
1242 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in aif2clk_late_ev()
1260 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in late_enable_ev()
1293 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in late_disable_ev()
1335 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in dac_ev()
1376 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in post_ev()
2495 if (codec->dapm.bias_level == SND_SOC_BIAS_STANDBY) in wm8994_set_bias_level()
2500 if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) { in wm8994_set_bias_level()
2524 if (codec->dapm.bias_level == SND_SOC_BIAS_PREPARE) in wm8994_set_bias_level()
2544 if (codec->dapm.bias_level == SND_SOC_BIAS_STANDBY) in wm8994_set_bias_level()
2549 codec->dapm.bias_level = level; in wm8994_set_bias_level()
2557 struct snd_soc_dapm_context *dapm = &codec->dapm; in wm8994_vmid_mode() local
2561 snd_soc_dapm_mutex_lock(dapm); in wm8994_vmid_mode()
2564 snd_soc_dapm_disable_pin_unlocked(dapm, in wm8994_vmid_mode()
2566 snd_soc_dapm_disable_pin_unlocked(dapm, in wm8994_vmid_mode()
2570 snd_soc_dapm_disable_pin_unlocked(dapm, in wm8994_vmid_mode()
2572 snd_soc_dapm_disable_pin_unlocked(dapm, in wm8994_vmid_mode()
2577 snd_soc_dapm_sync_unlocked(dapm); in wm8994_vmid_mode()
2580 snd_soc_dapm_mutex_unlock(dapm); in wm8994_vmid_mode()
2584 snd_soc_dapm_mutex_lock(dapm); in wm8994_vmid_mode()
2587 snd_soc_dapm_force_enable_pin_unlocked(dapm, in wm8994_vmid_mode()
2589 snd_soc_dapm_force_enable_pin_unlocked(dapm, in wm8994_vmid_mode()
2593 snd_soc_dapm_force_enable_pin_unlocked(dapm, in wm8994_vmid_mode()
2595 snd_soc_dapm_force_enable_pin_unlocked(dapm, in wm8994_vmid_mode()
2600 snd_soc_dapm_sync_unlocked(dapm); in wm8994_vmid_mode()
2602 snd_soc_dapm_mutex_unlock(dapm); in wm8994_vmid_mode()
3373 ret = snd_soc_dapm_force_enable_pin(&codec->dapm, in wm8994_mic_detect()
3376 ret = snd_soc_dapm_disable_pin(&codec->dapm, in wm8994_mic_detect()
3382 ret = snd_soc_dapm_force_enable_pin(&codec->dapm, in wm8994_mic_detect()
3385 ret = snd_soc_dapm_disable_pin(&codec->dapm, in wm8994_mic_detect()
3418 snd_soc_dapm_sync(&codec->dapm); in wm8994_mic_detect()
3518 snd_soc_dapm_disable_pin(&codec->dapm, in wm1811_micd_stop()
3633 snd_soc_dapm_force_enable_pin(&codec->dapm, in wm1811_mic_work()
3635 snd_soc_dapm_sync(&codec->dapm); in wm1811_mic_work()
3727 snd_soc_dapm_disable_pin(&codec->dapm, "MICBIAS2"); in wm1811_jackdet_irq()
3786 snd_soc_dapm_force_enable_pin(&codec->dapm, "CLK_SYS"); in wm8958_mic_detect()
3787 snd_soc_dapm_sync(&codec->dapm); in wm8958_mic_detect()
3822 WARN_ON(codec->dapm.bias_level > SND_SOC_BIAS_STANDBY); in wm8958_mic_detect()
3849 snd_soc_dapm_disable_pin(&codec->dapm, "CLK_SYS"); in wm8958_mic_detect()
3850 snd_soc_dapm_sync(&codec->dapm); in wm8958_mic_detect()
3990 struct snd_soc_dapm_context *dapm = &codec->dapm; in wm8994_codec_probe() local
4021 codec->dapm.idle_bias_off = 1; in wm8994_codec_probe()
4029 codec->dapm.idle_bias_off = 0; in wm8994_codec_probe()
4260 snd_soc_dapm_new_controls(dapm, wm8994_dapm_widgets, in wm8994_codec_probe()
4265 snd_soc_dapm_new_controls(dapm, wm8994_specific_dapm_widgets, in wm8994_codec_probe()
4268 snd_soc_dapm_new_controls(dapm, wm8994_lateclk_revd_widgets, in wm8994_codec_probe()
4270 snd_soc_dapm_new_controls(dapm, wm8994_adc_revd_widgets, in wm8994_codec_probe()
4272 snd_soc_dapm_new_controls(dapm, wm8994_dac_revd_widgets, in wm8994_codec_probe()
4275 snd_soc_dapm_new_controls(dapm, wm8994_lateclk_widgets, in wm8994_codec_probe()
4277 snd_soc_dapm_new_controls(dapm, wm8994_adc_widgets, in wm8994_codec_probe()
4279 snd_soc_dapm_new_controls(dapm, wm8994_dac_widgets, in wm8994_codec_probe()
4286 snd_soc_dapm_new_controls(dapm, wm8958_dapm_widgets, in wm8994_codec_probe()
4289 snd_soc_dapm_new_controls(dapm, wm8994_lateclk_revd_widgets, in wm8994_codec_probe()
4291 snd_soc_dapm_new_controls(dapm, wm8994_adc_revd_widgets, in wm8994_codec_probe()
4293 snd_soc_dapm_new_controls(dapm, wm8994_dac_revd_widgets, in wm8994_codec_probe()
4296 snd_soc_dapm_new_controls(dapm, wm8994_lateclk_widgets, in wm8994_codec_probe()
4298 snd_soc_dapm_new_controls(dapm, wm8994_adc_widgets, in wm8994_codec_probe()
4300 snd_soc_dapm_new_controls(dapm, wm8994_dac_widgets, in wm8994_codec_probe()
4308 snd_soc_dapm_new_controls(dapm, wm8958_dapm_widgets, in wm8994_codec_probe()
4310 snd_soc_dapm_new_controls(dapm, wm8994_lateclk_widgets, in wm8994_codec_probe()
4312 snd_soc_dapm_new_controls(dapm, wm8994_adc_widgets, in wm8994_codec_probe()
4314 snd_soc_dapm_new_controls(dapm, wm8994_dac_widgets, in wm8994_codec_probe()
4325 snd_soc_dapm_add_routes(dapm, intercon, ARRAY_SIZE(intercon)); in wm8994_codec_probe()
4329 snd_soc_dapm_add_routes(dapm, wm8994_intercon, in wm8994_codec_probe()
4333 snd_soc_dapm_add_routes(dapm, wm8994_revd_intercon, in wm8994_codec_probe()
4335 snd_soc_dapm_add_routes(dapm, wm8994_lateclk_revd_intercon, in wm8994_codec_probe()
4338 snd_soc_dapm_add_routes(dapm, wm8994_lateclk_intercon, in wm8994_codec_probe()
4344 snd_soc_dapm_add_routes(dapm, wm8994_intercon, in wm8994_codec_probe()
4346 snd_soc_dapm_add_routes(dapm, wm8994_revd_intercon, in wm8994_codec_probe()
4348 snd_soc_dapm_add_routes(dapm, wm8994_lateclk_revd_intercon, in wm8994_codec_probe()
4351 snd_soc_dapm_add_routes(dapm, wm8994_lateclk_intercon, in wm8994_codec_probe()
4353 snd_soc_dapm_add_routes(dapm, wm8958_intercon, in wm8994_codec_probe()
4360 snd_soc_dapm_add_routes(dapm, wm8994_lateclk_intercon, in wm8994_codec_probe()
4362 snd_soc_dapm_add_routes(dapm, wm8958_intercon, in wm8994_codec_probe()