summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/timex.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/timex.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/timex.h')
-rw-r--r--include/arch/x86_64/linux/timex.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/include/arch/x86_64/linux/timex.h b/include/arch/x86_64/linux/timex.h
index dc867f67..64c9a14e 100644
--- a/include/arch/x86_64/linux/timex.h
+++ b/include/arch/x86_64/linux/timex.h
@@ -106,22 +106,22 @@ struct __kernel_timex_timeval {
};
struct __kernel_timex {
- unsigned int modes; /* mode selector */
- int : 32; /* pad */
- long long offset; /* time offset (usec) */
- long long freq; /* frequency offset (scaled ppm) */
- long long maxerror; /* maximum error (usec) */
- long long esterror; /* estimated error (usec) */
- int status; /* clock command/status */
- int : 32; /* pad */
- long long constant; /* pll time constant */
- long long precision; /* clock precision (usec) (read only) */
- long long tolerance; /* clock frequency tolerance (ppm)
- * (read only)
- */
+ unsigned int modes; /* mode selector */
+ int : 32; /* pad */
+ long long offset; /* time offset (usec) */
+ long long freq; /* frequency offset (scaled ppm) */
+ long long maxerror; /* maximum error (usec) */
+ long long esterror; /* estimated error (usec) */
+ int status; /* clock command/status */
+ int : 32; /* pad */
+ long long constant; /* pll time constant */
+ long long precision; /* clock precision (usec) (read only) */
+ long long tolerance; /* clock frequency tolerance (ppm)
+ * (read only)
+ */
struct __kernel_timex_timeval time; /* (read only, except for
ADJ_SETOFFSET) */
- long long tick; /* (modified) usecs between clock ticks */
+ long long tick; /* (modified) usecs between clock ticks */
long long ppsfreq; /* pps frequency (scaled ppm) (ro) */
long long jitter; /* pps jitter (us) (ro) */
@@ -201,9 +201,8 @@ struct __kernel_timex {
#define STA_CLK 0x8000 /* clock source (0 = A, 1 = B) (ro) */
/* read-only bits */
-#define STA_RONLY \
- (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR | \
- STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK)
+#define STA_RONLY \
+ (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR | STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK)
/*
* Clock states (time_state)