Home
last modified time | relevance | path

Searched refs:hw_lock (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_lock.c46 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take()
81 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer()
134 lock.context, DRM_CURRENTPID, dev->lock.hw_lock->lock, in drm_lock()
174 lock.context, DRM_CURRENTPID, dev->lock.hw_lock->lock, in drm_unlock()
185 if (drm_lock_free(dev, &dev->lock.hw_lock->lock, lock.context)) { in drm_unlock()
H A Ddrm_drv.c305 if (dev->lock.hw_lock) { in drm_lastclose()
306 dev->lock.hw_lock = NULL; /* SHM removed */ in drm_lastclose()
480 if (dev->lock.hw_lock && in drm_close()
481 _DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) && in drm_close()
485 _DRM_LOCKING_CONTEXT(dev->lock.hw_lock->lock)); in drm_close()
488 (void) drm_lock_free(dev, &dev->lock.hw_lock->lock, in drm_close()
489 _DRM_LOCKING_CONTEXT(dev->lock.hw_lock->lock)); in drm_close()
491 dev->lock.hw_lock != NULL) { in drm_close()
H A Ddrm_ioctl.c280 = (dev->lock.hw_lock in drm_getstats()
281 ? dev->lock.hw_lock->lock : 0); in drm_getstats()
H A Ddrm_context.c290 if (!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { in drm_context_switch_complete()
H A DdrmP.h280 if (!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) || \
510 drm_hw_lock_t *hw_lock; /* Hardware lock */ member
H A Ddrm_bufs.c153 if (dev->lock.hw_lock != NULL) { in drm_addmap()
158 dev->lock.hw_lock = map->handle; /* Pointer to lock */ in drm_addmap()
/titanic_41/usr/src/uts/intel/io/drm/
H A Dradeon_state.c3319 value = (long)dev->lock.hw_lock; in radeon_cp_getparam()