Home
last modified time | relevance | path

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

/Linux-v5.4/sound/core/seq/oss/
Dseq_oss_midi.c39 snd_use_lock_t use_lock; member
102 snd_use_lock_use(&mdev->use_lock); in get_mdev()
122 snd_use_lock_use(&mdev->use_lock); in find_slot()
157 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
173 snd_use_lock_init(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
225 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
226 snd_use_lock_sync(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
326 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()
337 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()
343 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()
[all …]
Dseq_oss_synth.c51 snd_use_lock_t use_lock; member
82 snd_use_lock_init(&midi_synth_dev.use_lock); in snd_seq_oss_synth_init()
107 snd_use_lock_init(&rec->use_lock); in snd_seq_oss_synth_probe()
171 snd_use_lock_sync(&rec->use_lock); in snd_seq_oss_synth_remove()
189 snd_use_lock_use(&rec->use_lock); in get_sdev()
214 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
227 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
232 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
241 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
249 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
[all …]
/Linux-v5.4/sound/core/seq/
Dseq_fifo.c38 snd_use_lock_init(&f->use_lock); in snd_seq_fifo_new()
90 snd_use_lock_sync(&f->use_lock); in snd_seq_fifo_clear()
111 snd_use_lock_use(&f->use_lock); in snd_seq_fifo_event_in()
116 snd_use_lock_free(&f->use_lock); in snd_seq_fifo_event_in()
135 snd_use_lock_free(&f->use_lock); in snd_seq_fifo_event_in()
255 snd_use_lock_sync(&f->use_lock); in snd_seq_fifo_resize()
276 snd_use_lock_use(&f->use_lock); in snd_seq_fifo_unused_cells()
280 snd_use_lock_free(&f->use_lock); in snd_seq_fifo_unused_cells()
Dseq_fifo.h21 snd_use_lock_t use_lock; member
38 #define snd_seq_fifo_lock(fifo) snd_use_lock_use(&(fifo)->use_lock)
39 #define snd_seq_fifo_unlock(fifo) snd_use_lock_free(&(fifo)->use_lock)
Dseq_clientmgr.h42 snd_use_lock_t use_lock; member
76 #define snd_seq_client_unlock(client) snd_use_lock_free(&(client)->use_lock)
Dseq_queue.h45 snd_use_lock_t use_lock; member
78 #define queuefree(q) snd_use_lock_free(&(q)->use_lock)
Dseq_ports.h51 snd_use_lock_t use_lock; member
87 #define snd_seq_port_unlock(port) snd_use_lock_free(&(port)->use_lock)
Dseq_ports.c56 snd_use_lock_use(&port->use_lock); in snd_seq_port_use_ptr()
90 snd_use_lock_use(&found->use_lock); in snd_seq_port_query_nearest()
137 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
140 snd_use_lock_use(&new_port->use_lock); in snd_seq_create_port()
250 snd_use_lock_sync(&port->use_lock); in port_delete()
Dseq_queue.c107 snd_use_lock_init(&q->use_lock); in queue_new()
137 snd_use_lock_sync(&q->use_lock); in queue_delete()
177 snd_use_lock_use(&q->use_lock); in snd_seq_queue_alloc()
179 snd_use_lock_free(&q->use_lock); in snd_seq_queue_alloc()
213 snd_use_lock_use(&q->use_lock); in queueptr()
Dseq_clientmgr.c162 snd_use_lock_use(&client->use_lock); in snd_seq_client_use_ptr()
239 snd_use_lock_init(&client->use_lock); in seq_create_client1()
281 snd_use_lock_sync(&client->use_lock); in seq_free_client1()
1560 snd_use_lock_free(&q->use_lock); in snd_seq_ioctl_create_queue()
/Linux-v5.4/drivers/base/power/
Ddomain.c958 static void genpd_sync_power_off(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_off() argument
980 if (use_lock) in genpd_sync_power_off()
983 genpd_sync_power_off(link->master, use_lock, depth + 1); in genpd_sync_power_off()
985 if (use_lock) in genpd_sync_power_off()
1000 static void genpd_sync_power_on(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_on() argument
1011 if (use_lock) in genpd_sync_power_on()
1014 genpd_sync_power_on(link->master, use_lock, depth + 1); in genpd_sync_power_on()
1016 if (use_lock) in genpd_sync_power_on()