Lines Matching refs:clocksource
106 struct clocksource cs;
645 static struct sh_cmt_channel *cs_to_sh_cmt(struct clocksource *cs) in cs_to_sh_cmt()
650 static u64 sh_cmt_clocksource_read(struct clocksource *cs) in sh_cmt_clocksource_read()
674 static int sh_cmt_clocksource_enable(struct clocksource *cs) in sh_cmt_clocksource_enable()
690 static void sh_cmt_clocksource_disable(struct clocksource *cs) in sh_cmt_clocksource_disable()
700 static void sh_cmt_clocksource_suspend(struct clocksource *cs) in sh_cmt_clocksource_suspend()
711 static void sh_cmt_clocksource_resume(struct clocksource *cs) in sh_cmt_clocksource_resume()
725 struct clocksource *cs = &ch->cs; in sh_cmt_register_clocksource()
876 bool clockevent, bool clocksource) in sh_cmt_register() argument
887 if (clocksource) { in sh_cmt_register()
897 bool clocksource, struct sh_cmt_device *cmt) in sh_cmt_setup_channel() argument
903 if (!clockevent && !clocksource) in sh_cmt_setup_channel()
946 clockevent, clocksource); in sh_cmt_setup_channel()
1099 bool clocksource = i == 1 || cmt->num_channels == 1; in sh_cmt_setup() local
1103 clockevent, clocksource, cmt); in sh_cmt_setup()