Lines Matching defs:clocksource
10 #include <linux/clocksource.h>
107 struct clocksource cs;
615 /* adjust the timeout to maximum if only clocksource left */
622 static struct sh_cmt_channel *cs_to_sh_cmt(struct clocksource *cs)
627 static u64 sh_cmt_clocksource_read(struct clocksource *cs)
651 static int sh_cmt_clocksource_enable(struct clocksource *cs)
667 static void sh_cmt_clocksource_disable(struct clocksource *cs)
677 static void sh_cmt_clocksource_suspend(struct clocksource *cs)
688 static void sh_cmt_clocksource_resume(struct clocksource *cs)
702 struct clocksource *cs = &ch->cs;
847 bool clockevent, bool clocksource)
858 if (clocksource) {
868 bool clocksource, struct sh_cmt_device *cmt)
874 if (!clockevent && !clocksource)
917 clockevent, clocksource);
1063 bool clocksource = i == 1 || cmt->num_channels == 1;
1067 clockevent, clocksource, cmt);
1131 return -EBUSY; /* cannot unregister clockevent and clocksource */