Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/rtc/
Dclass.c130 delta = timespec64_sub(old_system, old_rtc); in rtc_suspend()
131 delta_delta = timespec64_sub(delta, old_delta); in rtc_suspend()
140 old_system = timespec64_sub(old_system, delta_delta); in rtc_suspend()
178 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume()
187 sleep_time = timespec64_sub(sleep_time, in rtc_resume()
188 timespec64_sub(new_system, old_system)); in rtc_resume()
/linux-6.6.21/include/linux/
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()
Dtime64.h80 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, in timespec64_sub() function
Dtime_namespace.h90 *ts = timespec64_sub(*ts, ns_offsets->boottime); in timens_sub_boottime()
/linux-6.6.21/drivers/pps/generators/
Dpps_gen_parport.c111 dts = timespec64_sub(ts3, ts2); in hrtimer_event()
117 dts = timespec64_sub(ts1, expire_time); in hrtimer_event()
157 b = timespec64_sub(b, a); in calibrate_port()
/linux-6.6.21/drivers/scsi/fnic/
Dfnic_trace.c225 (s64)timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_sec, in fnic_get_stats_data()
226 timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_nsec, in fnic_get_stats_data()
227 (s64)timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_sec, in fnic_get_stats_data()
228 timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_nsec); in fnic_get_stats_data()
/linux-6.6.21/kernel/time/
Dtimekeeping.c1328 ts_delta = timespec64_sub(*ts, xt); in do_settimeofday64()
1335 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, ts_delta)); in do_settimeofday64()
1386 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, *ts)); in timekeeping_inject_offset()
1655 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init()
1698 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, *delta)); in __timekeeping_inject_sleeptime()
1812 ts_delta = timespec64_sub(ts_new, timekeeping_suspend_time); in timekeeping_resume()
1881 delta = timespec64_sub(tk_xtime(tk), timekeeping_suspend_time); in timekeeping_suspend()
1882 delta_delta = timespec64_sub(delta, old_delta); in timekeeping_suspend()
2093 timespec64_sub(tk->wall_to_monotonic, ts)); in accumulate_nsecs_to_secs()
Dntp.c1051 freq_norm = pps_normalize_ts(timespec64_sub(*raw_ts, pps_fbase)); in __hardpps()
/linux-6.6.21/lib/math/
Dtest_div64.c233 ts = timespec64_sub(ts1, ts0); in test_div64_init()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_drv.h124 ts = timespec64_sub(to, ts); in etnaviv_timeout_to_jiffies()
/linux-6.6.21/drivers/net/ethernet/qualcomm/rmnet/
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-6.6.21/sound/core/seq/
Dseq_timer.c451 tm = timespec64_sub(tm, tmr->last_update); in snd_seq_timer_get_cur_time()
/linux-6.6.21/drivers/video/fbdev/
Dpxa3xx-gcu.c122 ts = timespec64_sub(ts, priv->base_time); \
/linux-6.6.21/lib/kunit/
Dtest.c432 kunit_run_case_check_speed(test, test_case, timespec64_sub(end, start)); in kunit_run_case_internal()
/linux-6.6.21/arch/s390/kernel/
Dtime.c227 *boot_offset = timespec64_sub(*wall_time, boot_time); in read_persistent_wall_and_boot_offset()
/linux-6.6.21/fs/
Dselect.c89 now = timespec64_sub(*tv, now); in select_estimate_accuracy()
317 rts = timespec64_sub(*end_time, rts); in poll_select_finish()
/linux-6.6.21/drivers/iio/adc/
Dina2xx-adc.c823 delta = timespec64_sub(next, now); in ina2xx_capture_thread()
/linux-6.6.21/drivers/mmc/core/
Dmmc_test.c564 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_rate()
590 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_avg_rate()
1923 ts = timespec64_sub(ts2, ts1); in mmc_test_rnd_perf()
/linux-6.6.21/drivers/pci/endpoint/functions/
Dpci-epf-test.c303 struct timespec64 ts = timespec64_sub(*end, *start); in pci_epf_test_print_rate()
/linux-6.6.21/drivers/net/dsa/microchip/
Dksz_ptp.c452 diff = timespec64_sub(ts, ptp_clock_time); in ksz_tstamp_reconstruct()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dptp.c2191 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dptp.c2143 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
/linux-6.6.21/drivers/usb/misc/
Dusbtest.c2723 duration = timespec64_sub(end, start); in usbtest_ioctl()
/linux-6.6.21/net/
Dsocket.c2935 *timeout = timespec64_sub(end_time, timeout64); in do_recvmmsg()