Lines Matching refs:device_lock
200 spinlock_t device_lock; member
532 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_usb_receive()
534 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_usb_receive()
537 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_usb_receive()
705 spin_lock_irq(&kaweth->device_lock); in kaweth_start_xmit()
717 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit()
750 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit()
833 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_suspend()
835 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_suspend()
849 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_resume()
851 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_resume()
910 spin_lock_init(&kaweth->device_lock); in kaweth_probe()