Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clocksource/
Dtimer-lpc32xx.c41 struct clock_event_device evtdev; member
64 struct clock_event_device *evtdev) in lpc32xx_clkevt_next_event() argument
67 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_next_event()
82 static int lpc32xx_clkevt_shutdown(struct clock_event_device *evtdev) in lpc32xx_clkevt_shutdown() argument
85 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_shutdown()
93 static int lpc32xx_clkevt_oneshot(struct clock_event_device *evtdev) in lpc32xx_clkevt_oneshot() argument
96 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_oneshot()
110 static int lpc32xx_clkevt_periodic(struct clock_event_device *evtdev) in lpc32xx_clkevt_periodic() argument
113 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_periodic()
137 ddata->evtdev.event_handler(&ddata->evtdev); in lpc32xx_clock_event_handler()
[all …]
/linux-6.6.21/kernel/time/
Dtick-broadcast.c165 struct clock_event_device *cur = tick_broadcast_device.evtdev; in tick_install_broadcast_device()
179 tick_broadcast_device.evtdev = dev; in tick_install_broadcast_device()
211 return (dev && tick_broadcast_device.evtdev == dev); in tick_is_broadcast_device()
249 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_device_uses_broadcast()
331 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast()
356 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_do_broadcast()
382 td->evtdev->broadcast(mask); in tick_do_broadcast()
408 if (clockevent_state_shutdown(tick_broadcast_device.evtdev)) { in tick_handle_periodic_broadcast()
428 td->evtdev->event_handler(td->evtdev); in tick_handle_periodic_broadcast()
448 dev = td->evtdev; in tick_broadcast_control()
[all …]
Dtick-common.c73 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()
393 if (!(td->evtdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_oneshot_control()
423 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()
Dtick-sched.h13 struct clock_event_device *evtdev; member
Dclockevents.c394 return ced == per_cpu(tick_cpu_device, cpu).evtdev ? -EAGAIN : -EBUSY; in __clockevents_try_unbind()
679 if (td && td->evtdev) in current_device_show()
680 count = snprintf(buf, PAGE_SIZE, "%s\n", td->evtdev->name); in current_device_show()
Dtick-sched.c886 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_stop_tick()
1218 return __this_cpu_read(tick_cpu_device.evtdev)->next_event; in tick_nohz_get_next_hrtimer()
1233 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_get_sleep_length()
Dtimer_list.c180 struct clock_event_device *dev = td->evtdev; in print_tickdevice()
Dhrtimer.c1885 if (td && td->evtdev) in __hrtimer_peek_ahead_timers()
1886 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()