linux/drivers/gpu/drm/radeon/r420d.h

/*
 * Copyright 2008 Advanced Micro Devices, Inc.
 * Copyright 2008 Red Hat Inc.
 * Copyright 2009 Jerome Glisse.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Authors: Dave Airlie
 *          Alex Deucher
 *          Jerome Glisse
 */
#ifndef R420D_H
#define R420D_H

#define R_0001F8_MC_IND_INDEX
#define S_0001F8_MC_IND_ADDR(x)
#define G_0001F8_MC_IND_ADDR(x)
#define C_0001F8_MC_IND_ADDR
#define S_0001F8_MC_IND_WR_EN(x)
#define G_0001F8_MC_IND_WR_EN(x)
#define C_0001F8_MC_IND_WR_EN
#define R_0001FC_MC_IND_DATA
#define S_0001FC_MC_IND_DATA(x)
#define G_0001FC_MC_IND_DATA(x)
#define C_0001FC_MC_IND_DATA
#define R_0007C0_CP_STAT
#define S_0007C0_MRU_BUSY(x)
#define G_0007C0_MRU_BUSY(x)
#define C_0007C0_MRU_BUSY
#define S_0007C0_MWU_BUSY(x)
#define G_0007C0_MWU_BUSY(x)
#define C_0007C0_MWU_BUSY
#define S_0007C0_RSIU_BUSY(x)
#define G_0007C0_RSIU_BUSY(x)
#define C_0007C0_RSIU_BUSY
#define S_0007C0_RCIU_BUSY(x)
#define G_0007C0_RCIU_BUSY(x)
#define C_0007C0_RCIU_BUSY
#define S_0007C0_CSF_PRIMARY_BUSY(x)
#define G_0007C0_CSF_PRIMARY_BUSY(x)
#define C_0007C0_CSF_PRIMARY_BUSY
#define S_0007C0_CSF_INDIRECT_BUSY(x)
#define G_0007C0_CSF_INDIRECT_BUSY(x)
#define C_0007C0_CSF_INDIRECT_BUSY
#define S_0007C0_CSQ_PRIMARY_BUSY(x)
#define G_0007C0_CSQ_PRIMARY_BUSY(x)
#define C_0007C0_CSQ_PRIMARY_BUSY
#define S_0007C0_CSQ_INDIRECT_BUSY(x)
#define G_0007C0_CSQ_INDIRECT_BUSY(x)
#define C_0007C0_CSQ_INDIRECT_BUSY
#define S_0007C0_CSI_BUSY(x)
#define G_0007C0_CSI_BUSY(x)
#define C_0007C0_CSI_BUSY
#define S_0007C0_CSF_INDIRECT2_BUSY(x)
#define G_0007C0_CSF_INDIRECT2_BUSY(x)
#define C_0007C0_CSF_INDIRECT2_BUSY
#define S_0007C0_CSQ_INDIRECT2_BUSY(x)
#define G_0007C0_CSQ_INDIRECT2_BUSY(x)
#define C_0007C0_CSQ_INDIRECT2_BUSY
#define S_0007C0_GUIDMA_BUSY(x)
#define G_0007C0_GUIDMA_BUSY(x)
#define C_0007C0_GUIDMA_BUSY
#define S_0007C0_VIDDMA_BUSY(x)
#define G_0007C0_VIDDMA_BUSY(x)
#define C_0007C0_VIDDMA_BUSY
#define S_0007C0_CMDSTRM_BUSY(x)
#define G_0007C0_CMDSTRM_BUSY(x)
#define C_0007C0_CMDSTRM_BUSY
#define S_0007C0_CP_BUSY(x)
#define G_0007C0_CP_BUSY(x)
#define C_0007C0_CP_BUSY
#define R_000E40_RBBM_STATUS
#define S_000E40_CMDFIFO_AVAIL(x)
#define G_000E40_CMDFIFO_AVAIL(x)
#define C_000E40_CMDFIFO_AVAIL
#define S_000E40_HIRQ_ON_RBB(x)
#define G_000E40_HIRQ_ON_RBB(x)
#define C_000E40_HIRQ_ON_RBB
#define S_000E40_CPRQ_ON_RBB(x)
#define G_000E40_CPRQ_ON_RBB(x)
#define C_000E40_CPRQ_ON_RBB
#define S_000E40_CFRQ_ON_RBB(x)
#define G_000E40_CFRQ_ON_RBB(x)
#define C_000E40_CFRQ_ON_RBB
#define S_000E40_HIRQ_IN_RTBUF(x)
#define G_000E40_HIRQ_IN_RTBUF(x)
#define C_000E40_HIRQ_IN_RTBUF
#define S_000E40_CPRQ_IN_RTBUF(x)
#define G_000E40_CPRQ_IN_RTBUF(x)
#define C_000E40_CPRQ_IN_RTBUF
#define S_000E40_CFRQ_IN_RTBUF(x)
#define G_000E40_CFRQ_IN_RTBUF(x)
#define C_000E40_CFRQ_IN_RTBUF
#define S_000E40_CF_PIPE_BUSY(x)
#define G_000E40_CF_PIPE_BUSY(x)
#define C_000E40_CF_PIPE_BUSY
#define S_000E40_ENG_EV_BUSY(x)
#define G_000E40_ENG_EV_BUSY(x)
#define C_000E40_ENG_EV_BUSY
#define S_000E40_CP_CMDSTRM_BUSY(x)
#define G_000E40_CP_CMDSTRM_BUSY(x)
#define C_000E40_CP_CMDSTRM_BUSY
#define S_000E40_E2_BUSY(x)
#define G_000E40_E2_BUSY(x)
#define C_000E40_E2_BUSY
#define S_000E40_RB2D_BUSY(x)
#define G_000E40_RB2D_BUSY(x)
#define C_000E40_RB2D_BUSY
#define S_000E40_RB3D_BUSY(x)
#define G_000E40_RB3D_BUSY(x)
#define C_000E40_RB3D_BUSY
#define S_000E40_VAP_BUSY(x)
#define G_000E40_VAP_BUSY(x)
#define C_000E40_VAP_BUSY
#define S_000E40_RE_BUSY(x)
#define G_000E40_RE_BUSY(x)
#define C_000E40_RE_BUSY
#define S_000E40_TAM_BUSY(x)
#define G_000E40_TAM_BUSY(x)
#define C_000E40_TAM_BUSY
#define S_000E40_TDM_BUSY(x)
#define G_000E40_TDM_BUSY(x)
#define C_000E40_TDM_BUSY
#define S_000E40_PB_BUSY(x)
#define G_000E40_PB_BUSY(x)
#define C_000E40_PB_BUSY
#define S_000E40_TIM_BUSY(x)
#define G_000E40_TIM_BUSY(x)
#define C_000E40_TIM_BUSY
#define S_000E40_GA_BUSY(x)
#define G_000E40_GA_BUSY(x)
#define C_000E40_GA_BUSY
#define S_000E40_CBA2D_BUSY(x)
#define G_000E40_CBA2D_BUSY(x)
#define C_000E40_CBA2D_BUSY
#define S_000E40_GUI_ACTIVE(x)
#define G_000E40_GUI_ACTIVE(x)
#define C_000E40_GUI_ACTIVE

