Home
last modified time | relevance | path

Searched refs:timespec64_sub (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/rtc/
H A Dclass.c129 delta = timespec64_sub(old_system, old_rtc); in rtc_suspend()
130 delta_delta = timespec64_sub(delta, old_delta); in rtc_suspend()
139 old_system = timespec64_sub(old_system, delta_delta); in rtc_suspend()
177 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume()
186 sleep_time = timespec64_sub(sleep_time, in rtc_resume()
187 timespec64_sub(new_system, old_system)); in rtc_resume()
/linux/include/linux/
H A Dpps_kernel.h114 ts->ts_real = timespec64_sub(ts->ts_real, delta); in pps_sub_ts()
116 ts->ts_raw = timespec64_sub(ts->ts_raw, delta); in pps_sub_ts()
H A Dtime64.h85 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, in timespec64_sub() function
H A Dtime_namespace.h99 *ts = timespec64_sub(*ts, ns_offsets->boottime); in timens_sub_boottime()
/linux/kernel/time/
H A Dtimekeeping.c1447 ts_delta = timespec64_sub(*ts, xt); in do_settimeofday64()
1454 tk_set_wall_to_mono(tks, timespec64_sub(tks->wall_to_monotonic, ts_delta)); in do_settimeofday64()
1500 tk_set_wall_to_mono(tks, timespec64_sub(tks->wall_to_monotonic, *ts)); in __timekeeping_inject_offset()
1826 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init()
1866 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, *delta)); in __timekeeping_inject_sleeptime()
1971 ts_delta = timespec64_sub(ts_new, timekeeping_suspend_time); in timekeeping_resume()
2043 delta = timespec64_sub(tk_xtime(tks), timekeeping_suspend_time); in timekeeping_suspend()
2044 delta_delta = timespec64_sub(delta, old_delta); in timekeeping_suspend()
2264 timespec64_sub(tk->wall_to_monotonic, ts)); in accumulate_nsecs_to_secs()
H A Dntp.c1064 freq_norm = pps_normalize_ts(timespec64_sub(*raw_ts, ntpdata->pps_fbase)); in __hardpps()
/linux/lib/math/
H A Dtest_div64.c314 ts = timespec64_sub(ts1, ts0); in test_div64_init()
/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.c599 diff = timespec64_sub(port->agg_last, last); in rmnet_map_tx_aggregate()
623 diff = timespec64_sub(port->agg_last, port->agg_time); in rmnet_map_tx_aggregate()
/linux/drivers/scsi/fnic/
H A Dfnic_trace.c225 val1 = timespec64_sub(val, stats->stats_timestamps.last_reset_time); in fnic_get_stats_data()
226 val2 = timespec64_sub(val, stats->stats_timestamps.last_read_time); in fnic_get_stats_data()
/linux/sound/core/seq/
H A Dseq_timer.c420 tm = timespec64_sub(tm, tmr->last_update); in snd_seq_timer_get_cur_time()
/linux/fs/smb/server/
H A Dconnection.c43 t = timespec64_sub(now, t); in proc_show_clients()
/linux/fs/
H A Dselect.c86 now = timespec64_sub(*tv, now); in select_estimate_accuracy()
314 rts = timespec64_sub(*end_time, rts); in poll_select_finish()
/linux/arch/s390/kernel/
H A Dtime.c219 *boot_offset = timespec64_sub(*wall_time, boot_time); in read_persistent_wall_and_boot_offset()
/linux/drivers/video/fbdev/
H A Dpxa3xx-gcu.c122 ts = timespec64_sub(ts, priv->base_time); \
/linux/drivers/iio/adc/
H A Dina2xx-adc.c822 delta = timespec64_sub(next, now); in ina2xx_capture_thread()
/linux/lib/kunit/
H A Dtest.c452 kunit_run_case_check_speed(test, test_case, timespec64_sub(end, start)); in kunit_run_case_internal()
/linux/drivers/mmc/core/
H A Dmmc_test.c558 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_rate()
584 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_avg_rate()
1913 ts = timespec64_sub(ts2, ts1); in mmc_test_rnd_perf()
/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c445 diff = timespec64_sub(ts, ptp_clock_time); in ksz_tstamp_reconstruct()
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c337 struct timespec64 ts = timespec64_sub(*end, *start); in pci_epf_test_print_rate()
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c2137 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
/linux/drivers/net/ethernet/sfc/
H A Dptp.c2179 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
/linux/drivers/usb/misc/
H A Dusbtest.c2724 duration = timespec64_sub(end, start); in usbtest_ioctl()
/linux/net/
H A Dsocket.c2969 *timeout = timespec64_sub(end_time, timeout64); in do_recvmmsg()