1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
20aa366f3STony Luck /*
30aa366f3STony Luck  * (c) Copyright 2007 Hewlett-Packard Development Company, L.P.
40aa366f3STony Luck  *        Contributed by Peter Keilty <peter.keilty@hp.com>
50aa366f3STony Luck  *
60aa366f3STony Luck  * fsyscall gettimeofday data
70aa366f3STony Luck  */
80aa366f3STony Luck 
90aa366f3STony Luck /* like timespec, but includes "shifted nanoseconds" */
1074a622beSThomas Gleixner struct time_sn_spec {
110aa366f3STony Luck 	u64	sec;
120aa366f3STony Luck 	u64	snsec;
13a5a1d1c2SThomas Gleixner };
140aa366f3STony Luck 
150aa366f3STony Luck struct fsyscall_gtod_data_t {
160aa366f3STony Luck 	seqcount_t	seq;
17a5a1d1c2SThomas Gleixner 	struct time_sn_spec wall_time;
18acffc84aSHidetoshi Seto 	struct time_sn_spec monotonic_time;
190aa366f3STony Luck 	u64		clk_mask;
200aa366f3STony Luck 	u32		clk_mult;
210aa366f3STony Luck 	u32		clk_shift;
22a5a1d1c2SThomas Gleixner 	void		*clk_fsys_mmio;
23acffc84aSHidetoshi Seto 	u64		clk_cycle_last;
240aa366f3STony Luck } ____cacheline_aligned;
25 
26 struct itc_jitter_data_t {
27 	int		itc_jitter;
28 	u64		itc_lastcycle;
29 } ____cacheline_aligned;
30 
31