• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/drm/ttm/

Lines Matching refs:ttm_lock

31 /** @file ttm_lock.h
57 * struct ttm_lock
69 struct ttm_lock {
84 * @lock: Pointer to a struct ttm_lock
87 extern void ttm_lock_init(struct ttm_lock *lock);
92 * @lock: Pointer to a struct ttm_lock
96 extern void ttm_read_unlock(struct ttm_lock *lock);
101 * @lock: Pointer to a struct ttm_lock
108 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
113 * @lock: Pointer to a struct ttm_lock
125 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
130 * @lock: Pointer to a struct ttm_lock
134 extern void ttm_write_unlock(struct ttm_lock *lock);
139 * @lock: Pointer to a struct ttm_lock
146 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
151 * @lock: Pointer to a struct ttm_lock
155 extern void ttm_lock_downgrade(struct ttm_lock *lock);
160 * @lock: Pointer to a struct ttm_lock
164 extern void ttm_suspend_lock(struct ttm_lock *lock);
169 * @lock: Pointer to a struct ttm_lock
173 extern void ttm_suspend_unlock(struct ttm_lock *lock);
178 * @lock: Pointer to a struct ttm_lock
187 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
193 * @lock: Pointer to a struct ttm_lock
199 extern int ttm_vt_unlock(struct ttm_lock *lock);
204 * @lock: Pointer to a struct ttm_lock
208 extern void ttm_write_unlock(struct ttm_lock *lock);
213 * @lock: Pointer to a struct ttm_lock
220 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
225 * @lock: Pointer to a struct ttm_lock
239 static inline void ttm_lock_set_kill(struct ttm_lock *lock, bool val,