Lines Matching defs:cmd
494 u32 *cmd = (u32 *)(uintptr_t)cmdbuf->buf;
498 count = (cmd[0] >> 16) & 0x3fff;
500 if (cmd[0] & 0x8000) {
503 if (cmd[1] & (RADEON_GMC_SRC_PITCH_OFFSET_CNTL |
505 offset = cmd[2] << 10;
514 if ((cmd[1] & RADEON_GMC_SRC_PITCH_OFFSET_CNTL) &&
515 (cmd[1] & RADEON_GMC_DST_PITCH_OFFSET_CNTL)) {
516 offset = cmd[3] << 10;
528 OUT_RING(cmd[0]);
542 u32 *cmd = (u32 *)(uintptr_t)cmdbuf->buf;
546 count = (cmd[0]>>16) & 0x3fff;
548 if ((cmd[1] & 0x8000ffff) != 0x80000810) {
549 DRM_ERROR("Invalid indx_buffer reg address %08X\n", cmd[1]);
552 ret = !radeon_check_offset(dev_priv, cmd[2]);
554 DRM_ERROR("Invalid indx_buffer offset is %08X\n", cmd[2]);
559 OUT_RING(cmd[0]);