Home
last modified time | relevance | path

Searched refs:tod_to_ns (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/drivers/ptp/
H A Dptp_s390.c30 return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); in tod_to_timespec64()
69 *device_time = ns_to_ktime(tod_to_ns(clk.tod - TOD_UNIX_EPOCH)); in s390_arch_ptp_get_crosststamp()
/linux-6.15/arch/s390/include/asm/
H A Dcputime.h17 #define cputime_to_nsecs(cputime) tod_to_ns(cputime)
H A Dtimex.h252 static __always_inline unsigned long tod_to_ns(unsigned long todval) in tod_to_ns() function
/linux-6.15/arch/s390/kernel/
H A Dtime.c104 return tod_to_ns(__get_tod_clock_monotonic()); in sched_clock_noinstr()
112 return tod_to_ns(get_tod_clock_monotonic()); in sched_clock()
634 timediff = tod_to_ns(lsoib->nlsout - get_tod_clock()) / NSEC_PER_SEC; in stp_check_leap()
808 tod_to_ns(stzi.lsoib.nlsout - TOD_UNIX_EPOCH) / NSEC_PER_SEC, in leap_seconds_scheduled_show()
/linux-6.15/drivers/s390/cio/
H A Dcmf.c590 elapsed_time = tod_to_ns(elapsed_time); in __cmb_utilization()
676 data->elapsed_time = tod_to_ns(time); in readall_cmb()
935 data->elapsed_time = tod_to_ns(time); in readall_cmbe()
995 interval = tod_to_ns(interval); in cmb_show_avg_sample_interval()
/linux-6.15/arch/s390/kernel/diag/
H A Ddiag324.c176 data->expire = ktime_add_ns(ktime_get(), tod_to_ns(data->pib->intv)); in diag324_pibbuf()
/linux-6.15/arch/s390/boot/
H A Dprintk.c203 unsigned long ns = tod_to_ns(__get_tod_clock_monotonic()); in add_timestamp()
/linux-6.15/arch/s390/kvm/
H A Dinterrupt.c1265 sltime = tod_to_ns((s64)ckc - (s64)now); in __calculate_sltime()
1267 sltime = tod_to_ns(ckc - now); in __calculate_sltime()
1277 return min_t(u64, sltime, tod_to_ns(cputm)); in __calculate_sltime()
/linux-6.15/drivers/s390/block/
H A Ddasd_3990_erp.c2224 if ((tod_to_ns(clk - device->path[pos].errorclk) / NSEC_PER_SEC) in dasd_3990_erp_account_error()