Searched refs:evtdev (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/clocksource/ |
D | timer-lpc32xx.c | 41 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-v6.1/kernel/time/ |
D | tick-broadcast.c | 164 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 …]
|
D | tick-common.c | 73 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 …]
|
D | tick-oneshot.c | 25 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()
|
D | tick-sched.h | 13 struct clock_event_device *evtdev; member
|
D | clockevents.c | 394 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()
|
D | tick-sched.c | 870 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()
|
D | timer_list.c | 180 struct clock_event_device *dev = td->evtdev; in print_tickdevice()
|
D | hrtimer.c | 1881 if (td && td->evtdev) in __hrtimer_peek_ahead_timers() 1882 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()
|