| /Linux-v5.4/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() 371 mutex_init(&hwdep->open_mutex); in snd_hwdep_new() 460 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect() 468 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() 382 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 410 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 419 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 438 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 449 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 474 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 728 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1093 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect() [all …]
|
| D | rawmidi.c | 347 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 349 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 393 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 421 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 423 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 445 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 452 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 496 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv() 506 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv() 1435 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read() [all …]
|
| D | pcm_native.c | 2551 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2564 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2566 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2577 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2601 mutex_lock(&pcm->open_mutex); in snd_pcm_release() 2604 mutex_unlock(&pcm->open_mutex); in snd_pcm_release()
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/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() 295 mutex_lock(&chip->open_mutex); in lola_pcm_hw_free() 298 mutex_unlock(&chip->open_mutex); in lola_pcm_hw_free() 461 mutex_lock(&chip->open_mutex); in lola_pcm_prepare() 465 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare() 472 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
|
| D | lola.h | 321 struct mutex open_mutex; member
|
| /Linux-v5.4/drivers/bluetooth/ |
| D | hci_vhci.c | 38 struct mutex open_mutex; member 147 mutex_lock(&data->open_mutex); in vhci_create_device() 149 mutex_unlock(&data->open_mutex); in vhci_create_device() 318 mutex_init(&data->open_mutex); in vhci_open()
|
| /Linux-v5.4/drivers/media/rc/ |
| D | ati_remote.c | 263 struct mutex open_mutex; member 328 mutex_lock(&ati_remote->open_mutex); in ati_remote_open() 341 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open() 350 mutex_lock(&ati_remote->open_mutex); in ati_remote_close() 353 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close() 886 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
|
| /Linux-v5.4/fs/hostfs/ |
| D | hostfs_kern.c | 27 struct mutex open_mutex; member 232 mutex_init(&hi->open_mutex); in hostfs_alloc_inode() 329 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 332 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 338 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 348 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 353 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
|
| /Linux-v5.4/sound/pci/ |
| D | atiixp.c | 269 struct mutex open_mutex; /* playback open mutex */ member 1082 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 1084 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 1099 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 1101 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1121 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open() 1126 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open() 1134 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close() 1139 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close() 1585 mutex_init(&chip->open_mutex); in snd_atiixp_create()
|
| D | atiixp_modem.c | 244 struct mutex open_mutex; /* playback open mutex */ member 904 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 906 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 916 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 918 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1213 mutex_init(&chip->open_mutex); in snd_atiixp_create()
|
| D | cmipci.c | 477 struct mutex open_mutex; member 680 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 682 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 687 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 1607 mutex_lock(&cm->open_mutex); in open_device_check() 1609 mutex_unlock(&cm->open_mutex); in open_device_check() 1621 mutex_unlock(&cm->open_mutex); in open_device_check() 1629 mutex_lock(&cm->open_mutex); in close_device_check() 1645 mutex_unlock(&cm->open_mutex); in close_device_check() 1710 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open() [all …]
|
| /Linux-v5.4/include/sound/ |
| D | hwdep.h | 58 struct mutex open_mutex; member
|
| D | rawmidi.h | 125 struct mutex open_mutex; member
|
| D | wss.h | 98 struct mutex open_mutex; member
|
| /Linux-v5.4/sound/sparc/ |
| D | cs4231.c | 113 struct mutex open_mutex; /* mutex for ALSA open/close */ member 775 mutex_lock(&chip->open_mutex); in snd_cs4231_open() 777 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 782 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 802 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 810 mutex_lock(&chip->open_mutex); in snd_cs4231_close() 813 mutex_unlock(&chip->open_mutex); in snd_cs4231_close() 851 mutex_unlock(&chip->open_mutex); in snd_cs4231_close() 1804 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create() 1970 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
|
| /Linux-v5.4/sound/pci/ice1712/ |
| D | ice1724.c | 710 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 718 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 733 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 741 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 755 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free() 760 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free() 1036 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open() 1047 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open() 1396 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open() 1399 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open() [all …]
|
| D | ice1712.h | 336 struct mutex open_mutex; member
|
| /Linux-v5.4/sound/pci/hda/ |
| D | hda_controller.c | 94 mutex_lock(&chip->open_mutex); in azx_pcm_close() 99 mutex_unlock(&chip->open_mutex); in azx_pcm_close() 592 mutex_lock(&chip->open_mutex); in azx_pcm_open() 672 mutex_unlock(&chip->open_mutex); in azx_pcm_open() 678 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
|
| D | hda_controller.h | 121 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
| D | hda_tegra.c | 381 mutex_init(&chip->open_mutex); in hda_tegra_create()
|
| /Linux-v5.4/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() 1763 mutex_init(&chip->open_mutex); in snd_wss_new()
|
| /Linux-v5.4/sound/pci/korg1212/ |
| D | korg1212.c | 309 struct mutex open_mutex; member 648 mutex_lock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 654 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 663 mutex_lock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 665 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 676 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 688 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 2175 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
| /Linux-v5.4/sound/core/oss/ |
| D | pcm_oss.c | 2488 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2502 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2504 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2515 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2546 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release() 2548 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
|