1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2019 FUJITSU LIMITED. All rights reserved. 4 * Author: Yang Xu <xuyang2018.jy@cn.fujitsu.com> 5 */ 6 7 #ifndef LAPI_TIMEX_H__ 8 # define LAPI_TIMEX_H__ 9 10 #define ADJ_ALL (ADJ_OFFSET | ADJ_FREQUENCY | ADJ_MAXERROR | \ 11 ADJ_ESTERROR | ADJ_STATUS | ADJ_TIMECONST | \ 12 ADJ_TICK) 13 14 #ifndef ADJ_OFFSET_SS_READ 15 # define ADJ_OFFSET_SS_READ 0xa001 16 #endif 17 18 #ifndef ADJ_NANO 19 # define ADJ_NANO 0x2000 20 #endif 21 22 #ifndef STA_NANO 23 # define STA_NANO 0x2000 24 #endif 25 26 #ifndef ADJ_MICRO 27 # define ADJ_MICRO 0x1000 28 #endif 29 30 #endif/* LAPI_TIMEX_H__ */ 31