Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/include/linux/
H A Datomic.h121 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_vce.c539 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { in radeon_vce_validate_handle()
680 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0); in radeon_vce_cs_parse()
H A Dradeon_uvd.c522 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { in radeon_uvd_cs_msg()
558 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0); in radeon_uvd_cs_msg()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_uvd.c751 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg()
784 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0); in amdgpu_uvd_cs_msg()
H A Damdgpu_fence.c238 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq); in amdgpu_fence_process()
H A Damdgpu_vce.c690 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle()