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()
1183 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1190 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1192 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1197 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain()
1427 spin_lock_init(&ep->buffer_lock); in snd_usbmidi_out_endpoint_create()