Lines Matching refs:clocksource

24 struct clocksource;
96 struct clocksource { struct
97 u64 (*read)(struct clocksource *cs); argument
115 int (*enable)(struct clocksource *cs); argument
116 void (*disable)(struct clocksource *cs); argument
117 void (*suspend)(struct clocksource *cs); argument
118 void (*resume)(struct clocksource *cs); argument
119 void (*mark_unstable)(struct clocksource *cs); argument
120 void (*tick_stable)(struct clocksource *cs); argument
210 extern int clocksource_unregister(struct clocksource*);
212 extern void clocksource_change_rating(struct clocksource *cs, int rating);
215 extern struct clocksource * __init clocksource_default_clock(void);
216 extern void clocksource_mark_unstable(struct clocksource *cs);
218 clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles);
219 extern u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 now);
231 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq);
233 __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq);
239 static inline int __clocksource_register(struct clocksource *cs) in __clocksource_register()
244 static inline int clocksource_register_hz(struct clocksource *cs, u32 hz) in clocksource_register_hz()
249 static inline int clocksource_register_khz(struct clocksource *cs, u32 khz) in clocksource_register_khz()
254 static inline void __clocksource_update_freq_hz(struct clocksource *cs, u32 hz) in __clocksource_update_freq_hz()
259 static inline void __clocksource_update_freq_khz(struct clocksource *cs, u32 khz) in __clocksource_update_freq_khz()
265 extern void clocksource_arch_init(struct clocksource *cs);
267 static inline void clocksource_arch_init(struct clocksource *cs) { } in clocksource_arch_init()
270 extern int timekeeping_notify(struct clocksource *clock);
272 extern u64 clocksource_mmio_readl_up(struct clocksource *);
273 extern u64 clocksource_mmio_readl_down(struct clocksource *);
274 extern u64 clocksource_mmio_readw_up(struct clocksource *);
275 extern u64 clocksource_mmio_readw_down(struct clocksource *);
278 unsigned long, int, unsigned, u64 (*)(struct clocksource *));
295 void clocksource_verify_percpu(struct clocksource *cs);