Lines Matching refs:cs
97 u64 (*read)(struct clocksource *cs);
115 int (*enable)(struct clocksource *cs);
116 void (*disable)(struct clocksource *cs);
117 void (*suspend)(struct clocksource *cs);
118 void (*resume)(struct clocksource *cs);
119 void (*mark_unstable)(struct clocksource *cs);
120 void (*tick_stable)(struct clocksource *cs);
212 extern void clocksource_change_rating(struct clocksource *cs, int rating);
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() argument
241 return __clocksource_register_scale(cs, 1, 0); in __clocksource_register()
244 static inline int clocksource_register_hz(struct clocksource *cs, u32 hz) in clocksource_register_hz() argument
246 return __clocksource_register_scale(cs, 1, hz); in clocksource_register_hz()
249 static inline int clocksource_register_khz(struct clocksource *cs, u32 khz) in clocksource_register_khz() argument
251 return __clocksource_register_scale(cs, 1000, khz); in clocksource_register_khz()
254 static inline void __clocksource_update_freq_hz(struct clocksource *cs, u32 hz) in __clocksource_update_freq_hz() argument
256 __clocksource_update_freq_scale(cs, 1, hz); in __clocksource_update_freq_hz()
259 static inline void __clocksource_update_freq_khz(struct clocksource *cs, u32 khz) in __clocksource_update_freq_khz() argument
261 __clocksource_update_freq_scale(cs, 1000, 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() argument
295 void clocksource_verify_percpu(struct clocksource *cs);