Lines Matching refs:clocksource
109 struct clocksource cs;
610 static struct sh_cmt_channel *cs_to_sh_cmt(struct clocksource *cs) in cs_to_sh_cmt()
615 static cycle_t sh_cmt_clocksource_read(struct clocksource *cs) in sh_cmt_clocksource_read()
633 static int sh_cmt_clocksource_enable(struct clocksource *cs) in sh_cmt_clocksource_enable()
650 static void sh_cmt_clocksource_disable(struct clocksource *cs) in sh_cmt_clocksource_disable()
660 static void sh_cmt_clocksource_suspend(struct clocksource *cs) in sh_cmt_clocksource_suspend()
668 static void sh_cmt_clocksource_resume(struct clocksource *cs) in sh_cmt_clocksource_resume()
679 struct clocksource *cs = &ch->cs; in sh_cmt_register_clocksource()
829 bool clockevent, bool clocksource) in sh_cmt_register() argument
840 if (clocksource) { in sh_cmt_register()
850 bool clocksource, struct sh_cmt_device *cmt) in sh_cmt_setup_channel() argument
855 if (!clockevent && !clocksource) in sh_cmt_setup_channel()
899 clockevent, clocksource); in sh_cmt_setup_channel()
1017 bool clocksource = i == 1 || cmt->num_channels == 1; in sh_cmt_setup() local
1021 clockevent, clocksource, cmt); in sh_cmt_setup()