Home
last modified time | relevance | path

Searched refs:use_lock (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/sound/core/seq/oss/
Dseq_oss_midi.c51 snd_use_lock_t use_lock; member
114 snd_use_lock_use(&mdev->use_lock); in get_mdev()
134 snd_use_lock_use(&mdev->use_lock); in find_slot()
170 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
187 snd_use_lock_init(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
239 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
240 snd_use_lock_sync(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
341 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()
352 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()
358 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()
[all …]
Dseq_oss_synth.c62 snd_use_lock_t use_lock; member
93 snd_use_lock_init(&midi_synth_dev.use_lock); in snd_seq_oss_synth_init()
118 snd_use_lock_init(&rec->use_lock); in snd_seq_oss_synth_register()
182 snd_use_lock_sync(&rec->use_lock); in snd_seq_oss_synth_unregister()
200 snd_use_lock_use(&rec->use_lock); in get_sdev()
225 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
238 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
243 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
253 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
262 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
[all …]
/linux-2.6.39/drivers/staging/iio/
Dkfifo_buf.c26 mutex_lock(&buf->use_lock); in iio_request_update_kfifo()
37 mutex_unlock(&buf->use_lock); in iio_request_update_kfifo()
45 mutex_lock(&buf->use_lock); in iio_mark_kfifo_in_use()
47 mutex_unlock(&buf->use_lock); in iio_mark_kfifo_in_use()
54 mutex_lock(&buf->use_lock); in iio_unmark_kfifo_in_use()
56 mutex_unlock(&buf->use_lock); in iio_unmark_kfifo_in_use()
68 mutex_init(&kf->use_lock); in __iio_init_kfifo()
Dring_sw.c35 spin_lock_init(&ring->use_lock); in __iio_init_sw_ring_buffer()
46 spin_lock(&ring->use_lock); in iio_mark_sw_rb_in_use()
48 spin_unlock(&ring->use_lock); in iio_mark_sw_rb_in_use()
55 spin_lock(&ring->use_lock); in iio_unmark_sw_rb_in_use()
57 spin_unlock(&ring->use_lock); in iio_unmark_sw_rb_in_use()
324 spin_lock(&ring->use_lock); in iio_request_update_sw_rb()
335 spin_unlock(&ring->use_lock); in iio_request_update_sw_rb()
Dkfifo_buf.h11 struct mutex use_lock; member
Dring_sw.h202 spinlock_t use_lock; member
/linux-2.6.39/sound/core/seq/
Dseq_fifo.h36 snd_use_lock_t use_lock; member
53 #define snd_seq_fifo_lock(fifo) snd_use_lock_use(&(fifo)->use_lock)
54 #define snd_seq_fifo_unlock(fifo) snd_use_lock_free(&(fifo)->use_lock)
Dseq_fifo.c53 snd_use_lock_init(&f->use_lock); in snd_seq_fifo_new()
103 snd_use_lock_sync(&f->use_lock); in snd_seq_fifo_clear()
124 snd_use_lock_use(&f->use_lock); in snd_seq_fifo_event_in()
129 snd_use_lock_free(&f->use_lock); in snd_seq_fifo_event_in()
147 snd_use_lock_free(&f->use_lock); in snd_seq_fifo_event_in()
Dseq_clientmgr.h55 snd_use_lock_t use_lock; member
88 #define snd_seq_client_unlock(client) snd_use_lock_free(&(client)->use_lock)
Dseq_ports.h66 snd_use_lock_t use_lock; member
103 #define snd_seq_port_unlock(port) snd_use_lock_free(&(port)->use_lock)
Dseq_queue.h59 snd_use_lock_t use_lock; member
95 #define queuefree(q) snd_use_lock_free(&(q)->use_lock)
Dseq_ports.c70 snd_use_lock_use(&port->use_lock); in snd_seq_port_use_ptr()
104 snd_use_lock_use(&found->use_lock); in snd_seq_port_query_nearest()
152 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
263 snd_use_lock_sync(&port->use_lock); in port_delete()
Dseq_queue.c122 snd_use_lock_init(&q->use_lock); in queue_new()
150 snd_use_lock_sync(&q->use_lock); in queue_delete()
230 snd_use_lock_use(&q->use_lock); in queueptr()
Dseq_clientmgr.c191 snd_use_lock_use(&client->use_lock); in snd_seq_client_use_ptr()
234 snd_use_lock_init(&client->use_lock); in seq_create_client1()
277 snd_use_lock_sync(&client->use_lock); in seq_free_client1()