Lines Matching refs:stp_info
1408 static struct stp_sstpi stp_info; variable
1526 if (stp_info.todoff[0] || stp_info.todoff[1] || in stp_sync_clock()
1527 stp_info.todoff[2] || stp_info.todoff[3] || in stp_sync_clock()
1528 stp_info.tmd != 2) { in stp_sync_clock()
1534 rc = chsc_sstpi(stp_page, &stp_info, in stp_sync_clock()
1536 if (rc == 0 && stp_info.tmd != 2) in stp_sync_clock()
1571 rc = chsc_sstpi(stp_page, &stp_info, sizeof(struct stp_sstpi)); in stp_work_fn()
1572 if (rc || stp_info.c == 0) in stp_work_fn()
1610 *(unsigned long long *) stp_info.ctnid); in stp_ctn_id_show()
1621 return sprintf(buf, "%i\n", stp_info.ctn); in stp_ctn_type_show()
1630 if (!stp_online || !(stp_info.vbits & 0x2000)) in stp_dst_offset_show()
1632 return sprintf(buf, "%i\n", (int)(s16) stp_info.dsto); in stp_dst_offset_show()
1641 if (!stp_online || !(stp_info.vbits & 0x8000)) in stp_leap_seconds_show()
1643 return sprintf(buf, "%i\n", (int)(s16) stp_info.leaps); in stp_leap_seconds_show()
1654 return sprintf(buf, "%i\n", (int)(s16) stp_info.stratum); in stp_stratum_show()
1663 if (!stp_online || !(stp_info.vbits & 0x0800)) in stp_time_offset_show()
1665 return sprintf(buf, "%i\n", (int) stp_info.tto); in stp_time_offset_show()
1674 if (!stp_online || !(stp_info.vbits & 0x4000)) in stp_time_zone_offset_show()
1676 return sprintf(buf, "%i\n", (int)(s16) stp_info.tzo); in stp_time_zone_offset_show()
1688 return sprintf(buf, "%i\n", stp_info.tmd); in stp_timing_mode_show()
1699 return sprintf(buf, "%i\n", stp_info.tst); in stp_timing_state_show()