Home
last modified time | relevance | path

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

12

/Linux-v5.4/sound/core/
Dhwdep.c95 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()
Dpcm.c144 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 …]
Drawmidi.c347 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 …]
Dpcm_native.c2551 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/
Dopl3_seq.c43 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/
Dlola_pcm.c217 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()
Dlola.h321 struct mutex open_mutex; member
/Linux-v5.4/drivers/bluetooth/
Dhci_vhci.c38 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/
Dati_remote.c263 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/
Dhostfs_kern.c27 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/
Datiixp.c269 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()
Datiixp_modem.c244 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()
Dcmipci.c477 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/
Dhwdep.h58 struct mutex open_mutex; member
Drawmidi.h125 struct mutex open_mutex; member
Dwss.h98 struct mutex open_mutex; member
/Linux-v5.4/sound/sparc/
Dcs4231.c113 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/
Dice1724.c710 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 …]
Dice1712.h336 struct mutex open_mutex; member
/Linux-v5.4/sound/pci/hda/
Dhda_controller.c94 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()
Dhda_controller.h121 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
Dhda_tegra.c381 mutex_init(&chip->open_mutex); in hda_tegra_create()
/Linux-v5.4/sound/isa/wss/
Dwss_lib.c862 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/
Dkorg1212.c309 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/
Dpcm_oss.c2488 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()

12