Lines Matching refs:handles
162 * Limit the number of UVD handles depending on
220 atomic_set(&rdev->uvd.handles[i], 0);
257 uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
274 atomic_set(&rdev->uvd.handles[i], 0);
332 uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
349 atomic_set(&rdev->uvd.handles[i], 0);
517 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
522 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) {
529 DRM_ERROR("No more free UVD handles!\n");
543 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
558 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0);
860 if (!atomic_read(&rdev->uvd.handles[i]))