Lines Matching refs:clock_sync_flags
273 static unsigned long clock_sync_flags; variable
299 if (!test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags)) in get_phys_clock()
301 if (!test_bit(CLOCK_SYNC_STP, &clock_sync_flags)) in get_phys_clock()
423 set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags); in stp_reset()
433 return test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags) && stp_online; in stp_enabled()
444 if (!test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags)) in stp_init()
504 clear_bit(CLOCK_SYNC_STPINFO_VALID, &clock_sync_flags); in __store_stpinfo()
506 set_bit(CLOCK_SYNC_STPINFO_VALID, &clock_sync_flags); in __store_stpinfo()
512 return stp_online && test_bit(CLOCK_SYNC_STPINFO_VALID, &clock_sync_flags); in stpinfo_valid()
793 if (!test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags)) in online_store()
798 set_bit(CLOCK_SYNC_STP, &clock_sync_flags); in online_store()
800 clear_bit(CLOCK_SYNC_STP, &clock_sync_flags); in online_store()