Lines Matching refs:timeset
200 * @valid: Whether this timeset is valid
282 * @timeset: Last set of synchronisation statistics.
347 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM];
898 /* Read a timeset from the MC's results and partial process. */
900 struct efx_ptp_timeset *timeset)
904 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART);
905 timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR);
906 timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR);
907 timeset->host_end = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTEND),
908 timeset->wait = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_WAITNS);
911 start_ns = timeset->host_start & MC_NANOSECOND_MASK;
912 end_ns = timeset->host_end & MC_NANOSECOND_MASK;
917 timeset->window = end_ns - start_ns;
961 &ptp->timeset[i]);
964 ptp->nic_to_kernel_time(0, ptp->timeset[i].wait, 0));
965 window = ptp->timeset[i].window;
1001 start_sec = ptp->timeset[last_good].host_start >> MC_NANOSECOND_BITS;
1012 (ptp->timeset[last_good].host_start & MC_NANOSECOND_MASK);
1018 mc_time = ptp->nic_to_kernel_time(ptp->timeset[last_good].major,
1019 ptp->timeset[last_good].minor, 0);