Home
last modified time | relevance | path

Searched refs:lock_data (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/
Ddrm_lock.c41 static int drm_lock_take(struct drm_lock_data *lock_data, unsigned int context);
53 int drm_lock_take(struct drm_lock_data *lock_data, in drm_lock_take() argument
57 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take()
59 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()
66 ((lock_data->user_waiters + lock_data->kernel_waiters > 1) ? in drm_lock_take()
71 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()
102 static int drm_lock_transfer(struct drm_lock_data *lock_data, in drm_lock_transfer() argument
106 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer()
108 lock_data->file_priv = NULL; in drm_lock_transfer()
117 static int drm_legacy_lock_free(struct drm_lock_data *lock_data, in drm_legacy_lock_free() argument
[all …]
/drivers/firewire/
Dohci.c1558 u32 lock_arg, lock_data; in handle_local_lock() local
1568 lock_data = be32_to_cpu(payload[1]); in handle_local_lock()
1571 lock_data = 0; in handle_local_lock()
1579 reg_write(ohci, OHCI1394_CSRData, lock_data); in handle_local_lock()