Lines Matching refs:tf
58 struct timed_fence *tf = from_timer(tf, t, timer); in timed_fence_wake() local
60 i915_sw_fence_commit(&tf->fence); in timed_fence_wake()
63 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
65 onstack_fence_init(&tf->fence); in timed_fence_init()
67 timer_setup_on_stack(&tf->timer, timed_fence_wake, 0); in timed_fence_init()
70 mod_timer(&tf->timer, expires); in timed_fence_init()
72 i915_sw_fence_commit(&tf->fence); in timed_fence_init()
75 void timed_fence_fini(struct timed_fence *tf) in timed_fence_fini() argument
77 if (del_timer_sync(&tf->timer)) in timed_fence_fini()
78 i915_sw_fence_commit(&tf->fence); in timed_fence_fini()
80 destroy_timer_on_stack(&tf->timer); in timed_fence_fini()
81 i915_sw_fence_fini(&tf->fence); in timed_fence_fini()