Home
last modified time | relevance | path

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

/linux-6.1.9/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()
158 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
174 snd_use_lock_init(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
227 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
228 snd_use_lock_sync(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
332 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()
349 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-6.1.9/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()
256 snd_use_lock_sync(&f->use_lock); in snd_seq_fifo_resize()
277 snd_use_lock_use(&f->use_lock); in snd_seq_fifo_unused_cells()
281 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
75 #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.c160 snd_use_lock_use(&client->use_lock); in snd_seq_client_use_ptr()
237 snd_use_lock_init(&client->use_lock); in seq_create_client1()
279 snd_use_lock_sync(&client->use_lock); in seq_free_client1()
1570 snd_use_lock_free(&q->use_lock); in snd_seq_ioctl_create_queue()
/linux-6.1.9/drivers/base/power/ !
Ddomain.c1075 static void genpd_sync_power_off(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_off() argument
1104 if (use_lock) in genpd_sync_power_off()
1107 genpd_sync_power_off(link->parent, use_lock, depth + 1); in genpd_sync_power_off()
1109 if (use_lock) in genpd_sync_power_off()
1124 static void genpd_sync_power_on(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_on() argument
1135 if (use_lock) in genpd_sync_power_on()
1138 genpd_sync_power_on(link->parent, use_lock, depth + 1); in genpd_sync_power_on()
1140 if (use_lock) in genpd_sync_power_on()
1437 bool use_lock; in genpd_switch_state() local
1443 use_lock = genpd_is_irq_safe(genpd); in genpd_switch_state()
[all …]