Lines Matching refs:next_event
318 for (next = dev->next_event; ;) { in tick_handle_periodic_broadcast()
581 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local
586 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast()
587 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast()
593 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast()
601 } else if (td->evtdev->next_event.tv64 < next_event.tv64) { in tick_handle_oneshot_broadcast()
602 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast()
639 if (next_event.tv64 != KTIME_MAX) { in tick_handle_oneshot_broadcast()
644 if (tick_broadcast_set_event(dev, next_cpu, next_event, 0)) in tick_handle_oneshot_broadcast()
654 if (bc->next_event.tv64 == KTIME_MAX) in broadcast_needs_cpu()
670 if (dev->next_event.tv64 < bc->next_event.tv64) in broadcast_shutdown_local()
728 dev->next_event.tv64 < bc->next_event.tv64) in tick_broadcast_oneshot_control()
729 tick_broadcast_set_event(bc, cpu, dev->next_event, 1); in tick_broadcast_oneshot_control()
760 if (dev->next_event.tv64 == KTIME_MAX) in tick_broadcast_oneshot_control()
795 if (dev->next_event.tv64 <= now.tv64) { in tick_broadcast_oneshot_control()
803 tick_program_event(dev->next_event, 1); in tick_broadcast_oneshot_control()
832 td->evtdev->next_event = expires; in tick_broadcast_init_next_event()
866 bc->next_event.tv64 = KTIME_MAX; in tick_broadcast_setup_oneshot()
908 clockevents_program_event(bc, bc->next_event, 1); in hotplug_cpu__broadcast_tick_pull()