Home
last modified time | relevance | path

Searched refs:open_mutex (Results 1 – 23 of 23) sorted by relevance

/sound/core/
Dhwdep.c110 mutex_lock(&hw->open_mutex); in snd_hwdep_open()
131 mutex_unlock(&hw->open_mutex); in snd_hwdep_open()
133 mutex_lock(&hw->open_mutex); in snd_hwdep_open()
154 mutex_unlock(&hw->open_mutex); in snd_hwdep_open()
167 mutex_lock(&hw->open_mutex); in snd_hwdep_release()
172 mutex_unlock(&hw->open_mutex); in snd_hwdep_release()
386 mutex_init(&hwdep->open_mutex); in snd_hwdep_new()
475 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
483 mutex_unlock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
Dpcm.c159 mutex_lock(&pcm->open_mutex); in snd_pcm_control_ioctl()
161 mutex_unlock(&pcm->open_mutex); in snd_pcm_control_ioctl()
397 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read()
425 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read()
434 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read()
453 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read()
464 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read()
489 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read()
794 mutex_init(&pcm->open_mutex); in _snd_pcm_new()
1158 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect()
[all …]
Drawmidi.c354 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
356 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
400 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
428 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
430 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
452 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
459 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
503 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv()
513 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv()
1428 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read()
[all …]
Dpcm_native.c2502 mutex_lock(&pcm->open_mutex); in snd_pcm_open()
2515 mutex_unlock(&pcm->open_mutex); in snd_pcm_open()
2517 mutex_lock(&pcm->open_mutex); in snd_pcm_open()
2528 mutex_unlock(&pcm->open_mutex); in snd_pcm_open()
2552 mutex_lock(&pcm->open_mutex); in snd_pcm_release()
2555 mutex_unlock(&pcm->open_mutex); in snd_pcm_release()
/sound/drivers/opl3/
Dopl3_seq.c57 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup()
59 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
63 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
98 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
100 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
/sound/pci/lola/
Dlola_pcm.c230 mutex_lock(&chip->open_mutex); in lola_pcm_open()
232 mutex_unlock(&chip->open_mutex); in lola_pcm_open()
255 mutex_unlock(&chip->open_mutex); in lola_pcm_open()
277 mutex_lock(&chip->open_mutex); in lola_pcm_close()
286 mutex_unlock(&chip->open_mutex); in lola_pcm_close()
308 mutex_lock(&chip->open_mutex); in lola_pcm_hw_free()
311 mutex_unlock(&chip->open_mutex); in lola_pcm_hw_free()
474 mutex_lock(&chip->open_mutex); in lola_pcm_prepare()
478 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
485 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
Dlola.h334 struct mutex open_mutex; member
Dlola.c592 mutex_init(&chip->open_mutex); in lola_create()
/sound/pci/
Datiixp.c283 struct mutex open_mutex; /* playback open mutex */ member
1089 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open()
1091 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open()
1106 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close()
1108 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close()
1128 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open()
1133 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open()
1141 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close()
1146 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close()
1605 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Datiixp_modem.c258 struct mutex open_mutex; /* playback open mutex */ member
918 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open()
920 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open()
930 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close()
932 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close()
1231 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Dcmipci.c490 struct mutex open_mutex; member
693 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
695 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
700 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
1620 mutex_lock(&cm->open_mutex); in open_device_check()
1622 mutex_unlock(&cm->open_mutex); in open_device_check()
1634 mutex_unlock(&cm->open_mutex); in open_device_check()
1642 mutex_lock(&cm->open_mutex); in close_device_check()
1658 mutex_unlock(&cm->open_mutex); in close_device_check()
1723 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open()
[all …]
/sound/sparc/
Dcs4231.c112 struct mutex open_mutex; /* mutex for ALSA open/close */ member
774 mutex_lock(&chip->open_mutex); in snd_cs4231_open()
776 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
781 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
801 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
809 mutex_lock(&chip->open_mutex); in snd_cs4231_close()
812 mutex_unlock(&chip->open_mutex); in snd_cs4231_close()
850 mutex_unlock(&chip->open_mutex); in snd_cs4231_close()
1803 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create()
1969 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
/sound/pci/ice1712/
Dice1724.c727 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
735 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
750 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
758 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
772 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
777 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
1053 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1064 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1413 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
1416 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
[all …]
Dice1712.h349 struct mutex open_mutex; member
Dice1712.c2556 mutex_init(&ice->open_mutex); in snd_ice1712_create()
/sound/pci/hda/
Dhda_controller.c105 mutex_lock(&chip->open_mutex); in azx_pcm_close()
110 mutex_unlock(&chip->open_mutex); in azx_pcm_close()
603 mutex_lock(&chip->open_mutex); in azx_pcm_open()
683 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
689 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
Dhda_controller.h140 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
Dhda_tegra.c450 mutex_init(&chip->open_mutex); in hda_tegra_create()
Dhda_intel.c1785 mutex_init(&chip->open_mutex); in azx_create()
/sound/pci/korg1212/
Dkorg1212.c323 struct mutex open_mutex; member
662 mutex_lock(&korg1212->open_mutex); in snd_korg1212_OpenCard()
668 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_OpenCard()
677 mutex_lock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
679 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
690 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
702 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
2191 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
/sound/isa/wss/
Dwss_lib.c876 mutex_lock(&chip->open_mutex); in snd_wss_open()
879 mutex_unlock(&chip->open_mutex); in snd_wss_open()
884 mutex_unlock(&chip->open_mutex); in snd_wss_open()
910 mutex_unlock(&chip->open_mutex); in snd_wss_open()
918 mutex_lock(&chip->open_mutex); in snd_wss_close()
921 mutex_unlock(&chip->open_mutex); in snd_wss_close()
957 mutex_unlock(&chip->open_mutex); in snd_wss_close()
1778 mutex_init(&chip->open_mutex); in snd_wss_new()
/sound/core/oss/
Dpcm_oss.c2504 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open()
2518 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open()
2520 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open()
2531 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open()
2562 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release()
2564 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
/sound/oss/
Dswarm_cs4297a.c310 struct mutex open_mutex; member