mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 17:45:07 -05:00
sys: convert Linux driver to use generic offset functions
Strip all slewing code (adjtime(), freq locked nano PLL, fast tick slewing) from the Linux driver and use the new generic frequency only slewing instead. The advantages include stable clock control with very short update intervals, good control of the slewing frequency, cheap cooking of raw time stamps and unlimited frequency offset.
This commit is contained in:
@@ -64,17 +64,12 @@ struct tmx_params {
|
||||
long stbcnt;
|
||||
};
|
||||
|
||||
int TMX_SetTick(long tick);
|
||||
int TMX_ApplyOffset(long *offset);
|
||||
int TMX_ResetOffset(void);
|
||||
int TMX_SetFrequency(double *freq, long tick);
|
||||
int TMX_GetFrequency(double *freq, long *tick);
|
||||
int TMX_GetOffsetLeft(long *offset);
|
||||
int TMX_ReadCurrentParams(struct tmx_params *params);
|
||||
int TMX_SetLeap(int leap);
|
||||
int TMX_SetSync(int sync);
|
||||
int TMX_EnableNanoPLL(void);
|
||||
int TMX_ApplyPLLOffset(long offset, long constant);
|
||||
int TMX_GetPLLOffsetLeft(long *offset);
|
||||
int TMX_TestStepOffset(void);
|
||||
int TMX_ApplyStepOffset(double offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user