Lines Matching defs:delta
342 * Adjust the frequency of the PHC by the indicated delta from the base
398 * @delta: Offset in nanoseconds to adjust the PHC time by
400 * Adjust the current clock time by a delta specified in nanoseconds.
402 static int i40e_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta)
409 if (delta > -999999900LL && delta < 999999900LL) {
414 if (delta < 0) {
416 tohw = -delta;
418 tohw = delta;
428 then = ns_to_timespec64(delta);
1438 * i40e_ptp_restore_hw_time - Restore the ptp_prev_hw_time + delta to PTP regs
1443 * update this value based on the time delta since the time was saved, using
1451 ktime_t delta = ktime_sub(ktime_get(), pf->ptp_reset_start);
1453 /* Update the previous HW time with the ktime delta */
1454 timespec64_add_ns(&pf->ptp_prev_hw_time, ktime_to_ns(delta));