Lines Matching refs:eaction
909 struct vmw_event_fence_action *eaction =
911 struct drm_device *dev = eaction->dev;
912 struct drm_pending_event *event = eaction->event;
919 if (likely(eaction->tv_sec != NULL)) {
924 *eaction->tv_sec = ts.tv_sec;
925 *eaction->tv_usec = ts.tv_nsec / NSEC_PER_USEC;
928 drm_send_event_locked(dev, eaction->event);
929 eaction->event = NULL;
944 struct vmw_event_fence_action *eaction =
947 vmw_fence_obj_unreference(&eaction->fence);
948 kfree(eaction);
1022 struct vmw_event_fence_action *eaction;
1025 eaction = kzalloc(sizeof(*eaction), GFP_KERNEL);
1026 if (unlikely(!eaction))
1029 eaction->event = event;
1031 eaction->action.seq_passed = vmw_event_fence_action_seq_passed;
1032 eaction->action.cleanup = vmw_event_fence_action_cleanup;
1033 eaction->action.type = VMW_ACTION_EVENT;
1035 eaction->fence = vmw_fence_obj_reference(fence);
1036 eaction->dev = fman->dev_priv->dev;
1037 eaction->tv_sec = tv_sec;
1038 eaction->tv_usec = tv_usec;
1040 vmw_fence_obj_add_action(fence, &eaction->action);