Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_synth.c51 snd_use_lock_t use_lock; member
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()
249 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()
354 snd_use_lock_use(&rec->use_lock); in get_synthdev()
361 snd_use_lock_free(&rec->use_lock); in get_synthdev()
432 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_reset()
462 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_load_patch()
[all …]
H A Dseq_oss_midi.c39 snd_use_lock_t use_lock; member
103 snd_use_lock_use(&mdev->use_lock); in get_mdev()
123 snd_use_lock_use(&mdev->use_lock); in find_slot()
159 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
175 snd_use_lock_init(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()
229 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
230 snd_use_lock_sync(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()
388 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()
427 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_close()
450 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_filemode()
[all …]
/openbmc/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()
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()
H A 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)
H A Dseq_queue.h45 snd_use_lock_t use_lock; member
75 #define queuefree(q) snd_use_lock_free(&(q)->use_lock)
H A Dseq_clientmgr.h44 snd_use_lock_t use_lock; member
82 #define snd_seq_client_unlock(client) snd_use_lock_free(&(client)->use_lock)
H A Dseq_ports.h52 snd_use_lock_t use_lock; member
95 #define snd_seq_port_unlock(port) snd_use_lock_free(&(port)->use_lock)
H A 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()
H A Dseq_ports.c56 snd_use_lock_use(&port->use_lock); in snd_seq_port_use_ptr()
94 snd_use_lock_use(&found->use_lock); in snd_seq_port_query_nearest()
142 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
145 snd_use_lock_use(&new_port->use_lock); in snd_seq_create_port()
262 snd_use_lock_sync(&port->use_lock); in port_delete()
H A Dseq_clientmgr.c166 snd_use_lock_use(&client->use_lock); in snd_seq_client_use_ptr()
243 snd_use_lock_init(&client->use_lock); in seq_create_client1()
286 snd_use_lock_sync(&client->use_lock); in seq_free_client1()
1590 snd_use_lock_free(&q->use_lock); in snd_seq_ioctl_create_queue()
/openbmc/linux/drivers/base/power/
H A Ddomain.c1151 if (use_lock) in genpd_sync_power_off()
1156 if (use_lock) in genpd_sync_power_off()
1182 if (use_lock) in genpd_sync_power_on()
1185 genpd_sync_power_on(link->parent, use_lock, depth + 1); in genpd_sync_power_on()
1187 if (use_lock) in genpd_sync_power_on()
1442 bool use_lock; in genpd_switch_state() local
1448 use_lock = genpd_is_irq_safe(genpd); in genpd_switch_state()
1450 if (use_lock) in genpd_switch_state()
1455 genpd_sync_power_off(genpd, use_lock, 0); in genpd_switch_state()
1457 genpd_sync_power_on(genpd, use_lock, 0); in genpd_switch_state()
[all …]
/openbmc/qemu/block/
H A Dfile-posix.c139 bool use_lock; member
655 s->use_lock = true; in raw_open_common()
664 s->use_lock = false; in raw_open_common()
667 s->use_lock = qemu_has_ofd_lock(); in raw_open_common()
971 if (!s->use_lock) { in raw_handle_perm_lock()
3787 if (s->perm_change_fd && s->use_lock) { in raw_check_perm()