Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.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()
247 handler = td->evtdev->event_handler; in tick_setup_device()
248 next_event = td->evtdev->next_event; in tick_setup_device()
249 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device()
252 td->evtdev = newdev; in tick_setup_device()
282 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement()
349 curdev = td->evtdev; in tick_check_new_device()
394 if (!(td->evtdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_oneshot_control()
424 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.c870 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_stop_tick()
1206 return __this_cpu_read(tick_cpu_device.evtdev)->next_event; in tick_nohz_get_next_hrtimer()
1221 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.c1881 if (td && td->evtdev) in __hrtimer_peek_ahead_timers()
1882 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()