Home
last modified time | relevance | path

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

12

/sound/drivers/opl3/
A 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()
/sound/pci/lola/
A 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()
A Dlola.h321 struct mutex open_mutex; member
A Dlola.c551 mutex_init(&chip->open_mutex); in lola_create()
/sound/core/
A 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 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 Drawmidi.c422 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 Dpcm.c134 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 Dump.c173 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 Dpcm_memory.c189 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
A Dpcm_native.c2864 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 Dseq_oss_midi.c40 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 Datiixp.c268 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 Datiixp_modem.c243 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 Dcmipci.c472 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 Dcs4231.c112 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 Dice1724.c694 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 Dice1712.h336 struct mutex open_mutex; member
/sound/pci/korg1212/
A Dkorg1212.c309 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 Dcontroller.c96 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 Dhda_controller.h120 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
/sound/isa/wss/
A Dwss_lib.c865 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 Dseq_ump_client.c111 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 Dacpi.c186 mutex_init(&azx->open_mutex); in hda_acpi_create()
A Dtegra.c423 mutex_init(&chip->open_mutex); in hda_tegra_create()
/sound/core/oss/
A 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()

Completed in 100 milliseconds

12