Home
last modified time | relevance | path

Searched refs:systim (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c460 ktime_t base_time, systim; in igc_tsn_enable_offload() local
634 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload()
635 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload()
636 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
653 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload()
656 expires_time = ktime_sub_ns(adjust_time, systim); in igc_tsn_enable_offload()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c504 * @systim: unsigned 64bit system time value.
516 u64 systim) in e1000e_systim_to_hwtstamp()
522 ns = timecounter_cyc2time(&adapter->tc, systim);
3962 /* reset the systim ns time counter */ in e1000e_systim_reset()
4164 /* restore systim and hwtstamp settings */ in e1000e_reset()
4370 * @systim: PHC time value read, sanitized and returned
4378 static u64 e1000e_sanitize_systim(struct e1000_hw *hw, u64 systim, in e1000e_sanitize_systim()
4394 time_delta = systim_next - systim; in e1000e_sanitize_systim()
4399 systim = systim_next; in e1000e_sanitize_systim()
4405 return systim;
509 e1000e_systim_to_hwtstamp(struct e1000_adapter * adapter,struct skb_shared_hwtstamps * hwtstamps,u64 systim) e1000e_systim_to_hwtstamp() argument
4371 e1000e_sanitize_systim(struct e1000_hw * hw,u64 systim,struct ptp_system_timestamp * sts) e1000e_sanitize_systim() argument
4412 u64 systim; e1000e_read_systim() local
[all...]
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c6959 u64 systim, now; in igb_perout() local
6965 systim = (((u64)(systimh & 0xFF)) << 32) | ((u64)systiml); in igb_perout()
6966 now = timecounter_cyc2time(&adapter->tc, systim); in igb_perout()
6977 systim = systim + (ns - rem); in igb_perout()
6985 systim += ns; in igb_perout()
6993 systim += ns; in igb_perout()
7002 ts.tv_nsec = (u32)systim; in igb_perout()
7003 ts.tv_sec = ((u32)(systim >> 32)) & 0xFF; in igb_perout()