/sound/core/ |
D | hwdep.c | 110 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()
|
D | pcm.c | 159 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 …]
|
D | rawmidi.c | 354 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 …]
|
D | pcm_native.c | 2502 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/ |
D | opl3_seq.c | 57 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/ |
D | lola_pcm.c | 230 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()
|
D | lola.h | 334 struct mutex open_mutex; member
|
D | lola.c | 592 mutex_init(&chip->open_mutex); in lola_create()
|
/sound/pci/ |
D | atiixp.c | 283 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()
|
D | atiixp_modem.c | 258 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()
|
D | cmipci.c | 490 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/ |
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() 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/ |
D | ice1724.c | 727 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 …]
|
D | ice1712.h | 349 struct mutex open_mutex; member
|
D | ice1712.c | 2556 mutex_init(&ice->open_mutex); in snd_ice1712_create()
|
/sound/pci/hda/ |
D | hda_controller.c | 105 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()
|
D | hda_controller.h | 140 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
D | hda_tegra.c | 450 mutex_init(&chip->open_mutex); in hda_tegra_create()
|
D | hda_intel.c | 1785 mutex_init(&chip->open_mutex); in azx_create()
|
/sound/pci/korg1212/ |
D | korg1212.c | 323 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/ |
D | wss_lib.c | 876 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/ |
D | pcm_oss.c | 2504 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/ |
D | swarm_cs4297a.c | 310 struct mutex open_mutex; member
|