Lines Matching refs:eaction

827 	struct vmw_event_fence_action *eaction =  in vmw_event_fence_action_seq_passed()  local
829 struct drm_device *dev = eaction->dev; in vmw_event_fence_action_seq_passed()
830 struct drm_pending_event *event = eaction->event; in vmw_event_fence_action_seq_passed()
837 if (likely(eaction->tv_sec != NULL)) { in vmw_event_fence_action_seq_passed()
842 *eaction->tv_sec = ts.tv_sec; in vmw_event_fence_action_seq_passed()
843 *eaction->tv_usec = ts.tv_nsec / NSEC_PER_USEC; in vmw_event_fence_action_seq_passed()
846 drm_send_event_locked(dev, eaction->event); in vmw_event_fence_action_seq_passed()
847 eaction->event = NULL; in vmw_event_fence_action_seq_passed()
862 struct vmw_event_fence_action *eaction = in vmw_event_fence_action_cleanup() local
865 vmw_fence_obj_unreference(&eaction->fence); in vmw_event_fence_action_cleanup()
866 kfree(eaction); in vmw_event_fence_action_cleanup()
944 struct vmw_event_fence_action *eaction; in vmw_event_fence_action_queue() local
947 eaction = kzalloc(sizeof(*eaction), GFP_KERNEL); in vmw_event_fence_action_queue()
948 if (unlikely(!eaction)) in vmw_event_fence_action_queue()
951 eaction->event = event; in vmw_event_fence_action_queue()
953 eaction->action.seq_passed = vmw_event_fence_action_seq_passed; in vmw_event_fence_action_queue()
954 eaction->action.cleanup = vmw_event_fence_action_cleanup; in vmw_event_fence_action_queue()
955 eaction->action.type = VMW_ACTION_EVENT; in vmw_event_fence_action_queue()
957 eaction->fence = vmw_fence_obj_reference(fence); in vmw_event_fence_action_queue()
958 eaction->dev = &fman->dev_priv->drm; in vmw_event_fence_action_queue()
959 eaction->tv_sec = tv_sec; in vmw_event_fence_action_queue()
960 eaction->tv_usec = tv_usec; in vmw_event_fence_action_queue()
962 vmw_fence_obj_add_action(fence, &eaction->action); in vmw_event_fence_action_queue()