/* CLK registers */
#define R_00000D_SCLK_CNTL
#define S_00000D_SCLK_SRC_SEL(x)
#define G_00000D_SCLK_SRC_SEL(x)
#define C_00000D_SCLK_SRC_SEL
#define S_00000D_CP_MAX_DYN_STOP_LAT(x)
#define G_00000D_CP_MAX_DYN_STOP_LAT(x)
#define C_00000D_CP_MAX_DYN_STOP_LAT
#define S_00000D_HDP_MAX_DYN_STOP_LAT(x)
#define G_00000D_HDP_MAX_DYN_STOP_LAT(x)
#define C_00000D_HDP_MAX_DYN_STOP_LAT
#define S_00000D_TV_MAX_DYN_STOP_LAT(x)
#define G_00000D_TV_MAX_DYN_STOP_LAT(x)
#define C_00000D_TV_MAX_DYN_STOP_LAT
#define S_00000D_E2_MAX_DYN_STOP_LAT(x)
#define G_00000D_E2_MAX_DYN_STOP_LAT(x)
#define C_00000D_E2_MAX_DYN_STOP_LAT
#define S_00000D_SE_MAX_DYN_STOP_LAT(x)
#define G_00000D_SE_MAX_DYN_STOP_LAT(x)
#define C_00000D_SE_MAX_DYN_STOP_LAT
#define S_00000D_IDCT_MAX_DYN_STOP_LAT(x)
#define G_00000D_IDCT_MAX_DYN_STOP_LAT(x)
#define C_00000D_IDCT_MAX_DYN_STOP_LAT
#define S_00000D_VIP_MAX_DYN_STOP_LAT(x)
#define G_00000D_VIP_MAX_DYN_STOP_LAT(x)
#define C_00000D_VIP_MAX_DYN_STOP_LAT
#define S_00000D_RE_MAX_DYN_STOP_LAT(x)
#define G_00000D_RE_MAX_DYN_STOP_LAT(x)
#define C_00000D_RE_MAX_DYN_STOP_LAT
#define S_00000D_PB_MAX_DYN_STOP_LAT(x)
#define G_00000D_PB_MAX_DYN_STOP_LAT(x)
#define C_00000D_PB_MAX_DYN_STOP_LAT
#define S_00000D_TAM_MAX_DYN_STOP_LAT(x)
#define G_00000D_TAM_MAX_DYN_STOP_LAT(x)
#define C_00000D_TAM_MAX_DYN_STOP_LAT
#define S_00000D_TDM_MAX_DYN_STOP_LAT(x)
#define G_00000D_TDM_MAX_DYN_STOP_LAT(x)
#define C_00000D_TDM_MAX_DYN_STOP_LAT
#define S_00000D_RB_MAX_DYN_STOP_LAT(x)
#define G_00000D_RB_MAX_DYN_STOP_LAT(x)
#define C_00000D_RB_MAX_DYN_STOP_LAT
#define S_00000D_FORCE_DISP2(x)
#define G_00000D_FORCE_DISP2(x)
#define C_00000D_FORCE_DISP2
#define S_00000D_FORCE_CP(x)
#define G_00000D_FORCE_CP(x)
#define C_00000D_FORCE_CP
#define S_00000D_FORCE_HDP(x)
#define G_00000D_FORCE_HDP(x)
#define C_00000D_FORCE_HDP
#define S_00000D_FORCE_DISP1(x)
#define G_00000D_FORCE_DISP1(x)
#define C_00000D_FORCE_DISP1
#define S_00000D_FORCE_TOP(x)
#define G_00000D_FORCE_TOP(x)
#define C_00000D_FORCE_TOP
#define S_00000D_FORCE_E2(x)
#define G_00000D_FORCE_E2(x)
#define C_00000D_FORCE_E2
#define S_00000D_FORCE_VAP(x)
#define G_00000D_FORCE_VAP(x)
#define C_00000D_FORCE_VAP
#define S_00000D_FORCE_IDCT(x)
#define G_00000D_FORCE_IDCT(x)
#define C_00000D_FORCE_IDCT
#define S_00000D_FORCE_VIP(x)
#define G_00000D_FORCE_VIP(x)
#define C_00000D_FORCE_VIP
#define S_00000D_FORCE_RE(x)
#define G_00000D_FORCE_RE(x)
#define C_00000D_FORCE_RE
#define S_00000D_FORCE_SR(x)
#define G_00000D_FORCE_SR(x)
#define C_00000D_FORCE_SR
#define S_00000D_FORCE_PX(x)
#define G_00000D_FORCE_PX(x)
#define C_00000D_FORCE_PX
#define S_00000D_FORCE_TX(x)
#define G_00000D_FORCE_TX(x)
#define C_00000D_FORCE_TX
#define S_00000D_FORCE_US(x)
#define G_00000D_FORCE_US(x)
#define C_00000D_FORCE_US
#define S_00000D_FORCE_TV_SCLK(x)
#define G_00000D_FORCE_TV_SCLK(x)
#define C_00000D_FORCE_TV_SCLK
#define S_00000D_FORCE_SU(x)
#define G_00000D_FORCE_SU(x)
#define C_00000D_FORCE_SU
#define S_00000D_FORCE_OV0(x)
#define G_00000D_FORCE_OV0(x)
#define C_00000D_FORCE_OV0

#endif