Lines Matching refs:clocksource

23 struct clocksource;
89 struct clocksource { struct
90 u64 (*read)(struct clocksource *cs); argument
106 int (*enable)(struct clocksource *cs); argument
107 void (*disable)(struct clocksource *cs); argument
108 void (*suspend)(struct clocksource *cs); argument
109 void (*resume)(struct clocksource *cs); argument
110 void (*mark_unstable)(struct clocksource *cs); argument
111 void (*tick_stable)(struct clocksource *cs); argument
201 extern int clocksource_unregister(struct clocksource*);
203 extern void clocksource_change_rating(struct clocksource *cs, int rating);
206 extern struct clocksource * __init clocksource_default_clock(void);
207 extern void clocksource_mark_unstable(struct clocksource *cs);
209 clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles);
210 extern u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 now);
222 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq);
224 __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq);
230 static inline int __clocksource_register(struct clocksource *cs) in __clocksource_register()
235 static inline int clocksource_register_hz(struct clocksource *cs, u32 hz) in clocksource_register_hz()
240 static inline int clocksource_register_khz(struct clocksource *cs, u32 khz) in clocksource_register_khz()
245 static inline void __clocksource_update_freq_hz(struct clocksource *cs, u32 hz) in __clocksource_update_freq_hz()
250 static inline void __clocksource_update_freq_khz(struct clocksource *cs, u32 khz) in __clocksource_update_freq_khz()
256 extern void clocksource_arch_init(struct clocksource *cs);
258 static inline void clocksource_arch_init(struct clocksource *cs) { } in clocksource_arch_init()
261 extern int timekeeping_notify(struct clocksource *clock);
263 extern u64 clocksource_mmio_readl_up(struct clocksource *);
264 extern u64 clocksource_mmio_readl_down(struct clocksource *);
265 extern u64 clocksource_mmio_readw_up(struct clocksource *);
266 extern u64 clocksource_mmio_readw_down(struct clocksource *);
269 unsigned long, int, unsigned, u64 (*)(struct clocksource *));