Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 25 of 240) sorted by relevance

12345678910

/sound/core/seq/
Dseq_timer.c46 spin_lock_init(&tmr->lock); in snd_seq_timer_new()
80 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_defaults()
96 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_defaults()
113 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_reset()
115 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_reset()
133 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_interrupt()
135 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_interrupt()
155 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_interrupt()
170 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_set_tempo()
175 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_tempo()
[all …]
Dseq_fifo.c37 spin_lock_init(&f->lock); in snd_seq_fifo_new()
91 spin_lock_irq(&f->lock); in snd_seq_fifo_clear()
96 spin_unlock_irq(&f->lock); in snd_seq_fifo_clear()
121 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_event_in()
129 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_event_in()
173 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_cell_out()
177 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_cell_out()
182 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_cell_out()
184 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_cell_out()
187 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_cell_out()
[all …]
Dseq_memory.c185 spin_lock_irqsave(&pool->lock, flags); in snd_seq_cell_free()
203 spin_unlock_irqrestore(&pool->lock, flags); in snd_seq_cell_free()
226 spin_lock_irqsave(&pool->lock, flags); in snd_seq_cell_alloc()
236 spin_unlock_irqrestore(&pool->lock, flags); in snd_seq_cell_alloc()
242 spin_lock_irqsave(&pool->lock, flags); in snd_seq_cell_alloc()
272 spin_unlock_irqrestore(&pool->lock, flags); in snd_seq_cell_alloc()
386 spin_lock_irq(&pool->lock); in snd_seq_pool_init()
388 spin_unlock_irq(&pool->lock); in snd_seq_pool_init()
407 spin_unlock_irq(&pool->lock); in snd_seq_pool_init()
418 spin_lock_irqsave(&pool->lock, flags); in snd_seq_pool_mark_closing()
[all …]
/sound/firewire/tascam/
Dtascam-hwdep.c20 __releases(&tscm->lock) in tscm_hwdep_read_locked()
30 spin_unlock_irq(&tscm->lock); in tscm_hwdep_read_locked()
40 __releases(&tscm->lock) in tscm_hwdep_read_queue()
49 spin_unlock_irq(&tscm->lock); in tscm_hwdep_read_queue()
77 spin_unlock_irq(&tscm->lock); in tscm_hwdep_read_queue()
81 spin_lock_irq(&tscm->lock); in tscm_hwdep_read_queue()
90 spin_unlock_irq(&tscm->lock); in tscm_hwdep_read_queue()
104 spin_lock_irq(&tscm->lock); in hwdep_read()
108 spin_unlock_irq(&tscm->lock); in hwdep_read()
113 spin_lock_irq(&tscm->lock); in hwdep_read()
[all …]
/sound/pci/asihpi/
Dhpios.h86 spinlock_t lock; /* SEE hpios_spinlock */ member
103 spin_lock(&((l)->lock)); in cond_lock()
106 spin_lock_bh(&((l)->lock)); in cond_lock()
114 spin_unlock_bh(&((l)->lock)); in cond_unlock()
116 spin_unlock(&((l)->lock)); in cond_unlock()
119 #define hpios_msgxlock_init(obj) spin_lock_init(&(obj)->lock)
123 #define hpios_dsplock_init(obj) spin_lock_init(&(obj)->dsp_lock.lock)
132 #define hpios_alistlock_init(obj) spin_lock_init(&((obj)->list_lock.lock))
133 #define hpios_alistlock_lock(obj) spin_lock(&((obj)->list_lock.lock))
134 #define hpios_alistlock_unlock(obj) spin_unlock(&((obj)->list_lock.lock))
/sound/firewire/fireworks/
Dfireworks_hwdep.c42 spin_lock_irq(&efw->lock); in hwdep_read_resp_buf()
65 spin_unlock_irq(&efw->lock); in hwdep_read_resp_buf()
70 spin_lock_irq(&efw->lock); in hwdep_read_resp_buf()
93 spin_unlock_irq(&efw->lock); in hwdep_read_resp_buf()
106 spin_lock_irq(&efw->lock); in hwdep_read_locked()
111 spin_unlock_irq(&efw->lock); in hwdep_read_locked()
130 spin_lock_irq(&efw->lock); in hwdep_read()
137 spin_unlock_irq(&efw->lock); in hwdep_read()
142 spin_lock_irq(&efw->lock); in hwdep_read()
147 spin_unlock_irq(&efw->lock); in hwdep_read()
[all …]
/sound/firewire/motu/
Dmotu-hwdep.c26 spin_lock_irq(&motu->lock); in hwdep_read()
30 spin_unlock_irq(&motu->lock); in hwdep_read()
35 spin_lock_irq(&motu->lock); in hwdep_read()
53 spin_unlock_irq(&motu->lock); in hwdep_read()
69 spin_lock_irq(&motu->lock); in hwdep_poll()
74 spin_unlock_irq(&motu->lock); in hwdep_poll()
102 spin_lock_irq(&motu->lock); in hwdep_lock()
111 spin_unlock_irq(&motu->lock); in hwdep_lock()
120 spin_lock_irq(&motu->lock); in hwdep_unlock()
129 spin_unlock_irq(&motu->lock); in hwdep_unlock()
[all …]
/sound/firewire/bebob/
Dbebob_hwdep.c26 spin_lock_irq(&bebob->lock); in hwdep_read()
30 spin_unlock_irq(&bebob->lock); in hwdep_read()
35 spin_lock_irq(&bebob->lock); in hwdep_read()
46 spin_unlock_irq(&bebob->lock); in hwdep_read()
62 spin_lock_irq(&bebob->lock); in hwdep_poll()
67 spin_unlock_irq(&bebob->lock); in hwdep_poll()
97 spin_lock_irq(&bebob->lock); in hwdep_lock()
106 spin_unlock_irq(&bebob->lock); in hwdep_lock()
116 spin_lock_irq(&bebob->lock); in hwdep_unlock()
125 spin_unlock_irq(&bebob->lock); in hwdep_unlock()
[all …]
/sound/firewire/digi00x/
Ddigi00x-hwdep.c26 spin_lock_irq(&dg00x->lock); in hwdep_read()
30 spin_unlock_irq(&dg00x->lock); in hwdep_read()
35 spin_lock_irq(&dg00x->lock); in hwdep_read()
54 spin_unlock_irq(&dg00x->lock); in hwdep_read()
70 spin_lock_irq(&dg00x->lock); in hwdep_poll()
75 spin_unlock_irq(&dg00x->lock); in hwdep_poll()
103 spin_lock_irq(&dg00x->lock); in hwdep_lock()
112 spin_unlock_irq(&dg00x->lock); in hwdep_lock()
121 spin_lock_irq(&dg00x->lock); in hwdep_unlock()
130 spin_unlock_irq(&dg00x->lock); in hwdep_unlock()
[all …]
/sound/firewire/dice/
Ddice-hwdep.c18 spin_lock_irq(&dice->lock); in hwdep_read()
22 spin_unlock_irq(&dice->lock); in hwdep_read()
27 spin_lock_irq(&dice->lock); in hwdep_read()
46 spin_unlock_irq(&dice->lock); in hwdep_read()
62 spin_lock_irq(&dice->lock); in hwdep_poll()
67 spin_unlock_irq(&dice->lock); in hwdep_poll()
95 spin_lock_irq(&dice->lock); in hwdep_lock()
104 spin_unlock_irq(&dice->lock); in hwdep_lock()
113 spin_lock_irq(&dice->lock); in hwdep_unlock()
122 spin_unlock_irq(&dice->lock); in hwdep_unlock()
[all …]
/sound/firewire/oxfw/
Doxfw-hwdep.c25 spin_lock_irq(&oxfw->lock); in hwdep_read()
29 spin_unlock_irq(&oxfw->lock); in hwdep_read()
34 spin_lock_irq(&oxfw->lock); in hwdep_read()
46 spin_unlock_irq(&oxfw->lock); in hwdep_read()
62 spin_lock_irq(&oxfw->lock); in hwdep_poll()
67 spin_unlock_irq(&oxfw->lock); in hwdep_poll()
95 spin_lock_irq(&oxfw->lock); in hwdep_lock()
104 spin_unlock_irq(&oxfw->lock); in hwdep_lock()
113 spin_lock_irq(&oxfw->lock); in hwdep_unlock()
122 spin_unlock_irq(&oxfw->lock); in hwdep_unlock()
[all …]
/sound/firewire/fireface/
Dff-hwdep.c25 spin_lock_irq(&ff->lock); in hwdep_read()
29 spin_unlock_irq(&ff->lock); in hwdep_read()
34 spin_lock_irq(&ff->lock); in hwdep_read()
46 spin_unlock_irq(&ff->lock); in hwdep_read()
62 spin_lock_irq(&ff->lock); in hwdep_poll()
67 spin_unlock_irq(&ff->lock); in hwdep_poll()
95 spin_lock_irq(&ff->lock); in hwdep_lock()
104 spin_unlock_irq(&ff->lock); in hwdep_lock()
113 spin_lock_irq(&ff->lock); in hwdep_unlock()
122 spin_unlock_irq(&ff->lock); in hwdep_unlock()
[all …]
/sound/sparc/
Dcs4231.c59 spinlock_t lock; /* DMA access lock */ member
82 spinlock_t lock; /* registers access lock */ member
363 spin_lock_irqsave(&chip->lock, flags); in snd_cs4231_mce_up()
378 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_up()
387 spin_lock_irqsave(&chip->lock, flags); in snd_cs4231_mce_down()
401 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_down()
410 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_down()
412 spin_lock_irqsave(&chip->lock, flags); in snd_cs4231_mce_down()
416 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_down()
498 spin_lock_irqsave(&chip->lock, flags); in snd_cs4231_trigger()
[all …]
/sound/pci/ctxfi/
Dcttimer.c31 spinlock_t lock; member
46 spinlock_t lock; /* global timer lock (for xfitimer) */ member
85 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_callback()
88 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_callback()
101 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_start()
106 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_start()
113 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_stop()
116 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_stop()
250 spin_lock_irqsave(&atimer->lock, flags); in ct_xfitimer_callback()
254 spin_unlock(&atimer->lock); in ct_xfitimer_callback()
[all …]
/sound/isa/ad1816a/
Dad1816a_lib.c101 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_open()
104 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_open()
129 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_open()
137 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_close()
161 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_close()
173 spin_lock(&chip->lock); in snd_ad1816a_trigger()
185 spin_unlock(&chip->lock); in snd_ad1816a_trigger()
216 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_playback_prepare()
237 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_playback_prepare()
248 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_capture_prepare()
[all …]
/sound/pci/
Drme32.c180 spinlock_t lock; member
672 spin_lock_irq(&rme32->lock); in snd_rme32_playback_hw_params()
677 spin_unlock_irq(&rme32->lock); in snd_rme32_playback_hw_params()
681 spin_unlock_irq(&rme32->lock); in snd_rme32_playback_hw_params()
685 spin_unlock_irq(&rme32->lock); in snd_rme32_playback_hw_params()
692 spin_unlock_irq(&rme32->lock); in snd_rme32_playback_hw_params()
703 spin_unlock_irq(&rme32->lock); in snd_rme32_playback_hw_params()
723 spin_lock_irq(&rme32->lock); in snd_rme32_capture_hw_params()
729 spin_unlock_irq(&rme32->lock); in snd_rme32_capture_hw_params()
733 spin_unlock_irq(&rme32->lock); in snd_rme32_capture_hw_params()
[all …]
Drme96.c214 spinlock_t lock; member
991 spin_lock_irq(&rme96->lock); in snd_rme96_playback_hw_params()
1031 spin_unlock_irq(&rme96->lock); in snd_rme96_playback_hw_params()
1053 spin_lock_irq(&rme96->lock); in snd_rme96_capture_hw_params()
1055 spin_unlock_irq(&rme96->lock); in snd_rme96_capture_hw_params()
1062 spin_unlock_irq(&rme96->lock); in snd_rme96_capture_hw_params()
1067 spin_unlock_irq(&rme96->lock); in snd_rme96_capture_hw_params()
1073 spin_unlock_irq(&rme96->lock); in snd_rme96_capture_hw_params()
1082 spin_unlock_irq(&rme96->lock); in snd_rme96_capture_hw_params()
1089 spin_unlock_irq(&rme96->lock); in snd_rme96_capture_hw_params()
[all …]
/sound/soc/img/
Dimg-spdif-in.c71 spinlock_t lock; member
199 spin_lock_irqsave(&spdif->lock, flags); in img_spdif_in_do_clkgen_single()
202 spin_unlock_irqrestore(&spdif->lock, flags); in img_spdif_in_do_clkgen_single()
210 spin_unlock_irqrestore(&spdif->lock, flags); in img_spdif_in_do_clkgen_single()
245 spin_lock_irqsave(&spdif->lock, flags); in img_spdif_in_do_clkgen_multi()
248 spin_unlock_irqrestore(&spdif->lock, flags); in img_spdif_in_do_clkgen_multi()
265 spin_unlock_irqrestore(&spdif->lock, flags); in img_spdif_in_do_clkgen_multi()
328 spin_lock_irqsave(&spdif->lock, flags); in img_spdif_in_get_multi_freq()
340 spin_unlock_irqrestore(&spdif->lock, flags); in img_spdif_in_get_multi_freq()
370 spin_lock_irqsave(&spdif->lock, flags); in img_spdif_in_set_multi_freq()
[all …]
/sound/soc/samsung/
Didma.c39 spinlock_t lock; member
51 spinlock_t lock; member
70 spin_lock(&prtd->lock); in idma_enqueue()
72 spin_unlock(&prtd->lock); in idma_enqueue()
104 spin_lock(&prtd->lock); in idma_setcallbk()
106 spin_unlock(&prtd->lock); in idma_setcallbk()
113 spin_lock(&idma.lock); in idma_control()
123 spin_unlock(&idma.lock); in idma_control()
128 spin_unlock(&idma.lock); in idma_control()
195 spin_lock(&prtd->lock); in idma_trigger()
[all …]
/sound/core/
Drawmidi.c109 spin_lock_irqsave(&runtime->lock, flags); in snd_rawmidi_ready()
111 spin_unlock_irqrestore(&runtime->lock, flags); in snd_rawmidi_ready()
152 spin_lock_init(&runtime->lock); in snd_rawmidi_runtime_create()
211 spin_lock_irqsave(&runtime->lock, flags); in reset_runtime_ptrs()
213 spin_unlock_irqrestore(&runtime->lock, flags); in reset_runtime_ptrs()
692 spin_lock_irq(&runtime->lock); in resize_runtime_buffer()
694 spin_unlock_irq(&runtime->lock); in resize_runtime_buffer()
702 spin_unlock_irq(&runtime->lock); in resize_runtime_buffer()
735 spin_lock_irq(&runtime->lock); in snd_rawmidi_output_status()
737 spin_unlock_irq(&runtime->lock); in snd_rawmidi_output_status()
[all …]
/sound/soc/sprd/
Dsprd-mcdt.c111 spinlock_t lock; member
527 spin_lock(&mcdt->lock); in sprd_mcdt_irq_handler()
550 spin_unlock(&mcdt->lock); in sprd_mcdt_irq_handler()
576 spin_lock_irqsave(&mcdt->lock, flags); in sprd_mcdt_chan_write()
581 spin_unlock_irqrestore(&mcdt->lock, flags); in sprd_mcdt_chan_write()
587 spin_unlock_irqrestore(&mcdt->lock, flags); in sprd_mcdt_chan_write()
595 spin_unlock_irqrestore(&mcdt->lock, flags); in sprd_mcdt_chan_write()
602 spin_unlock_irqrestore(&mcdt->lock, flags); in sprd_mcdt_chan_write()
627 spin_lock_irqsave(&mcdt->lock, flags); in sprd_mcdt_chan_read()
631 spin_unlock_irqrestore(&mcdt->lock, flags); in sprd_mcdt_chan_read()
[all …]
/sound/pci/rme9652/
Drme9652.c189 spinlock_t lock; member
319 spin_lock_irqsave(&rme9652->lock, flags); in snd_rme9652_use_is_exclusive()
324 spin_unlock_irqrestore(&rme9652->lock, flags); in snd_rme9652_use_is_exclusive()
436 spin_lock_irq(&s->lock); in rme9652_set_interrupt_interval()
459 spin_unlock_irq(&s->lock); in rme9652_set_interrupt_interval()
485 spin_lock_irq(&rme9652->lock); in rme9652_set_rate()
514 spin_unlock_irq(&rme9652->lock); in rme9652_set_rate()
519 spin_unlock_irq(&rme9652->lock); in rme9652_set_rate()
548 spin_unlock_irq(&rme9652->lock); in rme9652_set_rate()
814 spin_lock_irq(&rme9652->lock); in snd_rme9652_control_spdif_put()
[all …]
/sound/drivers/vx/
Dvx_uer.c52 mutex_lock(&chip->lock); in vx_read_one_cbit()
62 mutex_unlock(&chip->lock); in vx_read_one_cbit()
74 mutex_lock(&chip->lock); in vx_write_one_cbit()
82 mutex_unlock(&chip->lock); in vx_write_one_cbit()
181 mutex_lock(&chip->lock); in vx_change_clock_source()
184 mutex_unlock(&chip->lock); in vx_change_clock_source()
200 mutex_lock(&chip->lock); in vx_set_internal_clock()
208 mutex_unlock(&chip->lock); in vx_set_internal_clock()
/sound/drivers/
Dmts64.c50 spinlock_t lock; member
83 spin_lock_init(&mts->lock); in snd_mts64_create()
435 spin_lock_irq(&mts->lock); in snd_mts64_ctl_smpte_switch_get()
437 spin_unlock_irq(&mts->lock); in snd_mts64_ctl_smpte_switch_get()
451 spin_lock_irq(&mts->lock); in snd_mts64_ctl_smpte_switch_put()
466 spin_unlock_irq(&mts->lock); in snd_mts64_ctl_smpte_switch_put()
518 spin_lock_irq(&mts->lock); in snd_mts64_ctl_smpte_time_get()
520 spin_unlock_irq(&mts->lock); in snd_mts64_ctl_smpte_time_get()
533 spin_lock_irq(&mts->lock); in snd_mts64_ctl_smpte_time_put()
538 spin_unlock_irq(&mts->lock); in snd_mts64_ctl_smpte_time_put()
[all …]
/sound/soc/cirrus/
Dep93xx-ac97.c95 struct mutex lock; member
136 mutex_lock(&info->lock); in ep93xx_ac97_read()
142 mutex_unlock(&info->lock); in ep93xx_ac97_read()
147 mutex_unlock(&info->lock); in ep93xx_ac97_read()
157 mutex_lock(&info->lock); in ep93xx_ac97_write()
170 mutex_unlock(&info->lock); in ep93xx_ac97_write()
177 mutex_lock(&info->lock); in ep93xx_ac97_warm_reset()
190 mutex_unlock(&info->lock); in ep93xx_ac97_warm_reset()
197 mutex_lock(&info->lock); in ep93xx_ac97_cold_reset()
221 mutex_unlock(&info->lock); in ep93xx_ac97_cold_reset()
[all …]

12345678910