Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
378 mutex_init(&hwdep->open_mutex); in snd_hwdep_new()
467 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
475 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()
1102 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect()
[all …]
Drawmidi.c391 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()
465 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
467 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
489 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
496 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
540 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv()
550 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv()
1547 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read()
[all …]
Dpcm_memory.c167 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
202 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
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()
Dlola.h321 struct mutex open_mutex; member
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_vhci.c38 struct mutex open_mutex; member
149 mutex_lock(&data->open_mutex); in vhci_create_device()
151 mutex_unlock(&data->open_mutex); in vhci_create_device()
321 mutex_init(&data->open_mutex); in vhci_open()
/kernel/linux/linux-5.10/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()
890 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
/kernel/linux/linux-5.10/fs/hostfs/
Dhostfs_kern.c27 struct mutex open_mutex; member
229 mutex_init(&hi->open_mutex); in hostfs_alloc_inode()
326 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
329 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
335 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
345 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
350 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
/kernel/linux/linux-5.10/sound/pci/
Datiixp.c269 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()
1576 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Datiixp_modem.c244 struct mutex open_mutex; /* playback open mutex */ member
900 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open()
902 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open()
912 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close()
914 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close()
1206 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Dcmipci.c476 struct mutex open_mutex; member
673 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
675 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
680 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()
1698 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dhwdep.h58 struct mutex open_mutex; member
Drawmidi.h126 struct mutex open_mutex; member
Dwss.h98 struct mutex open_mutex; member
/kernel/linux/linux-5.10/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()
1789 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create()
1955 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dice1724.c713 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
721 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
736 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
744 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
754 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
759 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
1035 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1046 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1389 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
1392 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
[all …]
Dice1712.h336 struct mutex open_mutex; member
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_controller.c95 mutex_lock(&chip->open_mutex); in azx_pcm_close()
100 mutex_unlock(&chip->open_mutex); in azx_pcm_close()
589 mutex_lock(&chip->open_mutex); in azx_pcm_open()
662 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
668 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
Dhda_controller.h121 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
Dhda_tegra.c400 mutex_init(&chip->open_mutex); in hda_tegra_create()
/kernel/linux/linux-5.10/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()
1747 mutex_init(&chip->open_mutex); in snd_wss_new()
/kernel/linux/linux-5.10/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()
2177 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
/kernel/linux/linux-5.10/sound/core/oss/
Dpcm_oss.c2517 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()

12