Lines Matching defs:scratch
1232 DRM_ERROR("failed to get scratch reg for rptr save (%d).\n", r);
3650 uint32_t scratch;
3655 r = radeon_scratch_get(rdev, &scratch);
3657 DRM_ERROR("radeon: cp failed to get scratch reg (%d).\n", r);
3660 WREG32(scratch, 0xCAFEDEAD);
3664 radeon_scratch_free(rdev, scratch);
3667 radeon_ring_write(ring, PACKET0(scratch, 0));
3671 tmp = RREG32(scratch);
3680 DRM_ERROR("radeon: ring test failed (scratch(0x%04X)=0x%08X)\n",
3681 scratch, tmp);
3684 radeon_scratch_free(rdev, scratch);
3706 uint32_t scratch;
3711 r = radeon_scratch_get(rdev, &scratch);
3713 DRM_ERROR("radeon: failed to get scratch reg (%d).\n", r);
3716 WREG32(scratch, 0xCAFEDEAD);
3722 ib.ptr[0] = PACKET0(scratch, 0);
3748 tmp = RREG32(scratch);
3757 DRM_ERROR("radeon: ib test failed (scratch(0x%04X)=0x%08X)\n",
3758 scratch, tmp);
3764 radeon_scratch_free(rdev, scratch);
4025 /* Initialize scratch registers */