Home
last modified time | relevance | path

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

12

/linux-3.4.99/sound/core/
Dhwdep.c110 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()
393 mutex_init(&hwdep->open_mutex); in snd_hwdep_new()
469 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
477 mutex_unlock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
Drawmidi.c341 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
343 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
387 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
424 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
426 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
448 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
455 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
499 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv()
509 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv()
1336 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read()
[all …]
Dpcm.c382 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()
741 mutex_init(&pcm->open_mutex); in _snd_pcm_new()
1093 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect()
1121 mutex_unlock(&pcm->open_mutex); in snd_pcm_dev_disconnect()
/linux-3.4.99/sound/drivers/opl3/
Dopl3_seq.c57 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()
/linux-3.4.99/sound/pci/lola/
Dlola_pcm.c230 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()
473 mutex_lock(&chip->open_mutex); in lola_pcm_prepare()
477 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
484 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
Dlola.h334 struct mutex open_mutex; member
/linux-3.4.99/fs/ncpfs/
Dncp_fs_i.h20 struct mutex open_mutex; member
Dfile.c46 mutex_lock(&NCP_FINFO(inode)->open_mutex); in ncp_make_open()
93 mutex_unlock(&NCP_FINFO(inode)->open_mutex); in ncp_make_open()
/linux-3.4.99/drivers/media/rc/
Dati_remote.c208 struct mutex open_mutex; member
296 mutex_lock(&ati_remote->open_mutex); in ati_remote_open()
309 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open()
318 mutex_lock(&ati_remote->open_mutex); in ati_remote_close()
321 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close()
836 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
/linux-3.4.99/sound/pci/
Datiixp.c283 struct mutex open_mutex; /* playback open mutex */ member
1091 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open()
1093 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open()
1108 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close()
1110 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close()
1130 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open()
1135 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open()
1143 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close()
1148 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close()
1611 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Datiixp_modem.c258 struct mutex open_mutex; /* playback open mutex */ member
920 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open()
922 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open()
932 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close()
934 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close()
1247 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Dcmipci.c490 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 …]
/linux-3.4.99/fs/hostfs/
Dhostfs_kern.c308 static DEFINE_MUTEX(open_mutex); in hostfs_file_open()
337 mutex_lock(&open_mutex); in hostfs_file_open()
340 mutex_unlock(&open_mutex); in hostfs_file_open()
345 mutex_unlock(&open_mutex); in hostfs_file_open()
355 mutex_unlock(&open_mutex); in hostfs_file_open()
360 mutex_unlock(&open_mutex); in hostfs_file_open()
/linux-3.4.99/include/sound/
Dhwdep.h73 struct mutex open_mutex; member
Drawmidi.h139 struct mutex open_mutex; member
Dwss.h113 struct mutex open_mutex; member
/linux-3.4.99/sound/sparc/
Dcs4231.c112 struct mutex open_mutex; /* mutex for ALSA open/close */ member
773 mutex_lock(&chip->open_mutex); in snd_cs4231_open()
775 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
780 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
800 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
808 mutex_lock(&chip->open_mutex); in snd_cs4231_close()
811 mutex_unlock(&chip->open_mutex); in snd_cs4231_close()
849 mutex_unlock(&chip->open_mutex); in snd_cs4231_close()
1807 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create()
1973 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
/linux-3.4.99/sound/pci/ice1712/
Dice1724.c726 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
734 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
749 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
757 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
771 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
776 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
1052 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1063 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1412 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
1415 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
[all …]
Dice1712.h343 struct mutex open_mutex; member
/linux-3.4.99/drivers/media/video/et61x251/
Det61x251.h142 struct mutex open_mutex, fileop_mutex; member
/linux-3.4.99/drivers/media/video/sn9c102/
Dsn9c102.h131 struct mutex open_mutex, fileop_mutex; member
/linux-3.4.99/sound/pci/korg1212/
Dkorg1212.c324 struct mutex open_mutex; member
665 mutex_lock(&korg1212->open_mutex); in snd_korg1212_OpenCard()
671 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_OpenCard()
680 mutex_lock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
682 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
693 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
705 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
2186 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
/linux-3.4.99/sound/isa/wss/
Dwss_lib.c876 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()
1777 mutex_init(&chip->open_mutex); in snd_wss_new()
/linux-3.4.99/sound/pci/hda/
Dhda_intel.c441 struct mutex open_mutex; member
1701 mutex_lock(&chip->open_mutex); in azx_pcm_open()
1704 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
1738 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
1750 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
1760 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
1772 mutex_lock(&chip->open_mutex); in azx_pcm_close()
1780 mutex_unlock(&chip->open_mutex); in azx_pcm_close()
2706 mutex_init(&chip->open_mutex); in azx_create()
/linux-3.4.99/sound/oss/
Dvwsnd.c1510 struct mutex open_mutex; member
2937 mutex_lock(&devc->open_mutex); in vwsnd_audio_open()
2939 mutex_unlock(&devc->open_mutex); in vwsnd_audio_open()
2951 mutex_lock(&devc->open_mutex); in vwsnd_audio_open()
2954 mutex_unlock(&devc->open_mutex); in vwsnd_audio_open()
3035 mutex_lock(&devc->open_mutex); in vwsnd_audio_release()
3039 mutex_unlock(&devc->open_mutex); in vwsnd_audio_release()
3391 mutex_init(&devc->open_mutex); in attach_vwsnd()

12