Lines Matching refs:systim
164 u64 systim) in igb_ptp_systim_to_hwtstamp() argument
177 ns = timecounter_cyc2time(&adapter->tc, systim); in igb_ptp_systim_to_hwtstamp()
185 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igb_ptp_systim_to_hwtstamp()
186 systim & 0xFFFFFFFF); in igb_ptp_systim_to_hwtstamp()
499 u64 systim, now; in igb_ptp_feature_enable_82580() local
587 systim = (((u64)(systimh & 0xFF)) << 32) | ((u64)systiml); in igb_ptp_feature_enable_82580()
588 now = timecounter_cyc2time(&igb->tc, systim); in igb_ptp_feature_enable_82580()
599 systim = systim + (ns - rem); in igb_ptp_feature_enable_82580()
607 systim += ns; in igb_ptp_feature_enable_82580()
613 systim += ns; in igb_ptp_feature_enable_82580()
617 start = ns_to_timespec64(systim + (ns - rem)); in igb_ptp_feature_enable_82580()
624 wr32(trgttiml, (u32)systim); in igb_ptp_feature_enable_82580()
625 wr32(trgttimh, ((u32)(systim >> 32)) & 0xFF); in igb_ptp_feature_enable_82580()