Lines Matching refs:ref
362 struct i915_active *ref,
363 int (*active)(struct i915_active *ref),
364 void (*retire)(struct i915_active *ref),
366 #define i915_active_init(i915, ref, active, retire) do { \ argument
369 __i915_active_init(i915, ref, active, retire, &__key); \
372 int i915_active_ref(struct i915_active *ref,
376 int i915_active_wait(struct i915_active *ref);
379 struct i915_active *ref);
383 int i915_active_acquire(struct i915_active *ref);
384 void i915_active_release(struct i915_active *ref);
385 void __i915_active_release_nested(struct i915_active *ref, int subclass);
387 bool i915_active_trygrab(struct i915_active *ref);
388 void i915_active_ungrab(struct i915_active *ref);
391 i915_active_is_idle(const struct i915_active *ref) in i915_active_is_idle() argument
393 return !atomic_read(&ref->count); in i915_active_is_idle()
397 void i915_active_fini(struct i915_active *ref);
399 static inline void i915_active_fini(struct i915_active *ref) { } in i915_active_fini() argument
402 int i915_active_acquire_preallocate_barrier(struct i915_active *ref,
404 void i915_active_acquire_barrier(struct i915_active *ref);