Home
last modified time | relevance | path

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

/openbmc/linux/arch/s390/include/asm/
H A Dcputime.h17 #define cputime_to_nsecs(cputime) tod_to_ns(cputime)
H A Dtimex.h248 static __always_inline unsigned long tod_to_ns(unsigned long todval) in tod_to_ns() function
/openbmc/linux/arch/s390/kernel/
H A Dtime.c107 return tod_to_ns(__get_tod_clock_monotonic()); in sched_clock_noinstr()
115 return tod_to_ns(get_tod_clock_monotonic()); in sched_clock()
633 timediff = tod_to_ns(lsoib->nlsout - get_tod_clock()) / NSEC_PER_SEC; in stp_check_leap()
807 tod_to_ns(stzi.lsoib.nlsout - TOD_UNIX_EPOCH) / NSEC_PER_SEC, in leap_seconds_scheduled_show()
/openbmc/linux/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()
996 interval = tod_to_ns(interval); in cmb_show_avg_sample_interval()
/openbmc/linux/arch/s390/kvm/
H A Dinterrupt.c1274 sltime = tod_to_ns((s64)ckc - (s64)now); in __calculate_sltime()
1276 sltime = tod_to_ns(ckc - now); in __calculate_sltime()
1286 return min_t(u64, sltime, tod_to_ns(cputm)); in __calculate_sltime()
/openbmc/linux/drivers/s390/block/
H A Ddasd_3990_erp.c2263 if ((tod_to_ns(clk - device->path[pos].errorclk) / NSEC_PER_SEC) in dasd_3990_erp_account_error()