Lines Matching refs:buffer_lock
144 spinlock_t buffer_lock; member
280 spin_lock(&ep->buffer_lock); in snd_usbmidi_out_urb_complete()
287 spin_unlock(&ep->buffer_lock); in snd_usbmidi_out_urb_complete()
310 spin_lock_irqsave(&ep->buffer_lock, flags); in snd_usbmidi_do_output()
312 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_do_output()
338 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_do_output()
1110 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1117 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1119 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1124 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1336 spin_lock_init(&ep->buffer_lock); in snd_usbmidi_out_endpoint_create()