Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_dfl_tod.c24 * The read sequence of ToD timestamp registers: TOD_NANOSEC, TOD_SECONDSL and
25 * TOD_SECONDSH, because there is a hardware snapshot whenever the TOD_NANOSEC
29 * The timestamp is corrected when the TOD_NANOSEC register is written, so the
30 * sequence of write TOD registers: TOD_SECONDSH, TOD_SECONDSL and TOD_NANOSEC.
34 #define TOD_NANOSEC 0x108 macro
107 nanosec = readl(base + TOD_NANOSEC); in coarse_adjust_tod_clock()
121 writel(nanosec, base + TOD_NANOSEC); in coarse_adjust_tod_clock()
237 nanosec = readl(base + TOD_NANOSEC); in dfl_tod_get_timex()
264 writel(nanosec, base + TOD_NANOSEC); in dfl_tod_set_time()

Completed in 2 milliseconds