Home
last modified time | relevance | path

Searched refs:mmio_idx_lock (Results 1 – 6 of 6) sorted by relevance

/openbsd/sys/dev/pci/drm/radeon/
H A Dradeon_ttm.c857 spin_lock_irqsave(&rdev->mmio_idx_lock, flags); in radeon_ttm_vram_read()
862 spin_unlock_irqrestore(&rdev->mmio_idx_lock, flags); in radeon_ttm_vram_read()
H A Dr100.c4125 spin_lock_irqsave(&rdev->mmio_idx_lock, flags); in r100_mm_rreg_slow()
4128 spin_unlock_irqrestore(&rdev->mmio_idx_lock, flags); in r100_mm_rreg_slow()
4136 spin_lock_irqsave(&rdev->mmio_idx_lock, flags); in r100_mm_wreg_slow()
4139 spin_unlock_irqrestore(&rdev->mmio_idx_lock, flags); in r100_mm_wreg_slow()
H A Dradeon_device.c1399 mtx_init(&rdev->mmio_idx_lock, IPL_TTY); in radeon_device_init()
H A Dradeon.h2372 spinlock_t mmio_idx_lock; member
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu.h844 spinlock_t mmio_idx_lock; member
H A Damdgpu_device.c261 spin_lock_irqsave(&adev->mmio_idx_lock, flags); in amdgpu_device_mm_access()
276 spin_unlock_irqrestore(&adev->mmio_idx_lock, flags); in amdgpu_device_mm_access()
3609 mtx_init(&adev->mmio_idx_lock, IPL_TTY); in amdgpu_device_init()