Lines Matching refs:dev_lock
112 spinlock_t dev_lock; /* lock for file_list */ member
201 spin_lock_irq(&data->dev_lock); in usbtmc_open()
203 spin_unlock_irq(&data->dev_lock); in usbtmc_open()
252 spin_lock_irq(&file_data->data->dev_lock); in usbtmc_release()
256 spin_unlock_irq(&file_data->data->dev_lock); in usbtmc_release()
583 spin_lock_irq(&data->dev_lock); in usbtmc_ioctl_get_srq_stb()
588 spin_unlock_irq(&data->dev_lock); in usbtmc_ioctl_get_srq_stb()
591 spin_unlock_irq(&data->dev_lock); in usbtmc_ioctl_get_srq_stb()
2302 spin_lock_irqsave(&data->dev_lock, flags); in usbtmc_interrupt()
2312 spin_unlock_irqrestore(&data->dev_lock, flags); in usbtmc_interrupt()
2373 spin_lock_init(&data->dev_lock); in usbtmc_probe()