Lines Matching refs:flags
93 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()
179 unsigned long flags; in snd_seq_timer_set_tempo() local
185 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_set_tempo()
190 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_tempo()
197 unsigned long flags; in snd_seq_timer_set_ppq() local
203 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_set_ppq()
207 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_ppq()
214 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_ppq()
222 unsigned long flags; in snd_seq_timer_set_position_tick() local
227 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_set_position_tick()
230 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_position_tick()
238 unsigned long flags; in snd_seq_timer_set_position_time() local
244 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_set_position_time()
246 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_position_time()
254 unsigned long flags; in snd_seq_timer_set_skew() local
264 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_set_skew()
266 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_set_skew()
306 t->flags |= SNDRV_TIMER_IFLG_AUTO; in snd_seq_timer_open()
343 unsigned long flags; in snd_seq_timer_stop() local
346 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_stop()
348 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_stop()
370 if (!(t->hw.flags & SNDRV_TIMER_HW_SLAVE)) { in initialize_timer()
401 unsigned long flags; in snd_seq_timer_start() local
404 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_start()
406 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_start()
429 unsigned long flags; in snd_seq_timer_continue() local
432 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_continue()
434 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_continue()
442 unsigned long flags; in snd_seq_timer_get_cur_time() local
444 spin_lock_irqsave(&tmr->lock, flags); in snd_seq_timer_get_cur_time()
460 spin_unlock_irqrestore(&tmr->lock, flags); in snd_seq_timer_get_cur_time()