Lines Matching refs:timeset
199 * @valid: Whether this timeset is valid
281 * @timeset: Last set of synchronisation statistics.
346 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM];
891 /* Read a timeset from the MC's results and partial process. */
893 struct efx_ptp_timeset *timeset)
897 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART);
898 timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR);
899 timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR);
900 timeset->host_end = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTEND),
901 timeset->wait = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_WAITNS);
904 start_ns = timeset->host_start & MC_NANOSECOND_MASK;
905 end_ns = timeset->host_end & MC_NANOSECOND_MASK;
910 timeset->window = end_ns - start_ns;
954 &ptp->timeset[i]);
957 ptp->nic_to_kernel_time(0, ptp->timeset[i].wait, 0));
958 window = ptp->timeset[i].window;
994 start_sec = ptp->timeset[last_good].host_start >> MC_NANOSECOND_BITS;
1005 (ptp->timeset[last_good].host_start & MC_NANOSECOND_MASK);
1011 mc_time = ptp->nic_to_kernel_time(ptp->timeset[last_good].major,
1012 ptp->timeset[last_good].minor, 0);