Lines Matching refs:timeset
190 * @valid: Whether this timeset is valid
284 * @timeset: Last set of synchronisation statistics.
344 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM];
872 /* Read a timeset from the MC's results and partial process. */
874 struct efx_ptp_timeset *timeset)
878 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART);
879 timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR);
880 timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR);
881 timeset->host_end = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTEND),
882 timeset->wait = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_WAITNS);
885 start_ns = timeset->host_start & MC_NANOSECOND_MASK;
886 end_ns = timeset->host_end & MC_NANOSECOND_MASK;
891 timeset->window = end_ns - start_ns;
935 &ptp->timeset[i]);
938 ptp->nic_to_kernel_time(0, ptp->timeset[i].wait, 0));
939 window = ptp->timeset[i].window;
975 start_sec = ptp->timeset[last_good].host_start >> MC_NANOSECOND_BITS;
986 (ptp->timeset[last_good].host_start & MC_NANOSECOND_MASK);
992 mc_time = ptp->nic_to_kernel_time(ptp->timeset[last_good].major,
993 ptp->timeset[last_good].minor, 0);