Searched refs:hw_lock (Results 1 - 11 of 11) sorted by relevance

/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_lock.c72 if (master->lock.hw_lock == NULL)
77 master->lock.hw_lock->lock, lock->flags);
168 volatile unsigned int *lock = &lock_data->hw_lock->lock;
214 volatile unsigned int *lock = &lock_data->hw_lock->lock;
238 volatile unsigned int *lock = &lock_data->hw_lock->lock;
296 volatile unsigned int *lock = &lock_data->hw_lock->lock;
315 return (file_priv->lock_count && master->lock.hw_lock &&
316 _DRM_LOCK_IS_HELD(master->lock.hw_lock->lock) &&
H A Ddrm_fops.c278 DRM_CURRENTPID, _DRM_LOCKING_CONTEXT(master->lock.hw_lock->lock));
280 _DRM_LOCKING_CONTEXT(master->lock.hw_lock->lock));
393 if (master->lock.hw_lock) {
394 master->lock.hw_lock = NULL;
H A Ddrm_context.c276 if (file_priv->master->lock.hw_lock != NULL &&
277 !_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) {
H A Ddrm_ioctl.c229 (file->master->lock.hw_lock ? file->master->lock.hw_lock->lock : 0);
H A Ddrm_bufs.c219 if (dev->primary->master->lock.hw_lock != NULL) {
224 dev->primary->master->lock.hw_lock = map->handle; /* Pointer to lock */
/solaris-x11-s12/open-src/kernel/i915/src/
H A Dintel_sideband.c70 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
82 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
94 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
H A Dintel_pm.c3061 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
3097 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
3125 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
3226 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
3380 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
3470 mutex_lock(&dev_priv->rps.hw_lock);
3473 mutex_unlock(&dev_priv->rps.hw_lock);
3525 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock));
3860 mutex_lock(&dev_priv->rps.hw_lock);
3865 mutex_unlock(&dev_priv->rps.hw_lock);
[all...]
H A Di915_drv.h767 struct mutex hw_lock; member in struct:intel_gen6_power_mgmt
H A Di915_dma.c1485 spin_lock_init(&dev_priv->rps.hw_lock);
H A Di915_irq.c681 mutex_lock(&dev_priv->rps.hw_lock);
707 mutex_unlock(&dev_priv->rps.hw_lock);
/solaris-x11-s12/open-src/kernel/sys/drm/
H A DdrmP.h365 if (!_DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock) || \
368 __func__, _DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock),\
657 struct drm_hw_lock *hw_lock; /**< Hardware lock */ member in struct:drm_lock_data

Completed in 2363 milliseconds