Home
last modified time | relevance | path

Searched refs:sched_timer (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/kernel/time/
Dtick-sched.c744 hrtimer_cancel(&ts->sched_timer); in tick_nohz_restart()
745 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart()
748 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_restart()
751 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart()
754 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart()
882 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
888 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick()
902 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick()
915 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick()
920 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick()
[all …]
Dtick-sched.h54 struct hrtimer sched_timer; member
/Linux-v5.15/drivers/clocksource/
Ddw_apb_timer_of.c154 struct device_node *sched_timer; in init_sched_clock() local
156 sched_timer = of_find_matching_node(NULL, sptimer_ids); in init_sched_clock()
157 if (sched_timer) { in init_sched_clock()
158 timer_get_base_and_rate(sched_timer, &sched_io_base, in init_sched_clock()
160 of_node_put(sched_timer); in init_sched_clock()