Lines Matching defs:sts
99 struct ptp_system_timestamp *sts,
138 if (sts) {
139 ptp_read_system_prets(sts);
140 if (sts->pre_sts.cs_id == st->cs_id) {
141 cycle = sts->pre_sts.cycles;
142 sts->post_sts = sts->pre_sts;
143 } else if (sts->pre_sts.hw_csid == st->cs_id &&
144 sts->pre_sts.hw_cycles) {
145 cycle = sts->pre_sts.hw_cycles;
146 sts->post_sts = sts->pre_sts;
149 ptp_read_system_postts(sts);
194 struct ptp_system_timestamp *sts,
207 ret = vmclock_get_crosststamp(st, sts, system_counter, tspec);
304 struct ptp_system_timestamp *sts)
309 return vmclock_get_crosststamp(st, sts, NULL, ts);