Lines Matching refs:eaction
830 struct vmw_event_fence_action *eaction =
832 struct drm_device *dev = eaction->dev;
833 struct drm_pending_event *event = eaction->event;
840 if (likely(eaction->tv_sec != NULL)) {
845 *eaction->tv_sec = ts.tv_sec;
846 *eaction->tv_usec = ts.tv_nsec / NSEC_PER_USEC;
849 drm_send_event_locked(dev, eaction->event);
850 eaction->event = NULL;
865 struct vmw_event_fence_action *eaction =
868 vmw_fence_obj_unreference(&eaction->fence);
869 kfree(eaction);
947 struct vmw_event_fence_action *eaction;
950 eaction = kzalloc(sizeof(*eaction), GFP_KERNEL);
951 if (unlikely(!eaction))
954 eaction->event = event;
956 eaction->action.seq_passed = vmw_event_fence_action_seq_passed;
957 eaction->action.cleanup = vmw_event_fence_action_cleanup;
958 eaction->action.type = VMW_ACTION_EVENT;
960 eaction->fence = vmw_fence_obj_reference(fence);
961 eaction->dev = &fman->dev_priv->drm;
962 eaction->tv_sec = tv_sec;
963 eaction->tv_usec = tv_usec;
965 vmw_fence_obj_add_action(fence, &eaction->action);