Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/sound/pci/emu10k1/
Dio.c37 unsigned long flags; in snd_emu10k1_ptr_read() local
51 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
54 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
58 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
61 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
71 unsigned long flags; in snd_emu10k1_ptr_write() local
87 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
91 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
93 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
96 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
[all …]
Demumpu401.c122 unsigned long flags; in snd_emu10k1_midi_cmd() local
125 spin_lock_irqsave(&midi->input_lock, flags); in snd_emu10k1_midi_cmd()
144 spin_unlock_irqrestore(&midi->input_lock, flags); in snd_emu10k1_midi_cmd()
160 unsigned long flags; in snd_emu10k1_midi_input_open() local
165 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
169 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
175 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
187 unsigned long flags; in snd_emu10k1_midi_output_open() local
192 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_output_open()
196 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_output_open()
[all …]
/sound/isa/gus/
Dgus_uart.c32 unsigned long flags; in snd_gf1_interrupt_midi_in() local
36 spin_lock_irqsave(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
39 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
46 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
51 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
55 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
66 unsigned long flags; in snd_gf1_interrupt_midi_out() local
72 spin_lock_irqsave(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_out()
80 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_out()
94 unsigned long flags; in snd_gf1_uart_output_open() local
[all …]
Dgus_reset.c103 unsigned long flags; in snd_gf1_clear_regs() local
105 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_clear_regs()
110 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_clear_regs()
115 unsigned long flags; in snd_gf1_look_regs() local
117 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_look_regs()
122 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_look_regs()
131 unsigned long flags; in snd_gf1_smart_stop_voice() local
133 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_smart_stop_voice()
140 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_smart_stop_voice()
145 unsigned long flags; in snd_gf1_stop_voice() local
[all …]
Dgus_io.c195 unsigned long flags; in snd_gf1_i_ctrl_stop() local
197 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_i_ctrl_stop()
199 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_i_ctrl_stop()
206 unsigned long flags; in snd_gf1_i_write8() local
208 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_i_write8()
210 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_i_write8()
215 unsigned long flags; in snd_gf1_i_look8() local
218 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_i_look8()
220 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_i_look8()
228 unsigned long flags; in snd_gf1_i_write16() local
[all …]
Dgus_timer.c34 unsigned long flags; in snd_gf1_timer1_start() local
40 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_timer1_start()
46 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_timer1_start()
52 unsigned long flags; in snd_gf1_timer1_stop() local
57 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_timer1_stop()
60 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_timer1_stop()
70 unsigned long flags; in snd_gf1_timer2_start() local
76 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_timer2_start()
82 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_timer2_start()
88 unsigned long flags; in snd_gf1_timer2_stop() local
[all …]
/sound/isa/sb/
Dsb8_midi.c65 unsigned long flags; in snd_sb8dsp_midi_input_open() local
72 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
74 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
80 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
85 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
92 unsigned long flags; in snd_sb8dsp_midi_output_open() local
99 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
101 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
107 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
112 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
[all …]
Dsb_mixer.c74 unsigned long flags; in snd_sbmixer_get_single() local
80 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_get_single()
82 spin_unlock_irqrestore(&sb->mixer_lock, flags); in snd_sbmixer_get_single()
90 unsigned long flags; in snd_sbmixer_put_single() local
98 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_put_single()
104 spin_unlock_irqrestore(&sb->mixer_lock, flags); in snd_sbmixer_put_single()
126 unsigned long flags; in snd_sbmixer_get_double() local
134 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_get_double()
137 spin_unlock_irqrestore(&sb->mixer_lock, flags); in snd_sbmixer_get_double()
146 unsigned long flags; in snd_sbmixer_put_double() local
[all …]
/sound/isa/wavefront/
Dwavefront_midi.c119 unsigned long flags; in snd_wavefront_midi_output_write() local
148 spin_lock_irqsave (&midi->virtual, flags); in snd_wavefront_midi_output_write()
150 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
166 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
170 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
173 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
191 spin_lock_irqsave (&midi->virtual, flags); in snd_wavefront_midi_output_write()
197 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
221 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
225 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
[all …]
/sound/core/seq/
Dseq_timer.c93 unsigned long flags; in snd_seq_timer_defaults() local
95 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_defaults()
111 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_defaults()
126 unsigned long flags; in snd_seq_timer_reset() local
128 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_reset()
130 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_reset()
139 unsigned long flags; in snd_seq_timer_interrupt() local
148 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_interrupt()
150 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_interrupt()
170 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_interrupt()
[all …]
Dseq_fifo.c99 unsigned long flags; in snd_seq_fifo_clear() local
105 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_clear()
110 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_clear()
119 unsigned long flags; in snd_seq_fifo_event_in() local
135 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_event_in()
143 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_event_in()
179 unsigned long flags; in snd_seq_fifo_cell_out() local
187 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_cell_out()
191 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_cell_out()
201 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_cell_out()
[all …]
Dseq_queue.c66 unsigned long flags; in queue_list_add() local
68 spin_lock_irqsave(&queue_list_lock, flags); in queue_list_add()
74 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_add()
78 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_add()
85 unsigned long flags; in queue_list_remove() local
87 spin_lock_irqsave(&queue_list_lock, flags); in queue_list_remove()
97 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_remove()
102 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_remove()
229 unsigned long flags; in queueptr() local
233 spin_lock_irqsave(&queue_list_lock, flags); in queueptr()
[all …]
/sound/oss/
Ddmabuf.c153 unsigned long flags; in sound_start_dma() local
158 flags = claim_dma_lock(); in sound_start_dma()
165 release_dma_lock(flags); in sound_start_dma()
184 dmap->flags = DMA_BUSY; /* Other flags off */ in dma_init_buffers()
191 if (dmap->flags & DMA_BUSY) in open_dmap()
221 unsigned long flags; in close_dmap() local
225 flags=claim_dma_lock(); in close_dmap()
227 release_dma_lock(flags); in close_dmap()
229 if (dmap->flags & DMA_BUSY) in close_dmap()
231 dmap->flags &= ~DMA_BUSY; in close_dmap()
[all …]
Dpas2_pcm.c50 unsigned long flags; in pcm_set_speed() local
104 spin_lock_irqsave(&pas_lock, flags); in pcm_set_speed()
112 spin_unlock_irqrestore(&pas_lock, flags); in pcm_set_speed()
207 unsigned long flags; in pas_audio_open() local
209 spin_lock_irqsave(&pas_lock, flags); in pas_audio_open()
212 spin_unlock_irqrestore(&pas_lock, flags); in pas_audio_open()
216 spin_unlock_irqrestore(&pas_lock, flags); in pas_audio_open()
230 unsigned long flags; in pas_audio_close() local
232 spin_lock_irqsave(&pas_lock, flags); in pas_audio_close()
239 spin_unlock_irqrestore(&pas_lock, flags); in pas_audio_close()
[all …]
/sound/pci/ca0106/
Dca_midi.c92 unsigned long flags; in ca_midi_cmd() local
95 spin_lock_irqsave(&midi->input_lock, flags); in ca_midi_cmd()
114 spin_unlock_irqrestore(&midi->input_lock, flags); in ca_midi_cmd()
126 unsigned long flags; in ca_midi_input_open() local
130 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_input_open()
134 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_open()
138 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_open()
146 unsigned long flags; in ca_midi_output_open() local
150 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_output_open()
154 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_output_open()
[all …]
/sound/sparc/
Dcs4231.c87 u32 flags; member
258 if (cp->flags & CS4231_FLAG_EBUS) in __cs4231_readb()
267 if (cp->flags & CS4231_FLAG_EBUS) in __cs4231_writeb()
359 unsigned long flags; in snd_cs4231_mce_up() local
362 spin_lock_irqsave(&chip->lock, flags); in snd_cs4231_mce_up()
377 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_up()
382 unsigned long flags, timeout; in snd_cs4231_mce_down() local
386 spin_lock_irqsave(&chip->lock, flags); in snd_cs4231_mce_down()
400 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_down()
409 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_down()
[all …]
/sound/core/
Disadma.c46 unsigned long flags; in snd_dma_program() local
48 flags = claim_dma_lock(); in snd_dma_program()
56 release_dma_lock(flags); in snd_dma_program()
69 unsigned long flags; in snd_dma_disable() local
71 flags = claim_dma_lock(); in snd_dma_disable()
74 release_dma_lock(flags); in snd_dma_disable()
88 unsigned long flags; in snd_dma_pointer() local
91 flags = claim_dma_lock(); in snd_dma_pointer()
104 release_dma_lock(flags); in snd_dma_pointer()
Dtimer.c225 if (slave->flags & SNDRV_TIMER_IFLG_RUNNING) in snd_timer_check_master()
261 timeri->flags |= SNDRV_TIMER_IFLG_SLAVE; in snd_timer_open()
287 if (timeri->flags & SNDRV_TIMER_IFLG_EXCLUSIVE) { in snd_timer_open()
338 if (timeri->flags & SNDRV_TIMER_IFLG_SLAVE) { in snd_timer_close()
341 while (timeri->flags & SNDRV_TIMER_IFLG_CALLBACK) { in snd_timer_close()
356 while (timeri->flags & SNDRV_TIMER_IFLG_CALLBACK) { in snd_timer_close()
428 if (ti->flags & SNDRV_TIMER_IFLG_SLAVE) in snd_timer_notify1()
433 if (timer->hw.flags & SNDRV_TIMER_HW_SLAVE) in snd_timer_notify1()
447 unsigned long flags; in snd_timer_start1() local
453 spin_lock_irqsave(&timer->lock, flags); in snd_timer_start1()
[all …]
/sound/pci/ice1712/
Dwm8776.c90 if (wm->ctl[i].flags & flags_off) in snd_wm8776_update_agc_ctl()
92 else if (wm->ctl[i].flags & flags_on) in snd_wm8776_update_agc_ctl()
156 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_VOL_UPDATE,
165 .flags = WM8776_FLAG_STEREO,
183 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_VOL_UPDATE,
190 .flags = WM8776_FLAG_INVERT,
199 .flags = WM8776_FLAG_STEREO,
226 .flags = WM8776_FLAG_STEREO,
243 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_VOL_UPDATE,
252 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_INVERT,
[all …]
/sound/sh/
Daica.c75 .flags = IORESOURCE_MEM,
81 .flags = IORESOURCE_MEM,
109 unsigned long flags; in spu_memset() local
115 local_irq_save(flags); in spu_memset()
117 local_irq_restore(flags); in spu_memset()
125 unsigned long flags; in spu_memload() local
136 local_irq_save(flags); in spu_memload()
138 local_irq_restore(flags); in spu_memload()
148 unsigned long flags; in spu_disable() local
154 local_irq_save(flags); in spu_disable()
[all …]
/sound/isa/ad1816a/
Dad1816a_lib.c110 unsigned long flags; in snd_ad1816a_open() local
112 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_open()
115 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_open()
140 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_open()
146 unsigned long flags; in snd_ad1816a_close() local
148 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_close()
172 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_close()
234 unsigned long flags; in snd_ad1816a_playback_prepare() local
238 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_playback_prepare()
259 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_playback_prepare()
[all …]
/sound/pci/ctxfi/
Dcttimer.c74 unsigned long flags; in ct_systimer_callback() local
88 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_callback()
91 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_callback()
103 unsigned long flags; in ct_systimer_start() local
105 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_start()
110 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_start()
115 unsigned long flags; in ct_systimer_stop() local
117 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_stop()
120 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_stop()
236 unsigned long flags; in ct_xfitimer_check_period() local
[all …]
/sound/isa/wss/
Dwss_lib.c376 unsigned long flags; in snd_wss_mce_up() local
385 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_mce_up()
395 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_mce_up()
401 unsigned long flags; in snd_wss_mce_down() local
414 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_mce_down()
418 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_mce_down()
567 unsigned long flags; in snd_wss_calibrate_mute() local
570 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_calibrate_mute()
572 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_calibrate_mute()
622 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_calibrate_mute()
[all …]
/sound/isa/msnd/
Dmsnd.c91 unsigned long flags; in snd_msnd_send_dsp_cmd() local
93 spin_lock_irqsave(&dev->lock, flags); in snd_msnd_send_dsp_cmd()
96 spin_unlock_irqrestore(&dev->lock, flags); in snd_msnd_send_dsp_cmd()
99 spin_unlock_irqrestore(&dev->lock, flags); in snd_msnd_send_dsp_cmd()
148 unsigned long flags; in snd_msnd_enable_irq() local
155 spin_lock_irqsave(&dev->lock, flags); in snd_msnd_enable_irq()
166 spin_unlock_irqrestore(&dev->lock, flags); in snd_msnd_enable_irq()
169 spin_unlock_irqrestore(&dev->lock, flags); in snd_msnd_enable_irq()
179 unsigned long flags; in snd_msnd_disable_irq() local
190 spin_lock_irqsave(&dev->lock, flags); in snd_msnd_disable_irq()
[all …]
/sound/isa/cs423x/
Dcs4236_lib.c186 unsigned long flags; in snd_cs4236_playback_format() local
189 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_playback_format()
197 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_playback_format()
204 unsigned long flags; in snd_cs4236_capture_format() local
207 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_capture_format()
215 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_capture_format()
223 unsigned long flags; in snd_cs4236_suspend() local
225 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_suspend()
232 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_suspend()
238 unsigned long flags; in snd_cs4236_resume() local
[all …]

12345678910>>...13