Lines Matching refs:buffers_lock

96 	spinlock_t buffers_lock; /* protect these two lists */  member
506 spin_lock_init(&ep->buffers_lock); in endpoint_alloc()
658 spin_lock_irqsave(&ep->buffers_lock, flags); in bulk_in_completer()
661 spin_unlock_irqrestore(&ep->buffers_lock, flags); in bulk_in_completer()
668 spin_lock_irqsave(&ep->buffers_lock, flags); in bulk_in_completer()
670 spin_unlock_irqrestore(&ep->buffers_lock, flags); in bulk_in_completer()
688 spin_lock_irqsave(&ep->buffers_lock, flags); in bulk_out_completer()
691 spin_unlock_irqrestore(&ep->buffers_lock, flags); in bulk_out_completer()
713 spin_lock_irqsave(&ep->buffers_lock, flags); in try_queue_bulk_in()
716 spin_unlock_irqrestore(&ep->buffers_lock, flags); in try_queue_bulk_in()
724 spin_unlock_irqrestore(&ep->buffers_lock, flags); in try_queue_bulk_in()
754 spin_lock_irqsave(&ep->buffers_lock, flags); in try_queue_bulk_in()
757 spin_unlock_irqrestore(&ep->buffers_lock, flags); in try_queue_bulk_in()
786 spin_lock_irqsave(&ep->buffers_lock, flags); in try_queue_bulk_out()
803 spin_unlock_irqrestore(&ep->buffers_lock, flags); in try_queue_bulk_out()
811 spin_unlock_irqrestore(&ep->buffers_lock, flags); in try_queue_bulk_out()
819 spin_unlock_irqrestore(&ep->buffers_lock, flags); in try_queue_bulk_out()
861 spin_lock_irqsave(&ep->buffers_lock, flags); in try_queue_bulk_out()
864 spin_unlock_irqrestore(&ep->buffers_lock, flags); in try_queue_bulk_out()
1036 spin_lock_irqsave(&ep->buffers_lock, flags); in bulk_in_work()
1040 spin_unlock_irqrestore(&ep->buffers_lock, flags); in bulk_in_work()
1055 spin_unlock_irqrestore(&ep->buffers_lock, flags); in bulk_in_work()
1062 spin_lock_irqsave(&ep->buffers_lock, flags); in bulk_in_work()