Home
last modified time | relevance | path

Searched refs:pcm_mutex (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/sound/soc/
Dsoc-compress.c65 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_clean()
87 mutex_unlock(&rtd->card->pcm_mutex); in soc_compr_clean()
110 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_open()
126 mutex_unlock(&rtd->card->pcm_mutex); in soc_compr_open()
187 mutex_lock_nested(&fe->card->pcm_mutex, fe->card->pcm_subclass); in soc_compr_open_fe()
189 mutex_unlock(&fe->card->pcm_mutex); in soc_compr_open_fe()
216 mutex_lock_nested(&fe->card->pcm_mutex, fe->card->pcm_subclass); in soc_compr_free_fe()
218 mutex_unlock(&fe->card->pcm_mutex); in soc_compr_free_fe()
257 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_trigger()
277 mutex_unlock(&rtd->card->pcm_mutex); in soc_compr_trigger()
[all …]
Dsoc-component.c533 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_get_caps()
544 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_component_compr_get_caps()
557 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_get_codec_caps()
568 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_component_compr_get_codec_caps()
621 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_copy()
632 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_component_compr_copy()
Dsoc-pcm.c32 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_dpcm_mutex_lock()
37 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_dpcm_mutex_unlock()
41 lockdep_assert_held(&(rtd)->card->pcm_mutex)
2674 mutex_lock_nested(&card->pcm_mutex, card->pcm_subclass); in snd_soc_dpcm_runtime_update()
2690 mutex_unlock(&card->pcm_mutex); in snd_soc_dpcm_runtime_update()
Dsoc-core.c351 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_close_delayed_work()
367 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_close_delayed_work()
2317 mutex_init(&card->pcm_mutex); in snd_soc_register_card()
/linux-5.19.10/sound/usb/usx2y/
Dusx2yhwdeppcm.c367 mutex_lock(&subs->usx2y->pcm_mutex); in snd_usx2y_usbpcm_hw_free()
397 mutex_unlock(&subs->usx2y->pcm_mutex); in snd_usx2y_usbpcm_hw_free()
506 mutex_lock(&usx2y->pcm_mutex); in snd_usx2y_usbpcm_prepare()
564 mutex_unlock(&usx2y->pcm_mutex); in snd_usx2y_usbpcm_prepare()
645 mutex_lock(&usx2y(card)->pcm_mutex); in snd_usx2y_hwdep_pcm_open()
649 mutex_unlock(&usx2y(card)->pcm_mutex); in snd_usx2y_hwdep_pcm_open()
658 mutex_lock(&usx2y(card)->pcm_mutex); in snd_usx2y_hwdep_pcm_release()
662 mutex_unlock(&usx2y(card)->pcm_mutex); in snd_usx2y_hwdep_pcm_release()
Dusbusx2y.h40 struct mutex pcm_mutex; member
Dusbusx2yaudio.c780 mutex_lock(&usx2y(card)->pcm_mutex); in snd_usx2y_pcm_hw_params()
803 mutex_unlock(&usx2y(card)->pcm_mutex); in snd_usx2y_pcm_hw_params()
816 mutex_lock(&subs->usx2y->pcm_mutex); in snd_usx2y_pcm_hw_free()
837 mutex_unlock(&subs->usx2y->pcm_mutex); in snd_usx2y_pcm_hw_free()
856 mutex_lock(&usx2y->pcm_mutex); in snd_usx2y_pcm_prepare()
881 mutex_unlock(&usx2y->pcm_mutex); in snd_usx2y_pcm_prepare()
Dusbusx2y.c378 mutex_init(&usx2y(card)->pcm_mutex); in usx2y_create_card()
/linux-5.19.10/sound/pci/hda/
Dhda_generic.h102 struct mutex pcm_mutex; member
Dhda_generic.c42 mutex_init(&spec->pcm_mutex); in snd_hda_gen_spec_init()
2247 mutex_lock(&spec->pcm_mutex); in indep_hp_put()
2284 mutex_unlock(&spec->pcm_mutex); in indep_hp_put()
5270 mutex_lock(&spec->pcm_mutex); in playback_pcm_open()
5279 mutex_unlock(&spec->pcm_mutex); in playback_pcm_open()
5319 mutex_lock(&spec->pcm_mutex); in playback_pcm_close()
5323 mutex_unlock(&spec->pcm_mutex); in playback_pcm_close()
5372 mutex_lock(&spec->pcm_mutex); in alt_playback_pcm_open()
5379 mutex_unlock(&spec->pcm_mutex); in alt_playback_pcm_open()
5388 mutex_lock(&spec->pcm_mutex); in alt_playback_pcm_close()
[all …]
/linux-5.19.10/include/sound/
Dsoc.h912 struct mutex pcm_mutex; member