Home | History | Annotate | Download | only in radeon

Lines Matching refs:handles

224 		atomic_set(&rdev->vce.handles[i], 0);
262 if (atomic_read(&rdev->vce.handles[i]))
366 * radeon_vce_free_handles - free still open VCE handles
371 * Close all VCE handles still open by this file pointer
377 uint32_t handle = atomic_read(&rdev->vce.handles[i]);
389 atomic_set(&rdev->vce.handles[i], 0);
585 if (atomic_read(&p->rdev->vce.handles[i]) == handle) {
596 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) {
604 DRM_ERROR("No more free VCE handles!\n");
737 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0);