Home
last modified time | relevance | path

Searched refs:register_mutex (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/sound/core/seq/oss/
Dseq_oss.c124 static DEFINE_MUTEX(register_mutex);
136 mutex_lock(&register_mutex); in odev_open()
138 mutex_unlock(&register_mutex); in odev_open()
151 mutex_lock(&register_mutex); in odev_release()
153 mutex_unlock(&register_mutex); in odev_release()
227 mutex_lock(&register_mutex); in register_device()
232 mutex_unlock(&register_mutex); in register_device()
240 mutex_unlock(&register_mutex); in register_device()
243 mutex_unlock(&register_mutex); in register_device()
250 mutex_lock(&register_mutex); in unregister_device()
[all …]
/linux-4.4.14/sound/usb/6fire/
Dchip.c48 static DEFINE_MUTEX(register_mutex);
96 mutex_lock(&register_mutex); in usb6fire_chip_probe()
102 mutex_unlock(&register_mutex); in usb6fire_chip_probe()
108 mutex_unlock(&register_mutex); in usb6fire_chip_probe()
113 mutex_unlock(&register_mutex); in usb6fire_chip_probe()
189 mutex_lock(&register_mutex); in usb6fire_chip_disconnect()
192 mutex_unlock(&register_mutex); in usb6fire_chip_disconnect()
/linux-4.4.14/sound/core/
Dhwdep.c39 static DEFINE_MUTEX(register_mutex);
281 mutex_lock(&register_mutex); in snd_hwdep_control_ioctl()
297 mutex_unlock(&register_mutex); in snd_hwdep_control_ioctl()
310 mutex_lock(&register_mutex); in snd_hwdep_control_ioctl()
316 mutex_unlock(&register_mutex); in snd_hwdep_control_ioctl()
427 mutex_lock(&register_mutex); in snd_hwdep_dev_register()
429 mutex_unlock(&register_mutex); in snd_hwdep_dev_register()
439 mutex_unlock(&register_mutex); in snd_hwdep_dev_register()
459 mutex_unlock(&register_mutex); in snd_hwdep_dev_register()
469 mutex_lock(&register_mutex); in snd_hwdep_dev_disconnect()
[all …]
Dtimer.c89 static DEFINE_MUTEX(register_mutex);
250 mutex_lock(&register_mutex); in snd_timer_open()
253 mutex_unlock(&register_mutex); in snd_timer_open()
261 mutex_unlock(&register_mutex); in snd_timer_open()
267 mutex_lock(&register_mutex); in snd_timer_open()
271 mutex_unlock(&register_mutex); in snd_timer_open()
273 mutex_lock(&register_mutex); in snd_timer_open()
278 mutex_unlock(&register_mutex); in snd_timer_open()
285 mutex_unlock(&register_mutex); in snd_timer_open()
291 mutex_unlock(&register_mutex); in snd_timer_open()
[all …]
Dpcm.c40 static DEFINE_MUTEX(register_mutex);
103 mutex_lock(&register_mutex); in snd_pcm_control_ioctl()
105 mutex_unlock(&register_mutex); in snd_pcm_control_ioctl()
129 mutex_lock(&register_mutex); in snd_pcm_control_ioctl()
154 mutex_unlock(&register_mutex); in snd_pcm_control_ioctl()
1072 mutex_lock(&register_mutex); in snd_pcm_dev_register()
1105 mutex_unlock(&register_mutex); in snd_pcm_dev_register()
1116 mutex_lock(&register_mutex); in snd_pcm_dev_disconnect()
1144 mutex_unlock(&register_mutex); in snd_pcm_dev_disconnect()
1166 mutex_lock(&register_mutex); in snd_pcm_notify()
[all …]
Drawmidi.c57 static DEFINE_MUTEX(register_mutex);
341 mutex_lock(&register_mutex); in snd_rawmidi_kernel_open()
344 mutex_unlock(&register_mutex); in snd_rawmidi_kernel_open()
348 mutex_unlock(&register_mutex); in snd_rawmidi_kernel_open()
351 mutex_unlock(&register_mutex); in snd_rawmidi_kernel_open()
588 mutex_lock(&register_mutex); in snd_rawmidi_info_select()
590 mutex_unlock(&register_mutex); in snd_rawmidi_info_select()
835 mutex_lock(&register_mutex); in snd_rawmidi_control_ioctl()
844 mutex_unlock(&register_mutex); in snd_rawmidi_control_ioctl()
1594 mutex_lock(&register_mutex); in snd_rawmidi_free()
[all …]
/linux-4.4.14/sound/synth/emux/
Demux_seq.c289 mutex_lock(&emu->register_mutex); in snd_emux_inc_count()
291 mutex_unlock(&emu->register_mutex); in snd_emux_inc_count()
310 mutex_lock(&emu->register_mutex); in snd_emux_dec_count()
312 mutex_unlock(&emu->register_mutex); in snd_emux_dec_count()
331 mutex_lock(&emu->register_mutex); in snd_emux_use()
334 mutex_unlock(&emu->register_mutex); in snd_emux_use()
354 mutex_lock(&emu->register_mutex); in snd_emux_unuse()
357 mutex_unlock(&emu->register_mutex); in snd_emux_unuse()
Demux_proc.c35 mutex_lock(&emu->register_mutex); in snd_emux_proc_info_read()
101 mutex_unlock(&emu->register_mutex); in snd_emux_proc_info_read()
Demux.c47 mutex_init(&emu->register_mutex); in snd_emux_new()
/linux-4.4.14/sound/core/seq/
Dseq_midi.c72 static DEFINE_MUTEX(register_mutex);
315 mutex_lock(&register_mutex); in snd_seq_midisynth_probe()
321 mutex_unlock(&register_mutex); in snd_seq_midisynth_probe()
331 mutex_unlock(&register_mutex); in snd_seq_midisynth_probe()
408 mutex_unlock(&register_mutex); in snd_seq_midisynth_probe()
425 mutex_unlock(&register_mutex); in snd_seq_midisynth_probe()
439 mutex_lock(&register_mutex); in snd_seq_midisynth_remove()
442 mutex_unlock(&register_mutex); in snd_seq_midisynth_remove()
458 mutex_unlock(&register_mutex); in snd_seq_midisynth_remove()
Dseq_clientmgr.c69 static DEFINE_MUTEX(register_mutex);
291 mutex_lock(&register_mutex); in seq_free_client()
307 mutex_unlock(&register_mutex); in seq_free_client()
328 if (mutex_lock_interruptible(&register_mutex)) in snd_seq_open()
332 mutex_unlock(&register_mutex); in snd_seq_open()
352 mutex_unlock(&register_mutex); in snd_seq_open()
359 mutex_unlock(&register_mutex); in snd_seq_open()
2254 if (mutex_lock_interruptible(&register_mutex)) in snd_seq_create_kernel_client()
2267 mutex_unlock(&register_mutex); in snd_seq_create_kernel_client()
2280 mutex_unlock(&register_mutex); in snd_seq_create_kernel_client()
[all …]
/linux-4.4.14/sound/usb/hiface/
Dchip.c60 static DEFINE_MUTEX(register_mutex);
125 mutex_lock(&register_mutex); in hiface_chip_probe()
151 mutex_unlock(&register_mutex); in hiface_chip_probe()
159 mutex_unlock(&register_mutex); in hiface_chip_probe()
/linux-4.4.14/sound/usb/
Dcard.c109 static DEFINE_MUTEX(register_mutex);
497 mutex_lock(&register_mutex); in usb_audio_probe()
568 mutex_unlock(&register_mutex); in usb_audio_probe()
577 mutex_unlock(&register_mutex); in usb_audio_probe()
596 mutex_lock(&register_mutex); in usb_audio_disconnect()
629 mutex_unlock(&register_mutex); in usb_audio_disconnect()
632 mutex_unlock(&register_mutex); in usb_audio_disconnect()
/linux-4.4.14/drivers/char/xillybus/
Dxillybus_core.c864 mutex_lock(&channel->endpoint->register_mutex); in xillybus_read()
877 register_mutex); in xillybus_read()
1076 mutex_lock(&channel->endpoint->register_mutex); in xillybus_myflush()
1086 mutex_unlock(&channel->endpoint->register_mutex); in xillybus_myflush()
1318 mutex_lock(&channel->endpoint->register_mutex); in xillybus_write()
1331 register_mutex); in xillybus_write()
1703 mutex_lock(&channel->endpoint->register_mutex); in xillybus_llseek()
1712 mutex_unlock(&channel->endpoint->register_mutex); in xillybus_llseek()
1911 mutex_init(&endpoint->register_mutex); in xillybus_init_endpoint()
Dxillybus.h105 struct mutex register_mutex; member
/linux-4.4.14/include/sound/
Demux_synth.h116 struct mutex register_mutex; member
Dgus.h446 struct mutex register_mutex; member