Lines Matching refs:spinlock

127 	spinlock_t spinlock;  member
308 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
310 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
338 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
343 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
356 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
361 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
374 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
379 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
394 spin_lock_irqsave(&chip->spinlock, flags); in snd_mtpav_output_timer()
403 spin_unlock_irqrestore(&chip->spinlock, flags); in snd_mtpav_output_timer()
427 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_open()
430 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_open()
443 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_close()
446 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_close()
459 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_trigger()
471 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_trigger()
552 spin_lock(&mcard->spinlock); in snd_mtpav_irqh()
554 spin_unlock(&mcard->spinlock); in snd_mtpav_irqh()
662 spin_lock_irqsave(&crd->spinlock, flags); in snd_mtpav_free()
665 spin_unlock_irqrestore(&crd->spinlock, flags); in snd_mtpav_free()
682 spin_lock_init(&mtp_card->spinlock); in snd_mtpav_probe()