Lines Matching refs:device_lock
216 spinlock_t device_lock; member
631 spin_lock(&kaweth->device_lock); in kaweth_usb_receive()
633 spin_unlock(&kaweth->device_lock); in kaweth_usb_receive()
636 spin_unlock(&kaweth->device_lock); in kaweth_usb_receive()
806 spin_lock_irq(&kaweth->device_lock); in kaweth_start_xmit()
824 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit()
857 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit()
955 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_suspend()
957 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_suspend()
972 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_resume()
974 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_resume()
1033 spin_lock_init(&kaweth->device_lock); in kaweth_probe()