Home
last modified time | relevance | path

Searched refs:todval (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dtimex.h201 * @todval: to be converted TOD format value
208 * ns = (todval * 125) >> 9;
211 * With a split todval == 2^9 * th + tl (th upper 55 bits, tl lower 9 bits)
218 static inline unsigned long long tod_to_ns(unsigned long long todval) in tod_to_ns() argument
220 return ((todval >> 9) * 125) + (((todval & 0x1ff) * 125) >> 9); in tod_to_ns()
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dtimex.h231 * @todval: to be converted TOD format value
238 * ns = (todval * 125) >> 9;
241 * With a split todval == 2^9 * th + tl (th upper 55 bits, tl lower 9 bits)
248 static __always_inline unsigned long tod_to_ns(unsigned long todval) in tod_to_ns() argument
250 return ((todval >> 9) * 125) + (((todval & 0x1ff) * 125) >> 9); in tod_to_ns()

Completed in 2 milliseconds