Lines Matching refs:tick_broadcast_device
27 static struct tick_device tick_broadcast_device; variable
59 return &tick_broadcast_device; in tick_get_broadcast_device()
94 if (tick_broadcast_device.mode == TICKDEV_MODE_ONESHOT && in tick_check_broadcast_device()
165 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()
265 if (tick_broadcast_device.mode == TICKDEV_MODE_PERIODIC) in tick_device_uses_broadcast()
287 switch (tick_broadcast_device.mode) { in tick_device_uses_broadcast()
356 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_do_broadcast()
408 if (clockevent_state_shutdown(tick_broadcast_device.evtdev)) { in tick_handle_periodic_broadcast()
460 bc = tick_broadcast_device.evtdev; in tick_broadcast_control()
479 tick_broadcast_device.mode == TICKDEV_MODE_PERIODIC) in tick_broadcast_control()
489 if (tick_broadcast_device.mode == in tick_broadcast_control()
501 if (tick_broadcast_device.mode == TICKDEV_MODE_PERIODIC) in tick_broadcast_control()
526 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_shutdown_broadcast()
528 if (tick_broadcast_device.mode == TICKDEV_MODE_PERIODIC) { in tick_shutdown_broadcast()
556 bc = tick_broadcast_device.evtdev; in tick_suspend_broadcast()
573 if (tick_broadcast_device.mode == TICKDEV_MODE_ONESHOT) in tick_resume_check_broadcast()
586 bc = tick_broadcast_device.evtdev; in tick_resume_broadcast()
591 switch (tick_broadcast_device.mode) { in tick_resume_broadcast()
801 bc = tick_broadcast_device.evtdev; in ___tick_broadcast_oneshot_control()
819 if (tick_broadcast_device.mode == TICKDEV_MODE_PERIODIC) { in ___tick_broadcast_oneshot_control()
967 if (tick_broadcast_device.evtdev) in __tick_broadcast_oneshot_control()
1128 oldmode = tick_broadcast_device.mode; in tick_broadcast_switch_to_oneshot()
1129 tick_broadcast_device.mode = TICKDEV_MODE_ONESHOT; in tick_broadcast_switch_to_oneshot()
1130 bc = tick_broadcast_device.evtdev; in tick_broadcast_switch_to_oneshot()
1144 bc = tick_broadcast_device.evtdev; in hotplug_cpu__broadcast_tick_pull()
1176 return tick_broadcast_device.mode == TICKDEV_MODE_ONESHOT; in tick_broadcast_oneshot_active()
1184 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_broadcast_oneshot_available()
1192 struct clock_event_device *bc = tick_broadcast_device.evtdev; in __tick_broadcast_oneshot_control()