Lines Matching refs:evt
25 struct pm_policy_event *evt; in update_next_event() local
29 SYS_SLIST_FOR_EACH_CONTAINER(&events_list, evt, node) { in update_next_event()
31 next_event = evt; in update_next_event()
35 if (next_event->uptime_ticks <= evt->uptime_ticks) { in update_next_event()
39 next_event = evt; in update_next_event()
62 void pm_policy_event_register(struct pm_policy_event *evt, int64_t uptime_ticks) in pm_policy_event_register() argument
65 evt->uptime_ticks = uptime_ticks; in pm_policy_event_register()
66 sys_slist_append(&events_list, &evt->node); in pm_policy_event_register()
71 void pm_policy_event_update(struct pm_policy_event *evt, int64_t uptime_ticks) in pm_policy_event_update() argument
74 evt->uptime_ticks = uptime_ticks; in pm_policy_event_update()
79 void pm_policy_event_unregister(struct pm_policy_event *evt) in pm_policy_event_unregister() argument
82 (void)sys_slist_find_and_remove(&events_list, &evt->node); in pm_policy_event_unregister()