Lines Matching refs:stp_info

444 static struct stp_sstpi stp_info;  variable
540 int rc = chsc_sstpi(stp_page, &stp_info, sizeof(struct stp_sstpi)); in __store_stpinfo()
567 if (stp_info.todoff[0] || stp_info.todoff[1] || in stp_sync_clock()
568 stp_info.todoff[2] || stp_info.todoff[3] || in stp_sync_clock()
569 stp_info.tmd != 2) { in stp_sync_clock()
577 if (rc == 0 && stp_info.tmd != 2) in stp_sync_clock()
624 if (!stp_info.lu || !check_sync_clock()) { in stp_check_leap()
698 if (rc || stp_info.c == 0) in stp_work_fn()
716 else if (stp_info.lu) in stp_work_fn()
740 *(unsigned long long *) stp_info.ctnid); in ctn_id_show()
755 ret = sprintf(buf, "%i\n", stp_info.ctn); in ctn_type_show()
769 if (stpinfo_valid() && (stp_info.vbits & 0x2000)) in dst_offset_show()
770 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.dsto); in dst_offset_show()
784 if (stpinfo_valid() && (stp_info.vbits & 0x8000)) in leap_seconds_show()
785 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.leaps); in leap_seconds_show()
800 if (!stpinfo_valid() || !(stp_info.vbits & 0x8000) || !stp_info.lu) { in leap_seconds_scheduled_show()
828 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.stratum); in stratum_show()
842 if (stpinfo_valid() && (stp_info.vbits & 0x0800)) in time_offset_show()
843 ret = sprintf(buf, "%i\n", (int) stp_info.tto); in time_offset_show()
857 if (stpinfo_valid() && (stp_info.vbits & 0x4000)) in time_zone_offset_show()
858 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.tzo); in time_zone_offset_show()
873 ret = sprintf(buf, "%i\n", stp_info.tmd); in timing_mode_show()
888 ret = sprintf(buf, "%i\n", stp_info.tst); in timing_state_show()