Lines Matching refs:next_event
329 ktime_t next = ktime_add(dev->next_event, tick_period); in tick_handle_periodic_broadcast()
602 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local
607 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast()
608 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast()
614 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast()
622 } else if (td->evtdev->next_event.tv64 < next_event.tv64) { in tick_handle_oneshot_broadcast()
623 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast()
660 if (next_event.tv64 != KTIME_MAX) in tick_handle_oneshot_broadcast()
661 tick_broadcast_set_event(dev, next_cpu, next_event); in tick_handle_oneshot_broadcast()
675 if (bc->next_event.tv64 == KTIME_MAX) in broadcast_needs_cpu()
691 if (dev->next_event.tv64 < bc->next_event.tv64) in broadcast_shutdown_local()
757 } else if (dev->next_event.tv64 < bc->next_event.tv64) { in __tick_broadcast_oneshot_control()
758 tick_broadcast_set_event(bc, cpu, dev->next_event); in __tick_broadcast_oneshot_control()
792 if (dev->next_event.tv64 == KTIME_MAX) in __tick_broadcast_oneshot_control()
827 if (dev->next_event.tv64 <= now.tv64) { in __tick_broadcast_oneshot_control()
835 tick_program_event(dev->next_event, 1); in __tick_broadcast_oneshot_control()
863 td->evtdev->next_event = expires; in tick_broadcast_init_next_event()
897 bc->next_event.tv64 = KTIME_MAX; in tick_broadcast_setup_oneshot()
939 clockevents_program_event(bc, bc->next_event, 1); in hotplug_cpu__broadcast_tick_pull()