/***************************************************************************
 *     Copyright (c) 1999-2009, Broadcom Corporation
 *
 **********************************************************************
 * This file is part of the crystalhd device driver.
 *
 * This driver is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, version 2 of the License.
 *
 * This driver is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this driver.  If not, see <http://www.gnu.org/licenses/>.
 **********************************************************************
 *
 * $brcm_Workfile: bchp_avd_cache_0.h $
 * $brcm_Revision: Hydra_Software_Devel/1 $
 * $brcm_Date: 7/17/09 7:56p $
 *
 * Module Description:
 *                     DO NOT EDIT THIS FILE DIRECTLY
 *
 * This module was generated magically with RDB from a source description
 * file. You must edit the source file for changes to be made to this file.
 *
 *
 * Date:           Generated on         Fri Jul 17 19:43:03 2009
 *                 MD5 Checksum         2914699efc3fb3edefca5cb4f4f38b34
 *
 * Compiled with:  RDB Utility          combo_header.pl
 *                 RDB Parser           3.0
 *                 unknown              unknown
 *                 Perl Interpreter     5.008008
 *                 Operating System     linux
 *
 * Revision History:
 *
 * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_avd_cache_0.h $
 * 
 * Hydra_Software_Devel/1   7/17/09 7:56p albertl
 * PR56880: Initial revision.
 *
 ***************************************************************************/

#ifndef BCHP_AVD_CACHE_0_H__
#define BCHP_AVD_CACHE_0_H__

/***************************************************************************
 *AVD_CACHE_0 - Mocomp Cache  Registers 0
 ***************************************************************************/
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0        0x00862000 /* REG_PCACHE_MODE0 */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE1        0x00862004 /* REG_PCACHE_MODE1 */
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL         0x00862008 /* REG_PCACHE_CTRL */
#define BCHP_AVD_CACHE_0_REG_PCACHE_HIT_COUNT    0x0086200c /* REG_PCACHE_HIT_COUNT */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MISS_COUNT   0x00862010 /* REG_PCACHE_MISS_COUNT */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MISS1_COUNT  0x00862014 /* REG_PCACHE_MISS1_COUNT */
#define BCHP_AVD_CACHE_0_REG_PCACHE_BLOCK_FLAGS  0x00862018 /* REG_PCACHE_BLOCK_FLAGS */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DATA         0x0086201c /* REG_PCACHE_DATA */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS 0x00862020 /* REG_PCACHE_TAG_CONTENTS */
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT  0x00862024 /* REG_PCACHE_FLAG_SELECT */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL   0x00862028 /* REG_PCACHE_DEBUG_CTRL */
#define BCHP_AVD_CACHE_0_REG_PCACHE_LFSR_DATA    0x0086202c /* REG_PCACHE_LFSR_DATA */
#define BCHP_AVD_CACHE_0_REG_PCACHE_END          0x0086203c /* REG_PCACHE_END */

