Home
last modified time | relevance | path

Searched refs:evtdev (Results 1 – 8 of 8) sorted by relevance

/kernel/time/
Dtick-broadcast.c164 struct clock_event_device *cur = tick_broadcast_device.evtdev; in tick_install_broadcast_device()
178 tick_broadcast_device.evtdev = dev; in tick_install_broadcast_device()
210 return (dev && tick_broadcast_device.evtdev == dev); in tick_is_broadcast_device()
248 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_device_uses_broadcast()
330 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast()
355 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_do_broadcast()
381 td->evtdev->broadcast(mask); in tick_do_broadcast()
407 if (clockevent_state_shutdown(tick_broadcast_device.evtdev)) { in tick_handle_periodic_broadcast()
427 td->evtdev->event_handler(td->evtdev); in tick_handle_periodic_broadcast()
447 dev = td->evtdev; in tick_broadcast_control()
[all …]
Dtick-common.c72 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available()
215 if (!td->evtdev) { in tick_setup_device()
246 handler = td->evtdev->event_handler; in tick_setup_device()
247 next_event = td->evtdev->next_event; in tick_setup_device()
248 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device()
251 td->evtdev = newdev; in tick_setup_device()
281 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement()
348 curdev = td->evtdev; in tick_check_new_device()
398 if (!(td->evtdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_oneshot_control()
432 struct clock_event_device *dev = td->evtdev; in tick_shutdown()
[all …]
Dtick-oneshot.c25 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_program_event()
52 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot()
76 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot()
Dclockevents.c395 return ced == per_cpu(tick_cpu_device, cpu).evtdev ? -EAGAIN : -EBUSY; in __clockevents_try_unbind()
680 if (td && td->evtdev) in sysfs_show_current_tick_dev()
681 count = snprintf(buf, PAGE_SIZE, "%s\n", td->evtdev->name); in sysfs_show_current_tick_dev()
Dtick-sched.h13 struct clock_event_device *evtdev; member
Dtick-sched.c830 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_stop_tick()
1132 return __this_cpu_read(tick_cpu_device.evtdev)->next_event; in tick_nohz_get_next_hrtimer()
1143 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_get_sleep_length()
Dtimer_list.c195 struct clock_event_device *dev = td->evtdev; in print_tickdevice()
Dhrtimer.c1779 if (td && td->evtdev) in __hrtimer_peek_ahead_timers()
1780 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()