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

/linux-master/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);
121 writel(nanosec, base + TOD_NANOSEC);
237 nanosec = readl(base + TOD_NANOSEC);
264 writel(nanosec, base + TOD_NANOSEC);

Completed in 136 milliseconds