/***************************************************************************
 *REG_PCACHE_MODE0 - REG_PCACHE_MODE0
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_MODE0 :: reserved0 [31:06] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_reserved0_MASK           0xffffffc0
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_reserved0_SHIFT          6

/* AVD_CACHE_0 :: REG_PCACHE_MODE0 :: Bypass [05:05] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Bypass_MASK              0x00000020
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Bypass_SHIFT             5

/* AVD_CACHE_0 :: REG_PCACHE_MODE0 :: Disable [04:04] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Disable_MASK             0x00000010
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Disable_SHIFT            4

/* AVD_CACHE_0 :: REG_PCACHE_MODE0 :: Ygran [03:02] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Ygran_MASK               0x0000000c
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Ygran_SHIFT              2

/* AVD_CACHE_0 :: REG_PCACHE_MODE0 :: Xgran [01:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Xgran_MASK               0x00000003
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE0_Xgran_SHIFT              0

/***************************************************************************
 *REG_PCACHE_MODE1 - REG_PCACHE_MODE1
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_MODE1 :: reserved0 [31:01] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE1_reserved0_MASK           0xfffffffe
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE1_reserved0_SHIFT          1

/* AVD_CACHE_0 :: REG_PCACHE_MODE1 :: Mbaff_disable [00:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE1_Mbaff_disable_MASK       0x00000001
#define BCHP_AVD_CACHE_0_REG_PCACHE_MODE1_Mbaff_disable_SHIFT      0

/***************************************************************************
 *REG_PCACHE_CTRL - REG_PCACHE_CTRL
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_CTRL :: reserved0 [31:03] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_reserved0_MASK            0xfffffff8
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_reserved0_SHIFT           3

/* AVD_CACHE_0 :: REG_PCACHE_CTRL :: soft_reset [02:02] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_soft_reset_MASK           0x00000004
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_soft_reset_SHIFT          2

/* AVD_CACHE_0 :: REG_PCACHE_CTRL :: Counter_reset [01:01] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_Counter_reset_MASK        0x00000002
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_Counter_reset_SHIFT       1

/* AVD_CACHE_0 :: REG_PCACHE_CTRL :: Flush [00:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_Flush_MASK                0x00000001
#define BCHP_AVD_CACHE_0_REG_PCACHE_CTRL_Flush_SHIFT               0

/***************************************************************************
 *REG_PCACHE_HIT_COUNT - REG_PCACHE_HIT_COUNT
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_HIT_COUNT :: hit_count [31:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_HIT_COUNT_hit_count_MASK       0xffffffff
#define BCHP_AVD_CACHE_0_REG_PCACHE_HIT_COUNT_hit_count_SHIFT      0

/***************************************************************************
 *REG_PCACHE_MISS_COUNT - REG_PCACHE_MISS_COUNT
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_MISS_COUNT :: miss_count [31:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MISS_COUNT_miss_count_MASK     0xffffffff
#define BCHP_AVD_CACHE_0_REG_PCACHE_MISS_COUNT_miss_count_SHIFT    0

/***************************************************************************
 *REG_PCACHE_MISS1_COUNT - REG_PCACHE_MISS1_COUNT
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_MISS1_COUNT :: miss1_count [31:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_MISS1_COUNT_miss1_count_MASK   0xffffffff
#define BCHP_AVD_CACHE_0_REG_PCACHE_MISS1_COUNT_miss1_count_SHIFT  0

/***************************************************************************
 *REG_PCACHE_BLOCK_FLAGS - REG_PCACHE_BLOCK_FLAGS
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_BLOCK_FLAGS :: block_flags [31:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_BLOCK_FLAGS_block_flags_MASK   0xffffffff
#define BCHP_AVD_CACHE_0_REG_PCACHE_BLOCK_FLAGS_block_flags_SHIFT  0

/***************************************************************************
 *REG_PCACHE_DATA - REG_PCACHE_DATA
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_DATA :: data_word [31:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DATA_data_word_MASK            0xffffffff
#define BCHP_AVD_CACHE_0_REG_PCACHE_DATA_data_word_SHIFT           0

/***************************************************************************
 *REG_PCACHE_TAG_CONTENTS - REG_PCACHE_TAG_CONTENTS
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: reserved0 [31:25] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved0_MASK    0xfe000000
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved0_SHIFT   25

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: Valid [24:24] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Valid_MASK        0x01000000
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Valid_SHIFT       24

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: Picture_Base_ID [23:20] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Picture_Base_ID_MASK 0x00f00000
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Picture_Base_ID_SHIFT 20

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: reserved1 [19:18] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved1_MASK    0x000c0000
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved1_SHIFT   18

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: Component [17:17] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Component_MASK    0x00020000
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Component_SHIFT   17

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: Field_Frame [16:16] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Field_Frame_MASK  0x00010000
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Field_Frame_SHIFT 16

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: reserved2 [15:14] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved2_MASK    0x0000c000
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved2_SHIFT   14

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: X_origin [13:08] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_X_origin_MASK     0x00003f00
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_X_origin_SHIFT    8

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: reserved3 [07:06] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved3_MASK    0x000000c0
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_reserved3_SHIFT   6

/* AVD_CACHE_0 :: REG_PCACHE_TAG_CONTENTS :: Y_origin [05:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Y_origin_MASK     0x0000003f
#define BCHP_AVD_CACHE_0_REG_PCACHE_TAG_CONTENTS_Y_origin_SHIFT    0

/***************************************************************************
 *REG_PCACHE_FLAG_SELECT - REG_PCACHE_FLAG_SELECT
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_FLAG_SELECT :: reserved0 [31:16] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_reserved0_MASK     0xffff0000
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_reserved0_SHIFT    16

/* AVD_CACHE_0 :: REG_PCACHE_FLAG_SELECT :: Index [15:08] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_Index_MASK         0x0000ff00
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_Index_SHIFT        8

/* AVD_CACHE_0 :: REG_PCACHE_FLAG_SELECT :: reserved1 [07:06] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_reserved1_MASK     0x000000c0
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_reserved1_SHIFT    6

/* AVD_CACHE_0 :: REG_PCACHE_FLAG_SELECT :: Sub_block [05:04] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_Sub_block_MASK     0x00000030
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_Sub_block_SHIFT    4

/* AVD_CACHE_0 :: REG_PCACHE_FLAG_SELECT :: blk [03:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_blk_MASK           0x0000000f
#define BCHP_AVD_CACHE_0_REG_PCACHE_FLAG_SELECT_blk_SHIFT          0

/***************************************************************************
 *REG_PCACHE_DEBUG_CTRL - REG_PCACHE_DEBUG_CTRL
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_DEBUG_CTRL :: reserved0 [31:04] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_reserved0_MASK      0xfffffff0
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_reserved0_SHIFT     4

/* AVD_CACHE_0 :: REG_PCACHE_DEBUG_CTRL :: dly_fixed [03:03] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_fixed_MASK      0x00000008
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_fixed_SHIFT     3

/* AVD_CACHE_0 :: REG_PCACHE_DEBUG_CTRL :: dly_cmds [02:02] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_cmds_MASK       0x00000004
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_cmds_SHIFT      2

/* AVD_CACHE_0 :: REG_PCACHE_DEBUG_CTRL :: dly_qpel_fifo [01:01] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_qpel_fifo_MASK  0x00000002
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_qpel_fifo_SHIFT 1

/* AVD_CACHE_0 :: REG_PCACHE_DEBUG_CTRL :: dly_mctrl [00:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_mctrl_MASK      0x00000001
#define BCHP_AVD_CACHE_0_REG_PCACHE_DEBUG_CTRL_dly_mctrl_SHIFT     0

/***************************************************************************
 *REG_PCACHE_LFSR_DATA - REG_PCACHE_LFSR_DATA
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_LFSR_DATA :: data_word [31:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_LFSR_DATA_data_word_MASK       0xffffffff
#define BCHP_AVD_CACHE_0_REG_PCACHE_LFSR_DATA_data_word_SHIFT      0

/***************************************************************************
 *REG_PCACHE_END - REG_PCACHE_END
 ***************************************************************************/
/* AVD_CACHE_0 :: REG_PCACHE_END :: reserved0 [31:00] */
#define BCHP_AVD_CACHE_0_REG_PCACHE_END_reserved0_MASK             0xffffffff
#define BCHP_AVD_CACHE_0_REG_PCACHE_END_reserved0_SHIFT            0

#endif /* #ifndef BCHP_AVD_CACHE_0_H__ */

/* End of File */
