Lines Matching refs:stp_info

1437 static struct stp_sstpi stp_info;  variable
1559 if (stp_info.todoff[0] || stp_info.todoff[1] || in stp_sync_clock()
1560 stp_info.todoff[2] || stp_info.todoff[3] || in stp_sync_clock()
1561 stp_info.tmd != 2) { in stp_sync_clock()
1571 rc = chsc_sstpi(stp_page, &stp_info, in stp_sync_clock()
1573 if (rc == 0 && stp_info.tmd != 2) in stp_sync_clock()
1608 rc = chsc_sstpi(stp_page, &stp_info, sizeof(struct stp_sstpi)); in stp_work_fn()
1609 if (rc || stp_info.c == 0) in stp_work_fn()
1648 *(unsigned long long *) stp_info.ctnid); in stp_ctn_id_show()
1659 return sprintf(buf, "%i\n", stp_info.ctn); in stp_ctn_type_show()
1668 if (!stp_online || !(stp_info.vbits & 0x2000)) in stp_dst_offset_show()
1670 return sprintf(buf, "%i\n", (int)(s16) stp_info.dsto); in stp_dst_offset_show()
1679 if (!stp_online || !(stp_info.vbits & 0x8000)) in stp_leap_seconds_show()
1681 return sprintf(buf, "%i\n", (int)(s16) stp_info.leaps); in stp_leap_seconds_show()
1692 return sprintf(buf, "%i\n", (int)(s16) stp_info.stratum); in stp_stratum_show()
1701 if (!stp_online || !(stp_info.vbits & 0x0800)) in stp_time_offset_show()
1703 return sprintf(buf, "%i\n", (int) stp_info.tto); in stp_time_offset_show()
1712 if (!stp_online || !(stp_info.vbits & 0x4000)) in stp_time_zone_offset_show()
1714 return sprintf(buf, "%i\n", (int)(s16) stp_info.tzo); in stp_time_zone_offset_show()
1726 return sprintf(buf, "%i\n", stp_info.tmd); in stp_timing_mode_show()
1737 return sprintf(buf, "%i\n", stp_info.tst); in stp_timing_state_show()