Home
last modified time | relevance | path

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

123456789

/sound/pci/emu10k1/
Dio.c36 unsigned long flags; in snd_emu10k1_ptr_read() local
50 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
53 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
57 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
60 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
70 unsigned long flags; in snd_emu10k1_ptr_write() local
89 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
93 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
95 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
98 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
[all …]
Demumpu401.c120 unsigned long flags; in snd_emu10k1_midi_cmd() local
123 spin_lock_irqsave(&midi->input_lock, flags); in snd_emu10k1_midi_cmd()
142 spin_unlock_irqrestore(&midi->input_lock, flags); in snd_emu10k1_midi_cmd()
157 unsigned long flags; in snd_emu10k1_midi_input_open() local
162 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
166 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
172 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
184 unsigned long flags; in snd_emu10k1_midi_output_open() local
189 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_output_open()
193 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 …]
/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/oss/
Ddmabuf.c150 unsigned long flags; in sound_start_dma() local
155 flags = claim_dma_lock(); in sound_start_dma()
162 release_dma_lock(flags); in sound_start_dma()
181 dmap->flags = DMA_BUSY; /* Other flags off */ in dma_init_buffers()
188 if (dmap->flags & DMA_BUSY) in open_dmap()
218 unsigned long flags; in close_dmap() local
222 flags=claim_dma_lock(); in close_dmap()
224 release_dma_lock(flags); in close_dmap()
226 if (dmap->flags & DMA_BUSY) in close_dmap()
228 dmap->flags &= ~DMA_BUSY; in close_dmap()
[all …]
Dpas2_pcm.c54 unsigned long flags; in pcm_set_speed() local
108 spin_lock_irqsave(&pas_lock, flags); in pcm_set_speed()
116 spin_unlock_irqrestore(&pas_lock, flags); in pcm_set_speed()
215 unsigned long flags; in pas_audio_open() local
219 spin_lock_irqsave(&pas_lock, flags); in pas_audio_open()
222 spin_unlock_irqrestore(&pas_lock, flags); in pas_audio_open()
226 spin_unlock_irqrestore(&pas_lock, flags); in pas_audio_open()
240 unsigned long flags; in pas_audio_close() local
244 spin_lock_irqsave(&pas_lock, flags); in pas_audio_close()
251 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.c88 u32 flags; member
259 if (cp->flags & CS4231_FLAG_EBUS) in __cs4231_readb()
268 if (cp->flags & CS4231_FLAG_EBUS) in __cs4231_writeb()
360 unsigned long flags; in snd_cs4231_mce_up() local
363 spin_lock_irqsave(&chip->lock, flags); in snd_cs4231_mce_up()
378 spin_unlock_irqrestore(&chip->lock, flags); in snd_cs4231_mce_up()
383 unsigned long flags, timeout; in snd_cs4231_mce_down() local
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()
[all …]
/sound/isa/
Dsscape.c228 unsigned long flags; in sscape_write() local
230 spin_lock_irqsave(&s->lock, flags); in sscape_write()
232 spin_unlock_irqrestore(&s->lock, flags); in sscape_write()
400 unsigned long flags; in obp_startup_ack() local
405 spin_lock_irqsave(&s->lock, flags); in obp_startup_ack()
407 spin_unlock_irqrestore(&s->lock, flags); in obp_startup_ack()
427 unsigned long flags; in host_startup_ack() local
432 spin_lock_irqsave(&s->lock, flags); in host_startup_ack()
434 spin_unlock_irqrestore(&s->lock, flags); in host_startup_ack()
451 unsigned long flags; in upload_dma_data() local
[all …]
/sound/core/seq/
Dseq_fifo.c98 unsigned long flags; in snd_seq_fifo_clear() local
104 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_clear()
109 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_clear()
118 unsigned long flags; in snd_seq_fifo_event_in() local
134 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_event_in()
141 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_event_in()
177 unsigned long flags; in snd_seq_fifo_cell_out() local
185 spin_lock_irqsave(&f->lock, flags); in snd_seq_fifo_cell_out()
189 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_cell_out()
199 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()
223 unsigned long flags; in queueptr() local
227 spin_lock_irqsave(&queue_list_lock, flags); in queueptr()
[all …]
Dseq_timer.c115 unsigned long flags; in snd_seq_timer_reset() local
117 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_reset()
126 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_reset()
135 unsigned long flags; in snd_seq_timer_interrupt() local
154 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_interrupt()
165 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_interrupt()
174 unsigned long flags; in snd_seq_timer_set_tempo() local
180 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_set_tempo()
185 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_tempo()
192 unsigned long flags; in snd_seq_timer_set_ppq() local
[all …]
Dseq_prioq.c106 if ((a->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) { in compare_timestamp()
123 if ((a->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) { in compare_timestamp_rel()
152 unsigned long flags; in snd_seq_prioq_cell_in() local
160 prior = (cell->event.flags & SNDRV_SEQ_PRIORITY_MASK); in snd_seq_prioq_cell_in()
162 spin_lock_irqsave(&f->lock, flags); in snd_seq_prioq_cell_in()
174 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_prioq_cell_in()
199 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_prioq_cell_in()
215 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_prioq_cell_in()
223 unsigned long flags; in snd_seq_prioq_cell_out() local
229 spin_lock_irqsave(&f->lock, flags); in snd_seq_prioq_cell_out()
[all …]
/sound/core/
Disadma.c45 unsigned long flags; in snd_dma_program() local
47 flags = claim_dma_lock(); in snd_dma_program()
55 release_dma_lock(flags); in snd_dma_program()
68 unsigned long flags; in snd_dma_disable() local
70 flags = claim_dma_lock(); in snd_dma_disable()
73 release_dma_lock(flags); in snd_dma_disable()
87 unsigned long flags; in snd_dma_pointer() local
90 flags = claim_dma_lock(); in snd_dma_pointer()
97 release_dma_lock(flags); in snd_dma_pointer()
Dtimer.c217 if (slave->flags & SNDRV_TIMER_IFLG_RUNNING) in snd_timer_check_master()
251 timeri->flags |= SNDRV_TIMER_IFLG_SLAVE; in snd_timer_open()
277 if (timeri->flags & SNDRV_TIMER_IFLG_EXCLUSIVE) { in snd_timer_open()
315 if (timeri->flags & SNDRV_TIMER_IFLG_SLAVE) { in snd_timer_close()
318 while (timeri->flags & SNDRV_TIMER_IFLG_CALLBACK) { in snd_timer_close()
331 while (timeri->flags & SNDRV_TIMER_IFLG_CALLBACK) { in snd_timer_close()
380 unsigned long flags; in snd_timer_notify1() local
397 if (ti->flags & SNDRV_TIMER_IFLG_SLAVE) in snd_timer_notify1()
402 if (timer->hw.flags & SNDRV_TIMER_HW_SLAVE) in snd_timer_notify1()
404 spin_lock_irqsave(&timer->lock, flags); in snd_timer_notify1()
[all …]
/sound/sh/
Daica.c74 .flags = IORESOURCE_MEM,
80 .flags = IORESOURCE_MEM,
108 unsigned long flags; in spu_memset() local
114 local_irq_save(flags); in spu_memset()
116 local_irq_restore(flags); in spu_memset()
124 unsigned long flags; in spu_memload() local
135 local_irq_save(flags); in spu_memload()
137 local_irq_restore(flags); in spu_memload()
147 unsigned long flags; in spu_disable() local
153 local_irq_save(flags); in spu_disable()
[all …]
/sound/isa/cs423x/
Dcs4236_lib.c188 unsigned long flags; in snd_cs4236_playback_format() local
191 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_playback_format()
199 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_playback_format()
206 unsigned long flags; in snd_cs4236_capture_format() local
209 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_capture_format()
217 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_capture_format()
225 unsigned long flags; in snd_cs4236_suspend() local
227 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_suspend()
234 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_suspend()
240 unsigned long flags; in snd_cs4236_resume() local
[all …]
/sound/isa/wss/
Dwss_lib.c391 unsigned long flags; in snd_wss_mce_up() local
399 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_mce_up()
407 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_mce_up()
413 unsigned long flags; in snd_wss_mce_down() local
424 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_mce_down()
428 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_mce_down()
575 unsigned long flags; in snd_wss_calibrate_mute() local
578 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_calibrate_mute()
580 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/synth/emux/
Demux_synth.c65 unsigned long flags; in snd_emux_note_on() local
93 spin_lock_irqsave(&emu->voice_lock, flags); in snd_emux_note_on()
140 spin_unlock_irqrestore(&emu->voice_lock, flags); in snd_emux_note_on()
163 unsigned long flags; in snd_emux_note_off() local
174 spin_lock_irqsave(&emu->voice_lock, flags); in snd_emux_note_off()
197 spin_unlock_irqrestore(&emu->voice_lock, flags); in snd_emux_note_off()
209 unsigned long flags; in snd_emux_timer_callback() local
212 spin_lock_irqsave(&emu->voice_lock, flags); in snd_emux_timer_callback()
230 spin_unlock_irqrestore(&emu->voice_lock, flags); in snd_emux_timer_callback()
242 unsigned long flags; in snd_emux_key_press() local
[all …]
/sound/drivers/mpu401/
Dmpu401_uart.c97 unsigned long flags; in uart_interrupt_tx() local
101 spin_lock_irqsave(&mpu->output_lock, flags); in uart_interrupt_tx()
103 spin_unlock_irqrestore(&mpu->output_lock, flags); in uart_interrupt_tx()
109 unsigned long flags; in _snd_mpu401_uart_interrupt() local
112 spin_lock_irqsave(&mpu->input_lock, flags); in _snd_mpu401_uart_interrupt()
117 spin_unlock_irqrestore(&mpu->input_lock, flags); in _snd_mpu401_uart_interrupt()
170 unsigned long flags; in snd_mpu401_uart_timer() local
172 spin_lock_irqsave(&mpu->timer_lock, flags); in snd_mpu401_uart_timer()
176 spin_unlock_irqrestore(&mpu->timer_lock, flags); in snd_mpu401_uart_timer()
186 unsigned long flags; in snd_mpu401_uart_add_timer() local
[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 …]

123456789