Lines Matching refs:handles
166 atomic_set(&rdev->vce.handles[i], 0);
204 if (atomic_read(&rdev->vce.handles[i]))
308 * radeon_vce_free_handles - free still open VCE handles
313 * Close all VCE handles still open by this file pointer
319 uint32_t handle = atomic_read(&rdev->vce.handles[i]);
331 atomic_set(&rdev->vce.handles[i], 0);
527 if (atomic_read(&p->rdev->vce.handles[i]) == handle) {
538 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) {
546 DRM_ERROR("No more free VCE handles!\n");
679 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0);