Home
last modified time | relevance | path

Searched refs:time2tod (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/s390x/
H A Dtod-tcg.c26 tod->low += time2tod(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in qemu_s390_tod_get()
39 td->base.low -= time2tod(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in qemu_s390_tod_set()
70 td->base.low = TOD_UNIX_EPOCH + (time2tod(mktimegm(&tm)) * 1000000000ULL); in qemu_s390_tod_init()
H A Ds390-pci-inst.c1116 pbdev->fmb.last_update = time2tod(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in fmb_update()
/openbmc/qemu/target/s390x/tcg/
H A Ds390-tod.h18 static inline uint64_t time2tod(uint64_t ns) in time2tod() function
H A Dmisc_helper.c75 return time2tod(env->cputm - qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in HELPER()
89 return TOD_UNIX_EPOCH + time2tod(ns); in HELPER()
/openbmc/qemu/docs/devel/
H A Dsubmitting-a-patch.rst187 Fixes: 14055ce53c2d ("s390x/tcg: avoid overflows in time2tod/tod2time")