Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clocksource/
Dtimer-efm32.c43 struct clock_event_device evtdev; member
48 static int efm32_clock_event_shutdown(struct clock_event_device *evtdev) in efm32_clock_event_shutdown() argument
51 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); in efm32_clock_event_shutdown()
57 static int efm32_clock_event_set_oneshot(struct clock_event_device *evtdev) in efm32_clock_event_set_oneshot() argument
60 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); in efm32_clock_event_set_oneshot()
71 static int efm32_clock_event_set_periodic(struct clock_event_device *evtdev) in efm32_clock_event_set_periodic() argument
74 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); in efm32_clock_event_set_periodic()
87 struct clock_event_device *evtdev) in efm32_clock_event_set_next_event() argument
90 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); in efm32_clock_event_set_next_event()
105 ddata->evtdev.event_handler(&ddata->evtdev); in efm32_clock_event_handler()
[all …]
Dtimer-lpc32xx.c45 struct clock_event_device evtdev; member
68 struct clock_event_device *evtdev) in lpc32xx_clkevt_next_event() argument
71 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_next_event()
86 static int lpc32xx_clkevt_shutdown(struct clock_event_device *evtdev) in lpc32xx_clkevt_shutdown() argument
89 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_shutdown()
97 static int lpc32xx_clkevt_oneshot(struct clock_event_device *evtdev) in lpc32xx_clkevt_oneshot() argument
100 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_oneshot()
114 static int lpc32xx_clkevt_periodic(struct clock_event_device *evtdev) in lpc32xx_clkevt_periodic() argument
117 container_of(evtdev, struct lpc32xx_clock_event_ddata, evtdev); in lpc32xx_clkevt_periodic()
141 ddata->evtdev.event_handler(&ddata->evtdev); in lpc32xx_clock_event_handler()
[all …]
/Linux-v5.4/kernel/time/
Dtick-broadcast.c96 struct clock_event_device *cur = tick_broadcast_device.evtdev; in tick_install_broadcast_device()
107 tick_broadcast_device.evtdev = dev; in tick_install_broadcast_device()
127 return (dev && tick_broadcast_device.evtdev == dev); in tick_is_broadcast_device()
165 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_device_uses_broadcast()
248 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast()
274 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_do_broadcast()
300 td->evtdev->broadcast(mask); in tick_do_broadcast()
326 if (clockevent_state_shutdown(tick_broadcast_device.evtdev)) { in tick_handle_periodic_broadcast()
346 td->evtdev->event_handler(td->evtdev); in tick_handle_periodic_broadcast()
366 dev = td->evtdev; in tick_broadcast_control()
[all …]
Dtick-common.c71 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available()
211 if (!td->evtdev) { in tick_setup_device()
244 handler = td->evtdev->event_handler; in tick_setup_device()
245 next_event = td->evtdev->next_event; in tick_setup_device()
246 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device()
249 td->evtdev = newdev; in tick_setup_device()
279 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement()
346 curdev = td->evtdev; in tick_check_new_device()
396 if (!(td->evtdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_oneshot_control()
430 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.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.c743 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_stop_tick()
1050 return __this_cpu_read(tick_cpu_device.evtdev)->next_event; in tick_nohz_get_next_hrtimer()
1061 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.c1708 if (td && td->evtdev) in __hrtimer_peek_ahead_timers()
1709 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()