Lines Matching refs:tc_lock
334 spinlock_t tc_lock; /* spinlock to guard access tc->cycle_last */ member
420 static u64 gs_usb_timestamp_read(const struct cyclecounter *cc) __must_hold(&dev->tc_lock) in gs_usb_timestamp_read()
426 lockdep_assert_held(&parent->tc_lock); in gs_usb_timestamp_read()
429 spin_unlock_bh(&parent->tc_lock); in gs_usb_timestamp_read()
431 spin_lock_bh(&parent->tc_lock); in gs_usb_timestamp_read()
446 spin_lock_bh(&parent->tc_lock); in gs_usb_timestamp_work()
448 spin_unlock_bh(&parent->tc_lock); in gs_usb_timestamp_work()
461 spin_lock_bh(&parent->tc_lock); in gs_usb_skb_set_timestamp()
463 spin_unlock_bh(&parent->tc_lock); in gs_usb_skb_set_timestamp()
477 spin_lock_init(&parent->tc_lock); in gs_usb_timestamp_init()
478 spin_lock_bh(&parent->tc_lock); in gs_usb_timestamp_init()
480 spin_unlock_bh(&parent->tc_lock); in gs_usb_timestamp_init()