Searched refs:lock_data (Results 1 – 2 of 2) sorted by relevance
41 static int drm_lock_take(struct drm_lock_data *lock_data, unsigned int context);177 int drm_lock_take(struct drm_lock_data *lock_data, in drm_lock_take() argument181 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take()183 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()190 ((lock_data->user_waiters + lock_data->kernel_waiters > 1) ? in drm_lock_take()195 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()226 static int drm_lock_transfer(struct drm_lock_data *lock_data, in drm_lock_transfer() argument230 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer()232 lock_data->file_priv = NULL; in drm_lock_transfer()252 int drm_legacy_lock_free(struct drm_lock_data *lock_data, unsigned int context) in drm_legacy_lock_free() argument[all …]
1564 u32 lock_arg, lock_data; in handle_local_lock() local1574 lock_data = be32_to_cpu(payload[1]); in handle_local_lock()1577 lock_data = 0; in handle_local_lock()1585 reg_write(ohci, OHCI1394_CSRData, lock_data); in handle_local_lock()