| /sound/drivers/opl3/ |
| A 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/ |
| A 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()
|
| A D | lola.h | 321 struct mutex open_mutex; member
|
| A D | lola.c | 551 mutex_init(&chip->open_mutex); in lola_create()
|
| /sound/core/ |
| A 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 scoped_guard(mutex, &hw->open_mutex) { in snd_hwdep_release() 383 mutex_init(&hwdep->open_mutex); in snd_hwdep_new() 465 guard(mutex)(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
|
| A D | rawmidi.c | 422 guard(mutex)(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 467 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 496 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 498 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 520 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 527 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 574 guard(mutex)(&rmidi->open_mutex); in rawmidi_release_priv() 753 guard(mutex)(&substream->rmidi->open_mutex); in snd_rawmidi_output_params() 1717 guard(mutex)(&rmidi->open_mutex); in snd_rawmidi_proc_info_read() 1835 mutex_init(&rmidi->open_mutex); in snd_rawmidi_init() [all …]
|
| A D | pcm.c | 134 guard(mutex)(&pcm->open_mutex); in snd_pcm_control_ioctl() 378 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 413 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 441 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 722 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1094 guard(mutex)(&pcm->open_mutex); in snd_pcm_dev_disconnect()
|
| A D | ump.c | 173 mutex_init(&ump->open_mutex); in snd_ump_endpoint_new() 1153 guard(mutex)(&ump->open_mutex); in snd_ump_legacy_open() 1181 guard(mutex)(&ump->open_mutex); in snd_ump_legacy_close()
|
| A D | pcm_memory.c | 189 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
|
| A D | pcm_native.c | 2864 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2877 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2879 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2890 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2918 scoped_guard(mutex, &pcm->open_mutex) { in snd_pcm_release()
|
| /sound/core/seq/oss/ |
| A D | seq_oss_midi.c | 40 struct mutex open_mutex; member 171 mutex_init(&mdev->open_mutex); in snd_seq_oss_midi_check_new_port() 328 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_open() 382 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_open() 399 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_close() 421 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_close()
|
| /sound/pci/ |
| A D | atiixp.c | 268 struct mutex open_mutex; /* playback open mutex */ member 1076 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 1078 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 1093 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 1095 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1115 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open() 1120 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open() 1128 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close() 1133 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close() 1543 mutex_init(&chip->open_mutex); in snd_atiixp_init()
|
| A D | atiixp_modem.c | 243 struct mutex open_mutex; /* playback open mutex */ member 897 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 899 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 909 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 911 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1173 mutex_init(&chip->open_mutex); in snd_atiixp_init()
|
| A D | cmipci.c | 472 struct mutex open_mutex; member 667 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 669 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 674 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 1585 mutex_lock(&cm->open_mutex); in open_device_check() 1599 mutex_unlock(&cm->open_mutex); in open_device_check() 1607 mutex_lock(&cm->open_mutex); in close_device_check() 1623 mutex_unlock(&cm->open_mutex); in close_device_check() 1688 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open() 1700 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_open() [all …]
|
| /sound/sparc/ |
| A D | cs4231.c | 112 struct mutex open_mutex; /* mutex for ALSA open/close */ member 778 mutex_lock(&chip->open_mutex); in snd_cs4231_open() 780 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 785 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 805 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 813 mutex_lock(&chip->open_mutex); in snd_cs4231_close() 816 mutex_unlock(&chip->open_mutex); in snd_cs4231_close() 854 mutex_unlock(&chip->open_mutex); in snd_cs4231_close() 1793 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create() 1962 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
|
| /sound/pci/ice1712/ |
| A 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() 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() 1376 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open() [all …]
|
| A D | ice1712.h | 336 struct mutex open_mutex; member
|
| /sound/pci/korg1212/ |
| A D | korg1212.c | 309 struct mutex open_mutex; member 609 mutex_lock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 615 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 624 mutex_lock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 626 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 637 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 649 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 2052 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
| /sound/hda/common/ |
| A D | controller.c | 96 mutex_lock(&chip->open_mutex); in azx_pcm_close() 101 mutex_unlock(&chip->open_mutex); in azx_pcm_close() 594 mutex_lock(&chip->open_mutex); in azx_pcm_open() 667 mutex_unlock(&chip->open_mutex); in azx_pcm_open() 673 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
|
| A D | hda_controller.h | 120 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
| /sound/isa/wss/ |
| A D | wss_lib.c | 865 mutex_lock(&chip->open_mutex); in snd_wss_open() 868 mutex_unlock(&chip->open_mutex); in snd_wss_open() 873 mutex_unlock(&chip->open_mutex); in snd_wss_open() 899 mutex_unlock(&chip->open_mutex); in snd_wss_open() 907 mutex_lock(&chip->open_mutex); in snd_wss_close() 910 mutex_unlock(&chip->open_mutex); in snd_wss_close() 946 mutex_unlock(&chip->open_mutex); in snd_wss_close() 1721 mutex_init(&chip->open_mutex); in snd_wss_new()
|
| /sound/core/seq/ |
| A D | seq_ump_client.c | 111 guard(mutex)(&ump->open_mutex); in seq_ump_client_open() 129 guard(mutex)(&ump->open_mutex); in seq_ump_client_close()
|
| /sound/hda/controllers/ |
| A D | acpi.c | 186 mutex_init(&azx->open_mutex); in hda_acpi_create()
|
| A D | tegra.c | 423 mutex_init(&chip->open_mutex); in hda_tegra_create()
|
| /sound/core/oss/ |
| A D | pcm_oss.c | 2517 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2531 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2533 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2544 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2575 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release() 2577 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
|