• Home
  • Raw
  • Download

Lines Matching refs:f

34 static const char *host1x_syncpt_fence_get_driver_name(struct dma_fence *f)  in host1x_syncpt_fence_get_driver_name()  argument
39 static const char *host1x_syncpt_fence_get_timeline_name(struct dma_fence *f) in host1x_syncpt_fence_get_timeline_name() argument
44 static struct host1x_syncpt_fence *to_host1x_fence(struct dma_fence *f) in to_host1x_fence() argument
46 return container_of(f, struct host1x_syncpt_fence, base); in to_host1x_fence()
49 static bool host1x_syncpt_fence_enable_signaling(struct dma_fence *f) in host1x_syncpt_fence_enable_signaling() argument
51 struct host1x_syncpt_fence *sf = to_host1x_fence(f); in host1x_syncpt_fence_enable_signaling()
57 dma_fence_get(f); in host1x_syncpt_fence_enable_signaling()
72 HOST1X_INTR_ACTION_SIGNAL_FENCE, f, in host1x_syncpt_fence_enable_signaling()
76 dma_fence_put(f); in host1x_syncpt_fence_enable_signaling()
92 static void host1x_syncpt_fence_release(struct dma_fence *f) in host1x_syncpt_fence_release() argument
94 struct host1x_syncpt_fence *sf = to_host1x_fence(f); in host1x_syncpt_fence_release()
99 dma_fence_free(f); in host1x_syncpt_fence_release()
109 void host1x_fence_signal(struct host1x_syncpt_fence *f) in host1x_fence_signal() argument
111 if (atomic_xchg(&f->signaling, 1)) in host1x_fence_signal()
118 cancel_delayed_work_sync(&f->timeout_work); in host1x_fence_signal()
120 host1x_intr_put_ref(f->sp->host, f->sp->id, f->waiter_ref, false); in host1x_fence_signal()
122 dma_fence_signal(&f->base); in host1x_fence_signal()
123 dma_fence_put(&f->base); in host1x_fence_signal()
129 struct host1x_syncpt_fence *f = in do_fence_timeout() local
132 if (atomic_xchg(&f->signaling, 1)) in do_fence_timeout()
139 host1x_intr_put_ref(f->sp->host, f->sp->id, f->waiter_ref, true); in do_fence_timeout()
141 dma_fence_set_error(&f->base, -ETIMEDOUT); in do_fence_timeout()
142 dma_fence_signal(&f->base); in do_fence_timeout()
143 dma_fence_put(&f->base); in do_fence_timeout()