Lines Matching refs:err_lock

134 	spinlock_t     err_lock; /* lock for errors */  member
179 spin_lock_init(&file_data->err_lock); in usbtmc_open()
232 spin_lock_irq(&file_data->err_lock); in usbtmc_flush()
238 spin_unlock_irq(&file_data->err_lock); in usbtmc_flush()
755 spin_lock_irqsave(&file_data->err_lock, flags); in usbtmc_read_bulk_cb()
758 spin_unlock_irqrestore(&file_data->err_lock, flags); in usbtmc_read_bulk_cb()
761 spin_lock_irqsave(&file_data->err_lock, flags); in usbtmc_read_bulk_cb()
767 spin_unlock_irqrestore(&file_data->err_lock, flags); in usbtmc_read_bulk_cb()
778 spin_lock_irq(&file_data->err_lock); in usbtmc_do_transfer()
781 spin_unlock_irq(&file_data->err_lock); in usbtmc_do_transfer()
828 spin_lock_irq(&file_data->err_lock); in usbtmc_generic_read()
833 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_read()
864 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_read()
970 spin_lock_irq(&file_data->err_lock); in usbtmc_generic_read()
974 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_read()
978 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_read()
1046 spin_lock_irqsave(&file_data->err_lock, flags); in usbtmc_write_bulk_cb()
1063 spin_unlock_irqrestore(&file_data->err_lock, flags); in usbtmc_write_bulk_cb()
1100 spin_lock_irq(&file_data->err_lock); in usbtmc_generic_write()
1102 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_write()
1106 spin_lock_irq(&file_data->err_lock); in usbtmc_generic_write()
1109 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_write()
1137 spin_lock_irq(&file_data->err_lock); in usbtmc_generic_write()
1139 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_write()
1214 spin_lock_irq(&file_data->err_lock); in usbtmc_generic_write()
1219 spin_unlock_irq(&file_data->err_lock); in usbtmc_generic_write()
1260 spin_lock_irq(&file_data->err_lock); in usbtmc_ioctl_write_result()
1263 spin_unlock_irq(&file_data->err_lock); in usbtmc_ioctl_write_result()
1503 spin_lock_irq(&file_data->err_lock); in usbtmc_write()
1506 spin_unlock_irq(&file_data->err_lock); in usbtmc_write()
1758 spin_lock_irq(&file_data->err_lock); in usbtmc_ioctl_cancel_io()
1761 spin_unlock_irq(&file_data->err_lock); in usbtmc_ioctl_cancel_io()
1770 spin_lock_irq(&file_data->err_lock); in usbtmc_ioctl_cleanup_io()
1775 spin_unlock_irq(&file_data->err_lock); in usbtmc_ioctl_cleanup_io()
2200 spin_lock_irq(&file_data->err_lock); in usbtmc_poll()
2203 spin_unlock_irq(&file_data->err_lock); in usbtmc_poll()