1 /* 2 * Copyright (c) 2011 Intel Corporation. All Rights Reserved. 3 * Copyright (c) Imagination Technologies Limited, UK 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the 7 * "Software"), to deal in the Software without restriction, including 8 * without limitation the rights to use, copy, modify, merge, publish, 9 * distribute, sub license, and/or sell copies of the Software, and to 10 * permit persons to whom the Software is furnished to do so, subject to 11 * the following conditions: 12 * 13 * The above copyright notice and this permission notice (including the 14 * next paragraph) shall be included in all copies or substantial portions 15 * of the Software. 16 * 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 20 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 21 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 */ 25 26 27 /*! 28 ****************************************************************************** 29 @file : /work/sim/msvdx/register_includes/msvdx_dmac_linked_list.h 30 31 @brief 32 33 @Author <Autogenerated> 34 35 <b>Description:</b>\n 36 This file contains the MSVDX_DMAC_LINKED_LIST_H Definitions. 37 38 <b>Platform:</b>\n 39 ? 40 41 @Version 42 1.0 43 44 ******************************************************************************/ 45 46 #if !defined (__MSVDX_DMAC_LINKED_LIST_H__) 47 #define __MSVDX_DMAC_LINKED_LIST_H__ 48 49 #ifdef __cplusplus 50 extern "C" { 51 #endif 52 53 54 #define DMAC_LL_SIZE (32) 55 56 // DMAC_LL RESERVED_01 57 #define DMAC_LL_RESERVED_01_ALIGNMENT (4) 58 #define DMAC_LL_RESERVED_01_TYPE IMG_UINT32 59 #define DMAC_LL_RESERVED_01_MASK (0x0FFFFFFF) 60 #define DMAC_LL_RESERVED_01_LSBMASK (0x0FFFFFFF) 61 #define DMAC_LL_RESERVED_01_OFFSET (0x0000) 62 #define DMAC_LL_RESERVED_01_SHIFT (0) 63 64 // DMAC_LL PW 65 #define DMAC_LL_PW_ALIGNMENT (1) 66 #define DMAC_LL_PW_TYPE IMG_UINT8 67 #define DMAC_LL_PW_MASK (0x30) 68 #define DMAC_LL_PW_LSBMASK (0x03) 69 #define DMAC_LL_PW_OFFSET (0x0003) 70 #define DMAC_LL_PW_SHIFT (4) 71 72 // DMAC_LL DIR 73 #define DMAC_LL_DIR_ALIGNMENT (1) 74 #define DMAC_LL_DIR_TYPE IMG_UINT8 75 #define DMAC_LL_DIR_MASK (0x40) 76 #define DMAC_LL_DIR_LSBMASK (0x01) 77 #define DMAC_LL_DIR_OFFSET (0x0003) 78 #define DMAC_LL_DIR_SHIFT (6) 79 80 // DMAC_LL BSWAP 81 #define DMAC_LL_BSWAP_ALIGNMENT (1) 82 #define DMAC_LL_BSWAP_TYPE IMG_UINT8 83 #define DMAC_LL_BSWAP_MASK (0x80) 84 #define DMAC_LL_BSWAP_LSBMASK (0x01) 85 #define DMAC_LL_BSWAP_OFFSET (0x0003) 86 #define DMAC_LL_BSWAP_SHIFT (7) 87 88 // DMAC_LL LEN 89 #define DMAC_LL_LEN_ALIGNMENT (2) 90 #define DMAC_LL_LEN_TYPE IMG_UINT16 91 #define DMAC_LL_LEN_MASK (0xFFFF) 92 #define DMAC_LL_LEN_LSBMASK (0xFFFF) 93 #define DMAC_LL_LEN_OFFSET (0x0004) 94 #define DMAC_LL_LEN_SHIFT (0) 95 96 // DMAC_LL INCR 97 #define DMAC_LL_INCR_ALIGNMENT (1) 98 #define DMAC_LL_INCR_TYPE IMG_UINT8 99 #define DMAC_LL_INCR_MASK (0x01) 100 #define DMAC_LL_INCR_LSBMASK (0x01) 101 #define DMAC_LL_INCR_OFFSET (0x0006) 102 #define DMAC_LL_INCR_SHIFT (0) 103 104 // DMAC_LL PI 105 #define DMAC_LL_PI_ALIGNMENT (1) 106 #define DMAC_LL_PI_TYPE IMG_UINT8 107 #define DMAC_LL_PI_MASK (0x06) 108 #define DMAC_LL_PI_LSBMASK (0x03) 109 #define DMAC_LL_PI_OFFSET (0x0006) 110 #define DMAC_LL_PI_SHIFT (1) 111 112 // DMAC_LL RESERVED_02 113 #define DMAC_LL_RESERVED_02_ALIGNMENT (2) 114 #define DMAC_LL_RESERVED_02_TYPE IMG_UINT16 115 #define DMAC_LL_RESERVED_02_MASK (0x3FF8) 116 #define DMAC_LL_RESERVED_02_LSBMASK (0x07FF) 117 #define DMAC_LL_RESERVED_02_OFFSET (0x0006) 118 #define DMAC_LL_RESERVED_02_SHIFT (3) 119 120 // DMAC_LL LIST_INT 121 #define DMAC_LL_LIST_INT_ALIGNMENT (1) 122 #define DMAC_LL_LIST_INT_TYPE IMG_UINT8 123 #define DMAC_LL_LIST_INT_MASK (0x40) 124 #define DMAC_LL_LIST_INT_LSBMASK (0x01) 125 #define DMAC_LL_LIST_INT_OFFSET (0x0007) 126 #define DMAC_LL_LIST_INT_SHIFT (6) 127 128 // DMAC_LL LIST_FIN 129 #define DMAC_LL_LIST_FIN_ALIGNMENT (1) 130 #define DMAC_LL_LIST_FIN_TYPE IMG_UINT8 131 #define DMAC_LL_LIST_FIN_MASK (0x80) 132 #define DMAC_LL_LIST_FIN_LSBMASK (0x01) 133 #define DMAC_LL_LIST_FIN_OFFSET (0x0007) 134 #define DMAC_LL_LIST_FIN_SHIFT (7) 135 136 // DMAC_LL ADDR 137 #define DMAC_LL_ADDR_ALIGNMENT (4) 138 #define DMAC_LL_ADDR_TYPE IMG_UINT32 139 #define DMAC_LL_ADDR_MASK (0xFFFFFFFF) 140 #define DMAC_LL_ADDR_LSBMASK (0xFFFFFFFF) 141 #define DMAC_LL_ADDR_OFFSET (0x0008) 142 #define DMAC_LL_ADDR_SHIFT (0) 143 144 // DMAC_LL EXT_SA 145 #define DMAC_LL_EXT_SA_ALIGNMENT (1) 146 #define DMAC_LL_EXT_SA_TYPE IMG_UINT8 147 #define DMAC_LL_EXT_SA_MASK (0x0F) 148 #define DMAC_LL_EXT_SA_LSBMASK (0x0F) 149 #define DMAC_LL_EXT_SA_OFFSET (0x000C) 150 #define DMAC_LL_EXT_SA_SHIFT (0) 151 152 // DMAC_LL RESERVED_04 153 #define DMAC_LL_RESERVED_04_ALIGNMENT (4) 154 #define DMAC_LL_RESERVED_04_TYPE IMG_UINT32 155 #define DMAC_LL_RESERVED_04_MASK (0x03FFFFF0) 156 #define DMAC_LL_RESERVED_04_LSBMASK (0x003FFFFF) 157 #define DMAC_LL_RESERVED_04_OFFSET (0x000C) 158 #define DMAC_LL_RESERVED_04_SHIFT (4) 159 160 // DMAC_LL BURST 161 #define DMAC_LL_BURST_ALIGNMENT (1) 162 #define DMAC_LL_BURST_TYPE IMG_UINT8 163 #define DMAC_LL_BURST_MASK (0x1C) 164 #define DMAC_LL_BURST_LSBMASK (0x07) 165 #define DMAC_LL_BURST_OFFSET (0x000F) 166 #define DMAC_LL_BURST_SHIFT (2) 167 168 // DMAC_LL ACC_DEL 169 #define DMAC_LL_ACC_DEL_ALIGNMENT (1) 170 #define DMAC_LL_ACC_DEL_TYPE IMG_UINT8 171 #define DMAC_LL_ACC_DEL_MASK (0xE0) 172 #define DMAC_LL_ACC_DEL_LSBMASK (0x07) 173 #define DMAC_LL_ACC_DEL_OFFSET (0x000F) 174 #define DMAC_LL_ACC_DEL_SHIFT (5) 175 176 // DMAC_LL REP_COUNT 177 #define DMAC_LL_REP_COUNT_ALIGNMENT (2) 178 #define DMAC_LL_REP_COUNT_TYPE IMG_UINT16 179 #define DMAC_LL_REP_COUNT_MASK (0x07FF) 180 #define DMAC_LL_REP_COUNT_LSBMASK (0x07FF) 181 #define DMAC_LL_REP_COUNT_OFFSET (0x0010) 182 #define DMAC_LL_REP_COUNT_SHIFT (0) 183 184 // DMAC_LL RESERVED_05 185 #define DMAC_LL_RESERVED_05_ALIGNMENT (1) 186 #define DMAC_LL_RESERVED_05_TYPE IMG_UINT8 187 #define DMAC_LL_RESERVED_05_MASK (0xF8) 188 #define DMAC_LL_RESERVED_05_LSBMASK (0x1F) 189 #define DMAC_LL_RESERVED_05_OFFSET (0x0011) 190 #define DMAC_LL_RESERVED_05_SHIFT (3) 191 192 // DMAC_LL MODE_2D 193 #define DMAC_LL_MODE_2D_ALIGNMENT (1) 194 #define DMAC_LL_MODE_2D_TYPE IMG_UINT8 195 #define DMAC_LL_MODE_2D_MASK (0x01) 196 #define DMAC_LL_MODE_2D_LSBMASK (0x01) 197 #define DMAC_LL_MODE_2D_OFFSET (0x0012) 198 #define DMAC_LL_MODE_2D_SHIFT (0) 199 200 // DMAC_LL RESERVED_06 201 #define DMAC_LL_RESERVED_06_ALIGNMENT (2) 202 #define DMAC_LL_RESERVED_06_TYPE IMG_UINT16 203 #define DMAC_LL_RESERVED_06_MASK (0xFFFE) 204 #define DMAC_LL_RESERVED_06_LSBMASK (0x7FFF) 205 #define DMAC_LL_RESERVED_06_OFFSET (0x0012) 206 #define DMAC_LL_RESERVED_06_SHIFT (1) 207 208 // DMAC_LL ROW_LENGTH 209 #define DMAC_LL_ROW_LENGTH_ALIGNMENT (2) 210 #define DMAC_LL_ROW_LENGTH_TYPE IMG_UINT16 211 #define DMAC_LL_ROW_LENGTH_MASK (0x03FF) 212 #define DMAC_LL_ROW_LENGTH_LSBMASK (0x03FF) 213 #define DMAC_LL_ROW_LENGTH_OFFSET (0x0014) 214 #define DMAC_LL_ROW_LENGTH_SHIFT (0) 215 216 // DMAC_LL RESERVED_07 217 #define DMAC_LL_RESERVED_07_ALIGNMENT (1) 218 #define DMAC_LL_RESERVED_07_TYPE IMG_UINT8 219 #define DMAC_LL_RESERVED_07_MASK (0xFC) 220 #define DMAC_LL_RESERVED_07_LSBMASK (0x3F) 221 #define DMAC_LL_RESERVED_07_OFFSET (0x0015) 222 #define DMAC_LL_RESERVED_07_SHIFT (2) 223 224 // DMAC_LL LINE_ADD_OFF 225 #define DMAC_LL_LINE_ADD_OFF_ALIGNMENT (2) 226 #define DMAC_LL_LINE_ADD_OFF_TYPE IMG_UINT16 227 #define DMAC_LL_LINE_ADD_OFF_MASK (0x03FF) 228 #define DMAC_LL_LINE_ADD_OFF_LSBMASK (0x03FF) 229 #define DMAC_LL_LINE_ADD_OFF_OFFSET (0x0016) 230 #define DMAC_LL_LINE_ADD_OFF_SHIFT (0) 231 232 // DMAC_LL RESERVED_08 233 #define DMAC_LL_RESERVED_08_ALIGNMENT (1) 234 #define DMAC_LL_RESERVED_08_TYPE IMG_UINT8 235 #define DMAC_LL_RESERVED_08_MASK (0xFC) 236 #define DMAC_LL_RESERVED_08_LSBMASK (0x3F) 237 #define DMAC_LL_RESERVED_08_OFFSET (0x0017) 238 #define DMAC_LL_RESERVED_08_SHIFT (2) 239 240 // DMAC_LL SA 241 #define DMAC_LL_SA_ALIGNMENT (4) 242 #define DMAC_LL_SA_TYPE IMG_UINT32 243 #define DMAC_LL_SA_MASK (0xFFFFFFFF) 244 #define DMAC_LL_SA_LSBMASK (0xFFFFFFFF) 245 #define DMAC_LL_SA_OFFSET (0x0018) 246 #define DMAC_LL_SA_SHIFT (0) 247 248 // DMAC_LL LISTPTR 249 #define DMAC_LL_LISTPTR_ALIGNMENT (4) 250 #define DMAC_LL_LISTPTR_TYPE IMG_UINT32 251 #define DMAC_LL_LISTPTR_MASK (0xFFFFFFFF) 252 #define DMAC_LL_LISTPTR_LSBMASK (0xFFFFFFFF) 253 #define DMAC_LL_LISTPTR_OFFSET (0x001C) 254 #define DMAC_LL_LISTPTR_SHIFT (0) 255 256 257 258 #ifdef __cplusplus 259 } 260 #endif 261 262 #endif /* __MSVDX_DMAC_LINKED_LIST_H__ */ 263