Searched refs:hw_lock (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_lock.c | 46 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 D | drm_drv.c | 305 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 D | drm_ioctl.c | 280 = (dev->lock.hw_lock in drm_getstats() 281 ? dev->lock.hw_lock->lock : 0); in drm_getstats()
|
H A D | drm_context.c | 290 if (!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { in drm_context_switch_complete()
|
H A D | drmP.h | 280 if (!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) || \ 510 drm_hw_lock_t *hw_lock; /* Hardware lock */ member
|
H A D | drm_bufs.c | 153 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 D | radeon_state.c | 3319 value = (long)dev->lock.hw_lock; in radeon_cp_getparam()
|