Home
last modified time | relevance | path

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

/linux/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/arch/s390/include/asm/
H A Dcputime.h17 #define cputime_to_nsecs(cputime) tod_to_ns(cputime)
H A Dtimex.h233 * tod_to_ns - convert a TOD format value to nanoseconds
251 static __always_inline unsigned long tod_to_ns(unsigned long todval) in tod_to_ns() function
/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()
995 interval = tod_to_ns(interval); in cmb_show_avg_sample_interval()
/linux/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/arch/s390/boot/
H A Dprintk.c204 unsigned long ns = tod_to_ns(__get_tod_clock_monotonic()); in add_timestamp()
/linux/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()