Lines Matching defs:scratch
1224 DRM_ERROR("failed to get scratch reg for rptr save (%d).\n", r);
3653 uint32_t scratch;
3658 r = radeon_scratch_get(rdev, &scratch);
3660 DRM_ERROR("radeon: cp failed to get scratch reg (%d).\n", r);
3663 WREG32(scratch, 0xCAFEDEAD);
3667 radeon_scratch_free(rdev, scratch);
3670 radeon_ring_write(ring, PACKET0(scratch, 0));
3674 tmp = RREG32(scratch);
3683 DRM_ERROR("radeon: ring test failed (scratch(0x%04X)=0x%08X)\n",
3684 scratch, tmp);
3687 radeon_scratch_free(rdev, scratch);
3709 uint32_t scratch;
3714 r = radeon_scratch_get(rdev, &scratch);
3716 DRM_ERROR("radeon: failed to get scratch reg (%d).\n", r);
3719 WREG32(scratch, 0xCAFEDEAD);
3725 ib.ptr[0] = PACKET0(scratch, 0);
3751 tmp = RREG32(scratch);
3760 DRM_ERROR("radeon: ib test failed (scratch(0x%04X)=0x%08X)\n",
3761 scratch, tmp);
3767 radeon_scratch_free(rdev, scratch);
4037 /* Initialize scratch registers */