Lines Matching full:spinlock

128 	spinlock_t spinlock;  member
313 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
315 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
343 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
348 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
361 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
366 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
379 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
384 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
399 spin_lock_irqsave(&chip->spinlock, flags); in snd_mtpav_output_timer()
408 spin_unlock_irqrestore(&chip->spinlock, flags); in snd_mtpav_output_timer()
411 /* spinlock held! */
417 /* spinlock held! */
432 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_open()
435 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_open()
448 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_close()
451 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_close()
464 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_trigger()
476 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_trigger()
559 spin_lock(&mcard->spinlock); in snd_mtpav_irqh()
561 spin_unlock(&mcard->spinlock); in snd_mtpav_irqh()
665 spin_lock_irqsave(&crd->spinlock, flags); in snd_mtpav_free()
668 spin_unlock_irqrestore(&crd->spinlock, flags); in snd_mtpav_free()
688 spin_lock_init(&mtp_card->spinlock); in snd_mtpav_probe()