Searched refs:sched_timer (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/kernel/time/ |
D | tick-sched.c | 660 hrtimer_cancel(&ts->sched_timer); in tick_nohz_restart() 661 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart() 664 hrtimer_forward(&ts->sched_timer, now, tick_period); in tick_nohz_restart() 667 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart() 670 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart() 798 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick() 804 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick() 818 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick() 831 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick() 836 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick() [all …]
|
D | tick-sched.h | 54 struct hrtimer sched_timer; member
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
D | dw_apb_timer_of.c | 123 struct device_node *sched_timer; in init_sched_clock() local 125 sched_timer = of_find_matching_node(NULL, sptimer_ids); in init_sched_clock() 126 if (sched_timer) { in init_sched_clock() 127 timer_get_base_and_rate(sched_timer, &sched_io_base, in init_sched_clock() 129 of_node_put(sched_timer); in init_sched_clock()
|