Home
last modified time | relevance | path

Searched refs:suspend_clocksource (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/kernel/time/
Dclocksource.c91 static struct clocksource *suspend_clocksource; variable
646 return cs == suspend_clocksource; in clocksource_is_suspend()
668 if (!suspend_clocksource || cs->rating > suspend_clocksource->rating) in __clocksource_suspend_select()
669 suspend_clocksource = cs; in __clocksource_suspend_select()
680 old_suspend = suspend_clocksource; in clocksource_suspend_select()
682 suspend_clocksource = NULL; in clocksource_suspend_select()
708 if (!suspend_clocksource) in clocksource_start_suspend_timing()
721 if (suspend_clocksource->enable && in clocksource_start_suspend_timing()
722 suspend_clocksource->enable(suspend_clocksource)) { in clocksource_start_suspend_timing()
727 suspend_start = suspend_clocksource->read(suspend_clocksource); in clocksource_start_suspend_timing()
[all …]
/Linux-v5.15/drivers/clocksource/
Dtimer-sprd.c183 static struct clocksource suspend_clocksource = { variable
201 clocksource_register_hz(&suspend_clocksource, in sprd_suspend_timer_init()