Lines Matching refs:buffer_lock
131 spinlock_t buffer_lock; member
270 spin_lock_irqsave(&ep->buffer_lock, flags); in snd_usbmidi_out_urb_complete()
277 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_out_urb_complete()
300 spin_lock_irqsave(&ep->buffer_lock, flags); in snd_usbmidi_do_output()
302 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_do_output()
328 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_do_output()
1184 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1191 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1193 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1199 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1429 spin_lock_init(&ep->buffer_lock); in snd_usbmidi_out_endpoint_create()