Home
last modified time | relevance | path

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

12345678910>>...14

/sound/pci/emu10k1/
Dio.c23 unsigned long flags; in snd_emu10k1_ptr_read() local
37 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
40 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
44 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
47 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
57 unsigned long flags; in snd_emu10k1_ptr_write() local
73 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
77 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
79 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
82 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_write()
[all …]
Demumpu401.c107 unsigned long flags; in snd_emu10k1_midi_cmd() local
110 spin_lock_irqsave(&midi->input_lock, flags); in snd_emu10k1_midi_cmd()
129 spin_unlock_irqrestore(&midi->input_lock, flags); in snd_emu10k1_midi_cmd()
145 unsigned long flags; in snd_emu10k1_midi_input_open() local
150 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
154 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
160 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_input_open()
172 unsigned long flags; in snd_emu10k1_midi_output_open() local
177 spin_lock_irqsave(&midi->open_lock, flags); in snd_emu10k1_midi_output_open()
181 spin_unlock_irqrestore(&midi->open_lock, flags); in snd_emu10k1_midi_output_open()
[all …]
/sound/isa/gus/
Dgus_uart.c17 unsigned long flags; in snd_gf1_interrupt_midi_in() local
21 spin_lock_irqsave(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
24 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
31 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
36 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
40 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_in()
51 unsigned long flags; in snd_gf1_interrupt_midi_out() local
57 spin_lock_irqsave(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_out()
65 spin_unlock_irqrestore(&gus->uart_cmd_lock, flags); in snd_gf1_interrupt_midi_out()
79 unsigned long flags; in snd_gf1_uart_output_open() local
[all …]
Dgus_reset.c88 unsigned long flags; in snd_gf1_clear_regs() local
90 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_clear_regs()
95 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_clear_regs()
100 unsigned long flags; in snd_gf1_look_regs() local
102 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_look_regs()
107 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_look_regs()
116 unsigned long flags; in snd_gf1_smart_stop_voice() local
118 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_smart_stop_voice()
125 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_smart_stop_voice()
130 unsigned long flags; in snd_gf1_stop_voice() local
[all …]
Dgus_io.c180 unsigned long flags; in snd_gf1_i_ctrl_stop() local
182 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_i_ctrl_stop()
184 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_i_ctrl_stop()
191 unsigned long flags; in snd_gf1_i_write8() local
193 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_i_write8()
195 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_i_write8()
200 unsigned long flags; in snd_gf1_i_look8() local
203 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_i_look8()
205 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_i_look8()
213 unsigned long flags; in snd_gf1_i_write16() local
[all …]
Dgus_timer.c19 unsigned long flags; in snd_gf1_timer1_start() local
25 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_timer1_start()
31 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_timer1_start()
37 unsigned long flags; in snd_gf1_timer1_stop() local
42 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_timer1_stop()
45 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_timer1_stop()
55 unsigned long flags; in snd_gf1_timer2_start() local
61 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_timer2_start()
67 spin_unlock_irqrestore(&gus->reg_lock, flags); in snd_gf1_timer2_start()
73 unsigned long flags; in snd_gf1_timer2_stop() local
[all …]
/sound/isa/sb/
Dsb8_midi.c52 unsigned long flags; in snd_sb8dsp_midi_input_open() local
59 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
61 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
67 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
72 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_input_open()
79 unsigned long flags; in snd_sb8dsp_midi_output_open() local
86 spin_lock_irqsave(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
88 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
94 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
99 spin_unlock_irqrestore(&chip->open_lock, flags); in snd_sb8dsp_midi_output_open()
[all …]
Dsb_mixer.c59 unsigned long flags; in snd_sbmixer_get_single() local
65 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_get_single()
67 spin_unlock_irqrestore(&sb->mixer_lock, flags); in snd_sbmixer_get_single()
75 unsigned long flags; in snd_sbmixer_put_single() local
83 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_put_single()
89 spin_unlock_irqrestore(&sb->mixer_lock, flags); in snd_sbmixer_put_single()
111 unsigned long flags; in snd_sbmixer_get_double() local
119 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_get_double()
122 spin_unlock_irqrestore(&sb->mixer_lock, flags); in snd_sbmixer_get_double()
131 unsigned long flags; in snd_sbmixer_put_double() local
[all …]
/sound/isa/wavefront/
Dwavefront_midi.c116 unsigned long flags; in snd_wavefront_midi_output_write() local
145 spin_lock_irqsave (&midi->virtual, flags); in snd_wavefront_midi_output_write()
147 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
163 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
167 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()
188 spin_lock_irqsave (&midi->virtual, flags); in snd_wavefront_midi_output_write()
194 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
218 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
222 spin_unlock_irqrestore (&midi->virtual, flags); in snd_wavefront_midi_output_write()
[all …]
/sound/core/seq/
Dseq_timer.c78 unsigned long flags; in snd_seq_timer_defaults() local
80 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_defaults()
96 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_defaults()
111 unsigned long flags; in snd_seq_timer_reset() local
113 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_reset()
115 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_reset()
124 unsigned long flags; in snd_seq_timer_interrupt() local
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()
[all …]
Dseq_queue.c53 unsigned long flags; in queue_list_add() local
55 spin_lock_irqsave(&queue_list_lock, flags); in queue_list_add()
61 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_add()
65 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_add()
72 unsigned long flags; in queue_list_remove() local
74 spin_lock_irqsave(&queue_list_lock, flags); in queue_list_remove()
84 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_remove()
89 spin_unlock_irqrestore(&queue_list_lock, flags); in queue_list_remove()
206 unsigned long flags; in queueptr() local
210 spin_lock_irqsave(&queue_list_lock, flags); in queueptr()
[all …]
Dseq_fifo.c105 unsigned long flags; in snd_seq_fifo_event_in() local
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()
165 unsigned long flags; in snd_seq_fifo_cell_out() local
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()
191 spin_unlock_irqrestore(&f->lock, flags); in snd_seq_fifo_cell_out()
[all …]
/sound/pci/ca0106/
Dca_midi.c77 unsigned long flags; in ca_midi_cmd() local
80 spin_lock_irqsave(&midi->input_lock, flags); in ca_midi_cmd()
99 spin_unlock_irqrestore(&midi->input_lock, flags); in ca_midi_cmd()
111 unsigned long flags; in ca_midi_input_open() local
115 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_input_open()
119 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_open()
123 spin_unlock_irqrestore(&midi->open_lock, flags); in ca_midi_input_open()
131 unsigned long flags; in ca_midi_output_open() local
135 spin_lock_irqsave(&midi->open_lock, flags); in ca_midi_output_open()
139 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/pci/ice1712/
Dwm8776.c76 if (wm->ctl[i].flags & flags_off) in snd_wm8776_update_agc_ctl()
78 else if (wm->ctl[i].flags & flags_on) in snd_wm8776_update_agc_ctl()
142 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_VOL_UPDATE,
151 .flags = WM8776_FLAG_STEREO,
169 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_VOL_UPDATE,
176 .flags = WM8776_FLAG_INVERT,
185 .flags = WM8776_FLAG_STEREO,
212 .flags = WM8776_FLAG_STEREO,
229 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_VOL_UPDATE,
238 .flags = WM8776_FLAG_STEREO | WM8776_FLAG_INVERT,
[all …]
/sound/core/
Dtimer.c222 if (slave->flags & SNDRV_TIMER_IFLG_RUNNING) in snd_timer_check_master()
269 timeri->flags |= SNDRV_TIMER_IFLG_SLAVE; in snd_timer_open()
298 if (t->flags & SNDRV_TIMER_IFLG_EXCLUSIVE) { in snd_timer_open()
362 timeri->flags |= SNDRV_TIMER_IFLG_DEAD; in snd_timer_close_locked()
367 if (timeri->flags & SNDRV_TIMER_IFLG_SLAVE) in snd_timer_close_locked()
377 while (timeri->flags & SNDRV_TIMER_IFLG_CALLBACK) { in snd_timer_close_locked()
400 if (timeri->flags & SNDRV_TIMER_IFLG_SLAVE) in snd_timer_close_locked()
454 unsigned long flags; in snd_timer_resolution() local
460 spin_lock_irqsave(&timer->lock, flags); in snd_timer_resolution()
462 spin_unlock_irqrestore(&timer->lock, flags); in snd_timer_resolution()
[all …]
Disadma.c31 unsigned long flags; in snd_dma_program() local
33 flags = claim_dma_lock(); in snd_dma_program()
41 release_dma_lock(flags); in snd_dma_program()
53 unsigned long flags; in snd_dma_disable() local
55 flags = claim_dma_lock(); in snd_dma_disable()
58 release_dma_lock(flags); in snd_dma_disable()
71 unsigned long flags; in snd_dma_pointer() local
74 flags = claim_dma_lock(); in snd_dma_pointer()
87 release_dma_lock(flags); in snd_dma_pointer()
/sound/firewire/motu/
Dmotu-protocol-v3.c158 enum snd_motu_spec_flags flags, in calculate_fixed_part() argument
167 if (flags & SND_MOTU_SPEC_SUPPORT_CLOCK_X4) in calculate_fixed_part()
171 if (flags & SND_MOTU_SPEC_TX_MICINST_CHUNK) { in calculate_fixed_part()
174 if (flags & SND_MOTU_SPEC_SUPPORT_CLOCK_X4) in calculate_fixed_part()
178 if (flags & SND_MOTU_SPEC_TX_RETURN_CHUNK) { in calculate_fixed_part()
181 if (flags & SND_MOTU_SPEC_SUPPORT_CLOCK_X4) in calculate_fixed_part()
185 if (flags & SND_MOTU_SPEC_TX_REVERB_CHUNK) { in calculate_fixed_part()
190 if (flags & SND_MOTU_SPEC_RX_SEPARETED_MAIN) { in calculate_fixed_part()
201 if (flags & SND_MOTU_SPEC_HAS_AESEBU_IFACE) { in calculate_fixed_part()
219 if (flags & SND_MOTU_SPEC_SUPPORT_CLOCK_X4) in calculate_fixed_part()
[all …]
/sound/sh/
Daica.c56 .flags = IORESOURCE_MEM,
62 .flags = IORESOURCE_MEM,
90 unsigned long flags; in spu_memset() local
96 local_irq_save(flags); in spu_memset()
98 local_irq_restore(flags); in spu_memset()
106 unsigned long flags; in spu_memload() local
117 local_irq_save(flags); in spu_memload()
119 local_irq_restore(flags); in spu_memload()
129 unsigned long flags; in spu_disable() local
135 local_irq_save(flags); in spu_disable()
[all …]
/sound/isa/ad1816a/
Dad1816a_lib.c99 unsigned long flags; in snd_ad1816a_open() local
101 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()
135 unsigned long flags; in snd_ad1816a_close() local
137 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_close()
161 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_close()
223 unsigned long flags; in snd_ad1816a_playback_prepare() local
227 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_playback_prepare()
248 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_playback_prepare()
[all …]
/sound/pci/ctxfi/
Dcttimer.c71 unsigned long flags; in ct_systimer_callback() local
85 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_callback()
88 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_callback()
99 unsigned long flags; in ct_systimer_start() local
101 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_start()
106 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_start()
111 unsigned long flags; in ct_systimer_stop() local
113 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_stop()
116 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_stop()
232 unsigned long flags; in ct_xfitimer_check_period() local
[all …]
/sound/isa/wss/
Dwss_lib.c362 unsigned long flags; in snd_wss_mce_up() local
371 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_mce_up()
381 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_mce_up()
387 unsigned long flags; in snd_wss_mce_down() local
400 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_mce_down()
404 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_mce_down()
553 unsigned long flags; in snd_wss_calibrate_mute() local
556 spin_lock_irqsave(&chip->reg_lock, flags); in snd_wss_calibrate_mute()
558 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_calibrate_mute()
608 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_wss_calibrate_mute()
[all …]
/sound/isa/cs423x/
Dcs4236_lib.c172 unsigned long flags; in snd_cs4236_playback_format() local
175 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_playback_format()
183 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_playback_format()
190 unsigned long flags; in snd_cs4236_capture_format() local
193 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_capture_format()
201 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_capture_format()
209 unsigned long flags; in snd_cs4236_suspend() local
211 spin_lock_irqsave(&chip->reg_lock, flags); in snd_cs4236_suspend()
218 spin_unlock_irqrestore(&chip->reg_lock, flags); in snd_cs4236_suspend()
224 unsigned long flags; in snd_cs4236_resume() local
[all …]
/sound/usb/6fire/
Dmidi.c26 unsigned long flags; in usb6fire_midi_out_handler() local
28 spin_lock_irqsave(&rt->out_lock, flags); in usb6fire_midi_out_handler()
46 spin_unlock_irqrestore(&rt->out_lock, flags); in usb6fire_midi_out_handler()
52 unsigned long flags; in usb6fire_midi_in_received() local
54 spin_lock_irqsave(&rt->in_lock, flags); in usb6fire_midi_in_received()
57 spin_unlock_irqrestore(&rt->in_lock, flags); in usb6fire_midi_in_received()
76 unsigned long flags; in usb6fire_midi_out_trigger() local
78 spin_lock_irqsave(&rt->out_lock, flags); in usb6fire_midi_out_trigger()
81 spin_unlock_irqrestore(&rt->out_lock, flags); in usb6fire_midi_out_trigger()
102 spin_unlock_irqrestore(&rt->out_lock, flags); in usb6fire_midi_out_trigger()
[all …]
/sound/synth/emux/
Demux_synth.c52 unsigned long flags; in snd_emux_note_on() local
80 spin_lock_irqsave(&emu->voice_lock, flags); in snd_emux_note_on()
127 spin_unlock_irqrestore(&emu->voice_lock, flags); in snd_emux_note_on()
150 unsigned long flags; in snd_emux_note_off() local
161 spin_lock_irqsave(&emu->voice_lock, flags); in snd_emux_note_off()
183 spin_unlock_irqrestore(&emu->voice_lock, flags); in snd_emux_note_off()
195 unsigned long flags; in snd_emux_timer_callback() local
198 spin_lock_irqsave(&emu->voice_lock, flags); in snd_emux_timer_callback()
215 spin_unlock_irqrestore(&emu->voice_lock, flags); in snd_emux_timer_callback()
227 unsigned long flags; in snd_emux_key_press() local
[all …]

12345678910>>...14