Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/time/
Dclocksource.c89 static struct clocksource *suspend_clocksource; variable
458 return cs == suspend_clocksource; in clocksource_is_suspend()
480 if (!suspend_clocksource || cs->rating > suspend_clocksource->rating) in __clocksource_suspend_select()
481 suspend_clocksource = cs; in __clocksource_suspend_select()
492 old_suspend = suspend_clocksource; in clocksource_suspend_select()
494 suspend_clocksource = NULL; in clocksource_suspend_select()
520 if (!suspend_clocksource) in clocksource_start_suspend_timing()
533 if (suspend_clocksource->enable && in clocksource_start_suspend_timing()
534 suspend_clocksource->enable(suspend_clocksource)) { in clocksource_start_suspend_timing()
539 suspend_start = suspend_clocksource->read(suspend_clocksource); in clocksource_start_suspend_timing()
[all …]
/Linux-v5.4/drivers/clocksource/
Dtimer-sprd.c183 static struct clocksource suspend_clocksource = { variable
201 clocksource_register_hz(&suspend_clocksource, in sprd_suspend_timer_init()