Home
last modified time | relevance | path

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

/linux/sound/core/seq/oss/
H A Dseq_oss_synth.c44 snd_use_lock_t use_lock; member
47 …seq_oss_synth, struct seq_oss_synth *, if (!IS_ERR_OR_NULL(_T)) snd_use_lock_free(&(_T)->use_lock))
76 snd_use_lock_init(&midi_synth_dev.use_lock); in snd_seq_oss_synth_init()
99 snd_use_lock_init(&rec->use_lock); in snd_seq_oss_synth_probe()
159 snd_use_lock_sync(&rec->use_lock); in snd_seq_oss_synth_remove()
174 snd_use_lock_use(&rec->use_lock); in get_sdev()
330 snd_use_lock_use(&rec->use_lock); in get_synthdev()
337 snd_use_lock_free(&rec->use_lock); in get_synthdev()
H A Dseq_oss_midi.c39 snd_use_lock_t use_lock; member
43 …E(seq_oss_midi, struct seq_oss_midi *, if (!IS_ERR_OR_NULL(_T)) snd_use_lock_free(&(_T)->use_lock))
98 snd_use_lock_use(&mdev->use_lock); in get_mdev()
116 snd_use_lock_use(&mdev->use_lock); in find_slot()
149 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
165 snd_use_lock_init(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
216 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
217 snd_use_lock_sync(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
/linux/sound/core/seq/
H A 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()
249 snd_use_lock_sync(&f->use_lock); in snd_seq_fifo_resize()
H A Dseq_queue.c99 snd_use_lock_init(&q->use_lock); in queue_new()
129 snd_use_lock_sync(&q->use_lock); in queue_delete()
169 snd_use_lock_use(&q->use_lock); in snd_seq_queue_alloc()
171 snd_use_lock_free(&q->use_lock); in snd_seq_queue_alloc()
204 snd_use_lock_use(&q->use_lock); in queueptr()
H A Dseq_ports.c56 snd_use_lock_use(&port->use_lock); in snd_seq_port_use_ptr()
92 snd_use_lock_use(&found->use_lock); in snd_seq_port_query_nearest()
139 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
142 snd_use_lock_use(&new_port->use_lock); in snd_seq_create_port()
245 snd_use_lock_sync(&port->use_lock); in port_delete()
/linux/drivers/pmdomain/
H A Dcore.c1409 static void genpd_sync_power_off(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_off() argument
1448 if (use_lock) in genpd_sync_power_off()
1451 genpd_sync_power_off(link->parent, use_lock, depth + 1); in genpd_sync_power_off()
1453 if (use_lock) in genpd_sync_power_off()
1468 static void genpd_sync_power_on(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_on() argument
1479 if (use_lock) in genpd_sync_power_on()
1482 genpd_sync_power_on(link->parent, use_lock, depth + 1); in genpd_sync_power_on()
1484 if (use_lock) in genpd_sync_power_on()
1738 bool use_lock; in genpd_switch_state() local
1744 use_lock = genpd_is_irq_safe(genpd); in genpd_switch_state()
[all …]