Lines Matching refs:clock_sync_flags
294 static unsigned long clock_sync_flags; variable
320 if (!test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags)) in get_phys_clock()
322 if (!test_bit(CLOCK_SYNC_STP, &clock_sync_flags)) in get_phys_clock()
462 set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags); in stp_reset()
473 return test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags) && stp_online; in stp_enabled()
484 if (!test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags)) in stp_init()
544 clear_bit(CLOCK_SYNC_STPINFO_VALID, &clock_sync_flags); in __store_stpinfo()
546 set_bit(CLOCK_SYNC_STPINFO_VALID, &clock_sync_flags); in __store_stpinfo()
552 return stp_online && test_bit(CLOCK_SYNC_STPINFO_VALID, &clock_sync_flags); in stpinfo_valid()
910 if (!test_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags)) in online_store()
915 set_bit(CLOCK_SYNC_STP, &clock_sync_flags); in online_store()
917 clear_bit(CLOCK_SYNC_STP, &clock_sync_flags); in online_store()