Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
A Ddrm_lock.c65 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()
72 ((lock_data->user_waiters + lock_data->kernel_waiters > 1) ? in drm_lock_take()
114 lock_data->file_priv = NULL; in drm_lock_transfer()
129 spin_lock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
131 drm_lock_transfer(lock_data, 0); in drm_legacy_lock_free()
132 lock_data->idle_has_lock = 1; in drm_legacy_lock_free()
295 lock_data->kernel_waiters++; in drm_legacy_idlelock_take()
296 if (!lock_data->idle_has_lock) { in drm_legacy_idlelock_take()
303 lock_data->idle_has_lock = 1; in drm_legacy_idlelock_take()
316 if (lock_data->idle_has_lock) { in drm_legacy_idlelock_release()
[all …]
/linux/drivers/regulator/
A Dcore.c5867 struct summary_lock_data *lock_data = data; in regulator_summary_lock_one() local
5870 if (rdev != *lock_data->old_contended_rdev) { in regulator_summary_lock_one()
5874 *lock_data->new_contended_rdev = rdev; in regulator_summary_lock_one()
5878 *lock_data->old_contended_rdev = NULL; in regulator_summary_lock_one()
5887 struct summary_lock_data *lock_data = data; in regulator_summary_unlock_one() local
5889 if (lock_data) { in regulator_summary_unlock_one()
5890 if (rdev == *lock_data->new_contended_rdev) in regulator_summary_unlock_one()
5903 struct summary_lock_data lock_data; in regulator_summary_lock_all() local
5906 lock_data.ww_ctx = ww_ctx; in regulator_summary_lock_all()
5907 lock_data.new_contended_rdev = new_contended_rdev; in regulator_summary_lock_all()
[all …]
/linux/drivers/firewire/
A Dohci.c1545 u32 lock_arg, lock_data; in handle_local_lock() local
1555 lock_data = be32_to_cpu(payload[1]); in handle_local_lock()
1558 lock_data = 0; in handle_local_lock()
1566 reg_write(ohci, OHCI1394_CSRData, lock_data); in handle_local_lock()

Completed in 25 milliseconds