Lines Matching refs:stp_info

1430 static struct stp_sstpi stp_info;  variable
1548 if (stp_info.todoff[0] || stp_info.todoff[1] || in stp_sync_clock()
1549 stp_info.todoff[2] || stp_info.todoff[3] || in stp_sync_clock()
1550 stp_info.tmd != 2) { in stp_sync_clock()
1556 rc = chsc_sstpi(stp_page, &stp_info, in stp_sync_clock()
1558 if (rc == 0 && stp_info.tmd != 2) in stp_sync_clock()
1593 rc = chsc_sstpi(stp_page, &stp_info, sizeof(struct stp_sstpi)); in stp_work_fn()
1594 if (rc || stp_info.c == 0) in stp_work_fn()
1633 *(unsigned long long *) stp_info.ctnid); in stp_ctn_id_show()
1644 return sprintf(buf, "%i\n", stp_info.ctn); in stp_ctn_type_show()
1653 if (!stp_online || !(stp_info.vbits & 0x2000)) in stp_dst_offset_show()
1655 return sprintf(buf, "%i\n", (int)(s16) stp_info.dsto); in stp_dst_offset_show()
1664 if (!stp_online || !(stp_info.vbits & 0x8000)) in stp_leap_seconds_show()
1666 return sprintf(buf, "%i\n", (int)(s16) stp_info.leaps); in stp_leap_seconds_show()
1677 return sprintf(buf, "%i\n", (int)(s16) stp_info.stratum); in stp_stratum_show()
1686 if (!stp_online || !(stp_info.vbits & 0x0800)) in stp_time_offset_show()
1688 return sprintf(buf, "%i\n", (int) stp_info.tto); in stp_time_offset_show()
1697 if (!stp_online || !(stp_info.vbits & 0x4000)) in stp_time_zone_offset_show()
1699 return sprintf(buf, "%i\n", (int)(s16) stp_info.tzo); in stp_time_zone_offset_show()
1711 return sprintf(buf, "%i\n", stp_info.tmd); in stp_timing_mode_show()
1722 return sprintf(buf, "%i\n", stp_info.tst); in stp_timing_state_show()