Lines Matching refs:clocksource
23 static noinline u64 cycles_to_nsec_safe(struct clocksource *cs, u64 start, u64 end) in cycles_to_nsec_safe()
100 static struct clocksource *curr_clocksource;
101 static struct clocksource *suspend_clocksource;
155 static struct clocksource *watchdog;
174 static void __clocksource_change_rating(struct clocksource *cs, int rating);
194 static void __clocksource_unstable(struct clocksource *cs) in __clocksource_unstable()
223 void clocksource_mark_unstable(struct clocksource *cs) in clocksource_mark_unstable()
245 static enum wd_read_status cs_watchdog_read(struct clocksource *cs, u64 *csnow, u64 *wdnow) in cs_watchdog_read()
351 struct clocksource *cs = (struct clocksource *)csin; in clocksource_verify_one_cpu()
356 void clocksource_verify_percpu(struct clocksource *cs) in clocksource_verify_percpu()
412 struct clocksource *cs; in clocksource_reset_watchdog()
424 struct clocksource *cs; in clocksource_watchdog()
620 static void clocksource_enqueue_watchdog(struct clocksource *cs) in clocksource_enqueue_watchdog()
637 struct clocksource *cs, *old_wd; in clocksource_select_watchdog()
672 static void clocksource_dequeue_watchdog(struct clocksource *cs) in clocksource_dequeue_watchdog()
686 struct clocksource *cs, *tmp; in __clocksource_watchdog_kthread()
724 static bool clocksource_is_watchdog(struct clocksource *cs) in clocksource_is_watchdog()
731 static void clocksource_enqueue_watchdog(struct clocksource *cs) in clocksource_enqueue_watchdog()
738 static inline void clocksource_dequeue_watchdog(struct clocksource *cs) { } in clocksource_dequeue_watchdog()
741 static bool clocksource_is_watchdog(struct clocksource *cs) { return false; } in clocksource_is_watchdog()
742 void clocksource_mark_unstable(struct clocksource *cs) { } in clocksource_mark_unstable()
749 static bool clocksource_is_suspend(struct clocksource *cs) in clocksource_is_suspend()
754 static void __clocksource_suspend_select(struct clocksource *cs) in __clocksource_suspend_select()
783 struct clocksource *cs, *old_suspend; in clocksource_suspend_select()
811 void clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles) in clocksource_start_suspend_timing()
849 u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 cycle_now) in clocksource_stop_suspend_timing()
884 struct clocksource *cs; in clocksource_suspend()
896 struct clocksource *cs; in clocksource_resume()
922 static u32 clocksource_max_adjustment(struct clocksource *cs) in clocksource_max_adjustment()
983 static inline void clocksource_update_max_deferment(struct clocksource *cs) in clocksource_update_max_deferment()
990 static struct clocksource *clocksource_find_best(bool oneshot, bool skipcur) in clocksource_find_best()
992 struct clocksource *cs; in clocksource_find_best()
1015 struct clocksource *best, *cs; in __clocksource_select()
1106 static void clocksource_enqueue(struct clocksource *cs) in clocksource_enqueue()
1109 struct clocksource *tmp; in clocksource_enqueue()
1132 void __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_update_freq_scale()
1224 int __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_register_scale()
1258 static void __clocksource_change_rating(struct clocksource *cs, int rating) in __clocksource_change_rating()
1270 void clocksource_change_rating(struct clocksource *cs, int rating) in clocksource_change_rating()
1289 static int clocksource_unbind(struct clocksource *cs) in clocksource_unbind()
1328 int clocksource_unregister(struct clocksource *cs) in clocksource_unregister()
1420 struct clocksource *cs; in unbind_clocksource_store()
1454 struct clocksource *src; in available_clocksource_show()
1484 ATTRIBUTE_GROUPS(clocksource);