Lines Matching defs:ref
33 struct i915_active *ref; member
81 struct i915_active *ref = addr; in active_debug_hint() local
91 static void debug_active_init(struct i915_active *ref) in debug_active_init()
96 static void debug_active_activate(struct i915_active *ref) in debug_active_activate()
102 static void debug_active_deactivate(struct i915_active *ref) in debug_active_deactivate()
109 static void debug_active_fini(struct i915_active *ref) in debug_active_fini()
114 static void debug_active_assert(struct i915_active *ref) in debug_active_assert()
121 static inline void debug_active_init(struct i915_active *ref) { } in debug_active_init()
122 static inline void debug_active_activate(struct i915_active *ref) { } in debug_active_activate()
123 static inline void debug_active_deactivate(struct i915_active *ref) { } in debug_active_deactivate()
124 static inline void debug_active_fini(struct i915_active *ref) { } in debug_active_fini()
125 static inline void debug_active_assert(struct i915_active *ref) { } in debug_active_assert()
130 __active_retire(struct i915_active *ref) in __active_retire()
184 struct i915_active *ref = container_of(wrk, typeof(*ref), work); in active_work() local
194 active_retire(struct i915_active *ref) in active_retire()
237 static struct active_node *__active_lookup(struct i915_active *ref, u64 idx) in __active_lookup()
296 active_instance(struct i915_active *ref, u64 idx) in active_instance()
345 void __i915_active_init(struct i915_active *ref, in __i915_active_init()
346 int (*active)(struct i915_active *ref), in __i915_active_init()
347 void (*retire)(struct i915_active *ref), in __i915_active_init()
375 static bool ____active_del_barrier(struct i915_active *ref, in ____active_del_barrier()
418 __active_del_barrier(struct i915_active *ref, struct active_node *node) in __active_del_barrier()
424 replace_barrier(struct i915_active *ref, struct i915_active_fence *active) in replace_barrier()
437 int i915_active_ref(struct i915_active *ref, u64 idx, struct dma_fence *fence) in i915_active_ref()
472 __i915_active_set_fence(struct i915_active *ref, in __i915_active_set_fence()
491 __active_fence(struct i915_active *ref, u64 idx) in __active_fence()
507 __i915_active_ref(struct i915_active *ref, u64 idx, struct dma_fence *fence) in __i915_active_ref()
514 i915_active_set_exclusive(struct i915_active *ref, struct dma_fence *f) in i915_active_set_exclusive()
520 bool i915_active_acquire_if_busy(struct i915_active *ref) in i915_active_acquire_if_busy()
526 static void __i915_active_activate(struct i915_active *ref) in __i915_active_activate()
534 int i915_active_acquire(struct i915_active *ref) in i915_active_acquire()
561 int i915_active_acquire_for_context(struct i915_active *ref, u64 idx) in i915_active_acquire_for_context()
579 void i915_active_release(struct i915_active *ref) in i915_active_release()
615 static int flush_lazy_signals(struct i915_active *ref) in flush_lazy_signals()
632 int __i915_active_wait(struct i915_active *ref, int state) in __i915_active_wait()
682 struct i915_active *ref; member
699 static int __await_barrier(struct i915_active *ref, struct i915_sw_fence *fence) in __await_barrier()
722 static int await_active(struct i915_active *ref, in await_active()
770 struct i915_active *ref, in i915_request_await_active()
783 struct i915_active *ref, in i915_sw_fence_await_active()
789 void i915_active_fini(struct i915_active *ref) in i915_active_fini()
805 static struct active_node *reuse_idle_barrier(struct i915_active *ref, u64 idx) in reuse_idle_barrier()
888 int i915_active_acquire_preallocate_barrier(struct i915_active *ref, in i915_active_acquire_preallocate_barrier()
970 void i915_active_acquire_barrier(struct i915_active *ref) in i915_active_acquire_barrier()
1172 struct kref ref; member
1175 struct i915_active *i915_active_get(struct i915_active *ref) in i915_active_get()
1183 static void auto_release(struct kref *ref) in auto_release()
1191 void i915_active_put(struct i915_active *ref) in i915_active_put()
1198 static int auto_active(struct i915_active *ref) in auto_active()
1205 auto_retire(struct i915_active *ref) in auto_retire()