/sound/core/ |
D | hwdep.c | 95 mutex_lock(&hw->open_mutex); in snd_hwdep_open() 116 mutex_unlock(&hw->open_mutex); in snd_hwdep_open() 118 mutex_lock(&hw->open_mutex); in snd_hwdep_open() 139 mutex_unlock(&hw->open_mutex); in snd_hwdep_open() 152 mutex_lock(&hw->open_mutex); in snd_hwdep_release() 157 mutex_unlock(&hw->open_mutex); in snd_hwdep_release() 379 mutex_init(&hwdep->open_mutex); in snd_hwdep_new() 468 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect() 476 mutex_unlock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
|
D | pcm.c | 144 mutex_lock(&pcm->open_mutex); in snd_pcm_control_ioctl() 146 mutex_unlock(&pcm->open_mutex); in snd_pcm_control_ioctl() 383 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 411 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 420 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 439 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 450 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 475 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 729 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1103 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect() [all …]
|
D | rawmidi.c | 391 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 393 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 437 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 466 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 468 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 490 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 497 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 541 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv() 551 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv() 1638 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read() [all …]
|
D | pcm_memory.c | 189 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write() 228 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
|
D | pcm_native.c | 2833 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2846 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2848 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2859 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2887 mutex_lock(&pcm->open_mutex); in snd_pcm_release() 2890 mutex_unlock(&pcm->open_mutex); in snd_pcm_release()
|
/sound/drivers/opl3/ |
D | opl3_seq.c | 43 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup() 45 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 49 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 84 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup() 86 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
|
/sound/pci/lola/ |
D | lola_pcm.c | 217 mutex_lock(&chip->open_mutex); in lola_pcm_open() 219 mutex_unlock(&chip->open_mutex); in lola_pcm_open() 242 mutex_unlock(&chip->open_mutex); in lola_pcm_open() 264 mutex_lock(&chip->open_mutex); in lola_pcm_close() 273 mutex_unlock(&chip->open_mutex); in lola_pcm_close() 294 mutex_lock(&chip->open_mutex); in lola_pcm_hw_free() 297 mutex_unlock(&chip->open_mutex); in lola_pcm_hw_free() 460 mutex_lock(&chip->open_mutex); in lola_pcm_prepare() 464 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare() 471 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
|
D | lola.h | 321 struct mutex open_mutex; member
|
D | lola.c | 550 mutex_init(&chip->open_mutex); in lola_create()
|
/sound/core/seq/oss/ |
D | seq_oss_midi.c | 40 struct mutex open_mutex; member 176 mutex_init(&mdev->open_mutex); in snd_seq_oss_midi_check_new_port() 333 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_open() 387 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_open() 404 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_close() 426 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_close()
|
/sound/pci/ |
D | atiixp.c | 268 struct mutex open_mutex; /* playback open mutex */ member 1078 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 1080 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 1095 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 1097 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1117 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open() 1122 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open() 1130 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close() 1135 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close() 1551 mutex_init(&chip->open_mutex); in snd_atiixp_init()
|
D | atiixp_modem.c | 243 struct mutex open_mutex; /* playback open mutex */ member 899 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 901 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 911 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 913 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1180 mutex_init(&chip->open_mutex); in snd_atiixp_init()
|
D | cmipci.c | 472 struct mutex open_mutex; member 669 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 671 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 676 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 1595 mutex_lock(&cm->open_mutex); in open_device_check() 1597 mutex_unlock(&cm->open_mutex); in open_device_check() 1609 mutex_unlock(&cm->open_mutex); in open_device_check() 1617 mutex_lock(&cm->open_mutex); in close_device_check() 1633 mutex_unlock(&cm->open_mutex); in close_device_check() 1702 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open() [all …]
|
/sound/sparc/ |
D | cs4231.c | 112 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() 1788 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create() 1955 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
|
/sound/pci/ice1712/ |
D | ice1724.c | 694 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 702 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 717 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 725 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 735 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free() 740 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free() 1016 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open() 1027 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open() 1370 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open() 1373 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open() [all …]
|
D | ice1712.h | 336 struct mutex open_mutex; member
|
D | ice1712.c | 2480 mutex_init(&ice->open_mutex); in snd_ice1712_create()
|
/sound/pci/korg1212/ |
D | korg1212.c | 309 struct mutex open_mutex; member 647 mutex_lock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 653 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 662 mutex_lock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 664 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 675 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 687 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 2112 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
/sound/pci/hda/ |
D | hda_controller.c | 95 mutex_lock(&chip->open_mutex); in azx_pcm_close() 100 mutex_unlock(&chip->open_mutex); in azx_pcm_close() 588 mutex_lock(&chip->open_mutex); in azx_pcm_open() 661 mutex_unlock(&chip->open_mutex); in azx_pcm_open() 667 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
|
D | hda_controller.h | 119 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
D | hda_tegra.c | 404 mutex_init(&chip->open_mutex); in hda_tegra_create()
|
D | hda_intel.c | 1789 mutex_init(&chip->open_mutex); in azx_create()
|
/sound/isa/wss/ |
D | wss_lib.c | 862 mutex_lock(&chip->open_mutex); in snd_wss_open() 865 mutex_unlock(&chip->open_mutex); in snd_wss_open() 870 mutex_unlock(&chip->open_mutex); in snd_wss_open() 896 mutex_unlock(&chip->open_mutex); in snd_wss_open() 904 mutex_lock(&chip->open_mutex); in snd_wss_close() 907 mutex_unlock(&chip->open_mutex); in snd_wss_close() 943 mutex_unlock(&chip->open_mutex); in snd_wss_close() 1719 mutex_init(&chip->open_mutex); in snd_wss_new()
|
/sound/core/oss/ |
D | pcm_oss.c | 2531 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2545 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2547 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2558 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2589 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release() 2591 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
|