Searched refs:lock_data (Results 1 – 3 of 3) sorted by relevance
47 static int drm_lock_take(struct drm_lock_data *lock_data, unsigned int context);59 int drm_lock_take(struct drm_lock_data *lock_data, in drm_lock_take() argument63 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take()65 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()72 ((lock_data->user_waiters + lock_data->kernel_waiters > 1) ? in drm_lock_take()77 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()108 static int drm_lock_transfer(struct drm_lock_data *lock_data, in drm_lock_transfer() argument112 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer()114 lock_data->file_priv = NULL; in drm_lock_transfer()123 static int drm_legacy_lock_free(struct drm_lock_data *lock_data, in drm_legacy_lock_free() argument[all …]
5526 struct summary_lock_data *lock_data = data; in regulator_summary_lock_one() local5529 if (rdev != *lock_data->old_contended_rdev) { in regulator_summary_lock_one()5530 ret = regulator_lock_nested(rdev, lock_data->ww_ctx); in regulator_summary_lock_one()5533 *lock_data->new_contended_rdev = rdev; in regulator_summary_lock_one()5537 *lock_data->old_contended_rdev = NULL; in regulator_summary_lock_one()5546 struct summary_lock_data *lock_data = data; in regulator_summary_unlock_one() local5548 if (lock_data) { in regulator_summary_unlock_one()5549 if (rdev == *lock_data->new_contended_rdev) in regulator_summary_unlock_one()5562 struct summary_lock_data lock_data; in regulator_summary_lock_all() local5565 lock_data.ww_ctx = ww_ctx; in regulator_summary_lock_all()[all …]
1549 u32 lock_arg, lock_data; in handle_local_lock() local1559 lock_data = be32_to_cpu(payload[1]); in handle_local_lock()1562 lock_data = 0; in handle_local_lock()1570 reg_write(ohci, OHCI1394_CSRData, lock_data); in handle_local_lock()