Lines Matching refs:eaction
528 struct vmw_event_fence_action *eaction =
530 struct drm_device *dev = eaction->dev;
531 struct drm_pending_event *event = eaction->event;
538 if (likely(eaction->tv_sec != NULL)) {
543 *eaction->tv_sec = ts.tv_sec;
544 *eaction->tv_usec = ts.tv_nsec / NSEC_PER_USEC;
547 drm_send_event_locked(dev, eaction->event);
548 eaction->event = NULL;
551 kfree(eaction);
580 struct vmw_event_fence_action *eaction;
583 eaction = kzalloc(sizeof(*eaction), GFP_KERNEL);
584 if (unlikely(!eaction))
587 eaction->event = event;
588 eaction->dev = &fman->dev_priv->drm;
589 eaction->tv_sec = tv_sec;
590 eaction->tv_usec = tv_usec;
593 if (dma_fence_add_callback(&fence->base, &eaction->base,
595 vmw_event_fence_action_seq_passed(&fence->base, &eaction->base);