1*e65e175bSOded Gabbay /* SPDX-License-Identifier: GPL-2.0 2*e65e175bSOded Gabbay * 3*e65e175bSOded Gabbay * Copyright 2016-2018 HabanaLabs, Ltd. 4*e65e175bSOded Gabbay * All Rights Reserved. 5*e65e175bSOded Gabbay * 6*e65e175bSOded Gabbay */ 7*e65e175bSOded Gabbay 8*e65e175bSOded Gabbay /************************************ 9*e65e175bSOded Gabbay ** This is an auto-generated file ** 10*e65e175bSOded Gabbay ** DO NOT EDIT BELOW ** 11*e65e175bSOded Gabbay ************************************/ 12*e65e175bSOded Gabbay 13*e65e175bSOded Gabbay #ifndef ASIC_REG_MME_MASKS_H_ 14*e65e175bSOded Gabbay #define ASIC_REG_MME_MASKS_H_ 15*e65e175bSOded Gabbay 16*e65e175bSOded Gabbay /* 17*e65e175bSOded Gabbay ***************************************** 18*e65e175bSOded Gabbay * MME (Prototype: MME) 19*e65e175bSOded Gabbay ***************************************** 20*e65e175bSOded Gabbay */ 21*e65e175bSOded Gabbay 22*e65e175bSOded Gabbay /* MME_ARCH_STATUS */ 23*e65e175bSOded Gabbay #define MME_ARCH_STATUS_A_SHIFT 0 24*e65e175bSOded Gabbay #define MME_ARCH_STATUS_A_MASK 0x1 25*e65e175bSOded Gabbay #define MME_ARCH_STATUS_B_SHIFT 1 26*e65e175bSOded Gabbay #define MME_ARCH_STATUS_B_MASK 0x2 27*e65e175bSOded Gabbay #define MME_ARCH_STATUS_CIN_SHIFT 2 28*e65e175bSOded Gabbay #define MME_ARCH_STATUS_CIN_MASK 0x4 29*e65e175bSOded Gabbay #define MME_ARCH_STATUS_COUT_SHIFT 3 30*e65e175bSOded Gabbay #define MME_ARCH_STATUS_COUT_MASK 0x8 31*e65e175bSOded Gabbay #define MME_ARCH_STATUS_TE_SHIFT 4 32*e65e175bSOded Gabbay #define MME_ARCH_STATUS_TE_MASK 0x10 33*e65e175bSOded Gabbay #define MME_ARCH_STATUS_LD_SHIFT 5 34*e65e175bSOded Gabbay #define MME_ARCH_STATUS_LD_MASK 0x20 35*e65e175bSOded Gabbay #define MME_ARCH_STATUS_ST_SHIFT 6 36*e65e175bSOded Gabbay #define MME_ARCH_STATUS_ST_MASK 0x40 37*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_A_EMPTY_SHIFT 7 38*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_A_EMPTY_MASK 0x80 39*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_B_EMPTY_SHIFT 8 40*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_B_EMPTY_MASK 0x100 41*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_CIN_EMPTY_SHIFT 9 42*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_CIN_EMPTY_MASK 0x200 43*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_COUT_EMPTY_SHIFT 10 44*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SB_COUT_EMPTY_MASK 0x400 45*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SM_IDLE_SHIFT 11 46*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SM_IDLE_MASK 0x800 47*e65e175bSOded Gabbay #define MME_ARCH_STATUS_WBC_AXI_IDLE_SHIFT 12 48*e65e175bSOded Gabbay #define MME_ARCH_STATUS_WBC_AXI_IDLE_MASK 0xF000 49*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SBC_AXI_IDLE_SHIFT 16 50*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SBC_AXI_IDLE_MASK 0x30000 51*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SBB_AXI_IDLE_SHIFT 18 52*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SBB_AXI_IDLE_MASK 0xC0000 53*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SBA_AXI_IDLE_SHIFT 20 54*e65e175bSOded Gabbay #define MME_ARCH_STATUS_SBA_AXI_IDLE_MASK 0x300000 55*e65e175bSOded Gabbay #define MME_ARCH_STATUS_FREE_ACCUMS_SHIFT 22 56*e65e175bSOded Gabbay #define MME_ARCH_STATUS_FREE_ACCUMS_MASK 0x1C00000 57*e65e175bSOded Gabbay 58*e65e175bSOded Gabbay /* MME_ARCH_A_BASE_ADDR_HIGH */ 59*e65e175bSOded Gabbay #define MME_ARCH_A_BASE_ADDR_HIGH_V_SHIFT 0 60*e65e175bSOded Gabbay #define MME_ARCH_A_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 61*e65e175bSOded Gabbay 62*e65e175bSOded Gabbay /* MME_ARCH_B_BASE_ADDR_HIGH */ 63*e65e175bSOded Gabbay #define MME_ARCH_B_BASE_ADDR_HIGH_V_SHIFT 0 64*e65e175bSOded Gabbay #define MME_ARCH_B_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 65*e65e175bSOded Gabbay 66*e65e175bSOded Gabbay /* MME_ARCH_CIN_BASE_ADDR_HIGH */ 67*e65e175bSOded Gabbay #define MME_ARCH_CIN_BASE_ADDR_HIGH_V_SHIFT 0 68*e65e175bSOded Gabbay #define MME_ARCH_CIN_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 69*e65e175bSOded Gabbay 70*e65e175bSOded Gabbay /* MME_ARCH_COUT_BASE_ADDR_HIGH */ 71*e65e175bSOded Gabbay #define MME_ARCH_COUT_BASE_ADDR_HIGH_V_SHIFT 0 72*e65e175bSOded Gabbay #define MME_ARCH_COUT_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 73*e65e175bSOded Gabbay 74*e65e175bSOded Gabbay /* MME_ARCH_BIAS_BASE_ADDR_HIGH */ 75*e65e175bSOded Gabbay #define MME_ARCH_BIAS_BASE_ADDR_HIGH_V_SHIFT 0 76*e65e175bSOded Gabbay #define MME_ARCH_BIAS_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 77*e65e175bSOded Gabbay 78*e65e175bSOded Gabbay /* MME_ARCH_A_BASE_ADDR_LOW */ 79*e65e175bSOded Gabbay #define MME_ARCH_A_BASE_ADDR_LOW_V_SHIFT 0 80*e65e175bSOded Gabbay #define MME_ARCH_A_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 81*e65e175bSOded Gabbay 82*e65e175bSOded Gabbay /* MME_ARCH_B_BASE_ADDR_LOW */ 83*e65e175bSOded Gabbay #define MME_ARCH_B_BASE_ADDR_LOW_V_SHIFT 0 84*e65e175bSOded Gabbay #define MME_ARCH_B_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 85*e65e175bSOded Gabbay 86*e65e175bSOded Gabbay /* MME_ARCH_CIN_BASE_ADDR_LOW */ 87*e65e175bSOded Gabbay #define MME_ARCH_CIN_BASE_ADDR_LOW_V_SHIFT 0 88*e65e175bSOded Gabbay #define MME_ARCH_CIN_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 89*e65e175bSOded Gabbay 90*e65e175bSOded Gabbay /* MME_ARCH_COUT_BASE_ADDR_LOW */ 91*e65e175bSOded Gabbay #define MME_ARCH_COUT_BASE_ADDR_LOW_V_SHIFT 0 92*e65e175bSOded Gabbay #define MME_ARCH_COUT_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 93*e65e175bSOded Gabbay 94*e65e175bSOded Gabbay /* MME_ARCH_BIAS_BASE_ADDR_LOW */ 95*e65e175bSOded Gabbay #define MME_ARCH_BIAS_BASE_ADDR_LOW_V_SHIFT 0 96*e65e175bSOded Gabbay #define MME_ARCH_BIAS_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 97*e65e175bSOded Gabbay 98*e65e175bSOded Gabbay /* MME_ARCH_HEADER */ 99*e65e175bSOded Gabbay #define MME_ARCH_HEADER_SIGNAL_MASK_SHIFT 0 100*e65e175bSOded Gabbay #define MME_ARCH_HEADER_SIGNAL_MASK_MASK 0x1F 101*e65e175bSOded Gabbay #define MME_ARCH_HEADER_SIGNAL_EN_SHIFT 5 102*e65e175bSOded Gabbay #define MME_ARCH_HEADER_SIGNAL_EN_MASK 0x20 103*e65e175bSOded Gabbay #define MME_ARCH_HEADER_TRANS_A_SHIFT 6 104*e65e175bSOded Gabbay #define MME_ARCH_HEADER_TRANS_A_MASK 0x40 105*e65e175bSOded Gabbay #define MME_ARCH_HEADER_LOWER_A_SHIFT 7 106*e65e175bSOded Gabbay #define MME_ARCH_HEADER_LOWER_A_MASK 0x80 107*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ACCUM_MASK_SHIFT 8 108*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ACCUM_MASK_MASK 0xF00 109*e65e175bSOded Gabbay #define MME_ARCH_HEADER_LOAD_BIAS_SHIFT 12 110*e65e175bSOded Gabbay #define MME_ARCH_HEADER_LOAD_BIAS_MASK 0x1000 111*e65e175bSOded Gabbay #define MME_ARCH_HEADER_LOAD_CIN_SHIFT 13 112*e65e175bSOded Gabbay #define MME_ARCH_HEADER_LOAD_CIN_MASK 0x2000 113*e65e175bSOded Gabbay #define MME_ARCH_HEADER_STORE_OUT_SHIFT 15 114*e65e175bSOded Gabbay #define MME_ARCH_HEADER_STORE_OUT_MASK 0x8000 115*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ACC_LD_INC_DISABLE_SHIFT 16 116*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ACC_LD_INC_DISABLE_MASK 0x10000 117*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_A_SHIFT 17 118*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_A_MASK 0x20000 119*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_B_SHIFT 18 120*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_B_MASK 0x40000 121*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_CIN_SHIFT 19 122*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_CIN_MASK 0x80000 123*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_COUT_SHIFT 20 124*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ADVANCE_COUT_MASK 0x100000 125*e65e175bSOded Gabbay #define MME_ARCH_HEADER_COMPRESSED_B_SHIFT 21 126*e65e175bSOded Gabbay #define MME_ARCH_HEADER_COMPRESSED_B_MASK 0x200000 127*e65e175bSOded Gabbay #define MME_ARCH_HEADER_MASK_CONV_END_SHIFT 22 128*e65e175bSOded Gabbay #define MME_ARCH_HEADER_MASK_CONV_END_MASK 0x400000 129*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ACC_ST_INC_DISABLE_SHIFT 23 130*e65e175bSOded Gabbay #define MME_ARCH_HEADER_ACC_ST_INC_DISABLE_MASK 0x800000 131*e65e175bSOded Gabbay #define MME_ARCH_HEADER_AB_DATA_TYPE_SHIFT 24 132*e65e175bSOded Gabbay #define MME_ARCH_HEADER_AB_DATA_TYPE_MASK 0x3000000 133*e65e175bSOded Gabbay #define MME_ARCH_HEADER_CIN_DATA_TYPE_SHIFT 26 134*e65e175bSOded Gabbay #define MME_ARCH_HEADER_CIN_DATA_TYPE_MASK 0x1C000000 135*e65e175bSOded Gabbay #define MME_ARCH_HEADER_COUT_DATA_TYPE_SHIFT 29 136*e65e175bSOded Gabbay #define MME_ARCH_HEADER_COUT_DATA_TYPE_MASK 0xE0000000 137*e65e175bSOded Gabbay 138*e65e175bSOded Gabbay /* MME_ARCH_KERNEL_SIZE_MINUS_1 */ 139*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_0_SHIFT 0 140*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_0_MASK 0xFF 141*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_1_SHIFT 8 142*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_1_MASK 0xFF00 143*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_2_SHIFT 16 144*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_2_MASK 0xFF0000 145*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_3_SHIFT 24 146*e65e175bSOded Gabbay #define MME_ARCH_KERNEL_SIZE_MINUS_1_DIM_3_MASK 0xFF000000 147*e65e175bSOded Gabbay 148*e65e175bSOded Gabbay /* MME_ARCH_ASSOCIATED_DIMS */ 149*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_A_0_SHIFT 0 150*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_A_0_MASK 0x7 151*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_B_0_SHIFT 3 152*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_B_0_MASK 0x38 153*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_CIN_0_SHIFT 6 154*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_CIN_0_MASK 0x1C0 155*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_COUT_0_SHIFT 9 156*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_COUT_0_MASK 0xE00 157*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_A_1_SHIFT 16 158*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_A_1_MASK 0x70000 159*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_B_1_SHIFT 19 160*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_B_1_MASK 0x380000 161*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_CIN_1_SHIFT 22 162*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_CIN_1_MASK 0x1C00000 163*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_COUT_1_SHIFT 25 164*e65e175bSOded Gabbay #define MME_ARCH_ASSOCIATED_DIMS_COUT_1_MASK 0xE000000 165*e65e175bSOded Gabbay 166*e65e175bSOded Gabbay /* MME_ARCH_COUT_SCALE */ 167*e65e175bSOded Gabbay #define MME_ARCH_COUT_SCALE_V_SHIFT 0 168*e65e175bSOded Gabbay #define MME_ARCH_COUT_SCALE_V_MASK 0xFFFFFFFF 169*e65e175bSOded Gabbay 170*e65e175bSOded Gabbay /* MME_ARCH_CIN_SCALE */ 171*e65e175bSOded Gabbay #define MME_ARCH_CIN_SCALE_V_SHIFT 0 172*e65e175bSOded Gabbay #define MME_ARCH_CIN_SCALE_V_MASK 0xFFFFFFFF 173*e65e175bSOded Gabbay 174*e65e175bSOded Gabbay /* MME_ARCH_GEMMLOWP_ZP */ 175*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ZP_CIN_SHIFT 0 176*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ZP_CIN_MASK 0x1FF 177*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ZP_COUT_SHIFT 9 178*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ZP_COUT_MASK 0x3FE00 179*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ZP_B_SHIFT 18 180*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ZP_B_MASK 0x7FC0000 181*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_GEMMLOWP_EU_EN_SHIFT 27 182*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_GEMMLOWP_EU_EN_MASK 0x8000000 183*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ACCUM_SHIFT 28 184*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ACCUM_MASK 0x10000000 185*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ACCUM_BIAS_SHIFT 29 186*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_ACCUM_BIAS_MASK 0x20000000 187*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_RELU_EN_SHIFT 30 188*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_ZP_RELU_EN_MASK 0x40000000 189*e65e175bSOded Gabbay 190*e65e175bSOded Gabbay /* MME_ARCH_GEMMLOWP_EXPONENT */ 191*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_EXPONENT_CIN_SHIFT 0 192*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_EXPONENT_CIN_MASK 0x3F 193*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_EXPONENT_COUT_SHIFT 8 194*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_EXPONENT_COUT_MASK 0x3F00 195*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_MUL_CIN_EN_SHIFT 16 196*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_MUL_CIN_EN_MASK 0x10000 197*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_MUL_COUT_EN_SHIFT 17 198*e65e175bSOded Gabbay #define MME_ARCH_GEMMLOWP_EXPONENT_MUL_COUT_EN_MASK 0x20000 199*e65e175bSOded Gabbay 200*e65e175bSOded Gabbay /* MME_ARCH_A_ROI_BASE_OFFSET */ 201*e65e175bSOded Gabbay #define MME_ARCH_A_ROI_BASE_OFFSET_V_SHIFT 0 202*e65e175bSOded Gabbay #define MME_ARCH_A_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 203*e65e175bSOded Gabbay 204*e65e175bSOded Gabbay /* MME_ARCH_A_VALID_ELEMENTS */ 205*e65e175bSOded Gabbay #define MME_ARCH_A_VALID_ELEMENTS_V_SHIFT 0 206*e65e175bSOded Gabbay #define MME_ARCH_A_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 207*e65e175bSOded Gabbay 208*e65e175bSOded Gabbay /* MME_ARCH_A_LOOP_STRIDE */ 209*e65e175bSOded Gabbay #define MME_ARCH_A_LOOP_STRIDE_V_SHIFT 0 210*e65e175bSOded Gabbay #define MME_ARCH_A_LOOP_STRIDE_V_MASK 0xFFFFFFFF 211*e65e175bSOded Gabbay 212*e65e175bSOded Gabbay /* MME_ARCH_A_ROI_SIZE */ 213*e65e175bSOded Gabbay #define MME_ARCH_A_ROI_SIZE_V_SHIFT 0 214*e65e175bSOded Gabbay #define MME_ARCH_A_ROI_SIZE_V_MASK 0xFFFFFFFF 215*e65e175bSOded Gabbay 216*e65e175bSOded Gabbay /* MME_ARCH_A_SPATIAL_START_OFFSET */ 217*e65e175bSOded Gabbay #define MME_ARCH_A_SPATIAL_START_OFFSET_V_SHIFT 0 218*e65e175bSOded Gabbay #define MME_ARCH_A_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 219*e65e175bSOded Gabbay 220*e65e175bSOded Gabbay /* MME_ARCH_A_SPATIAL_STRIDE */ 221*e65e175bSOded Gabbay #define MME_ARCH_A_SPATIAL_STRIDE_V_SHIFT 0 222*e65e175bSOded Gabbay #define MME_ARCH_A_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 223*e65e175bSOded Gabbay 224*e65e175bSOded Gabbay /* MME_ARCH_A_SPATIAL_SIZE_MINUS_1 */ 225*e65e175bSOded Gabbay #define MME_ARCH_A_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 226*e65e175bSOded Gabbay #define MME_ARCH_A_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 227*e65e175bSOded Gabbay 228*e65e175bSOded Gabbay /* MME_ARCH_B_ROI_BASE_OFFSET */ 229*e65e175bSOded Gabbay #define MME_ARCH_B_ROI_BASE_OFFSET_V_SHIFT 0 230*e65e175bSOded Gabbay #define MME_ARCH_B_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 231*e65e175bSOded Gabbay 232*e65e175bSOded Gabbay /* MME_ARCH_B_VALID_ELEMENTS */ 233*e65e175bSOded Gabbay #define MME_ARCH_B_VALID_ELEMENTS_V_SHIFT 0 234*e65e175bSOded Gabbay #define MME_ARCH_B_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 235*e65e175bSOded Gabbay 236*e65e175bSOded Gabbay /* MME_ARCH_B_LOOP_STRIDE */ 237*e65e175bSOded Gabbay #define MME_ARCH_B_LOOP_STRIDE_V_SHIFT 0 238*e65e175bSOded Gabbay #define MME_ARCH_B_LOOP_STRIDE_V_MASK 0xFFFFFFFF 239*e65e175bSOded Gabbay 240*e65e175bSOded Gabbay /* MME_ARCH_B_ROI_SIZE */ 241*e65e175bSOded Gabbay #define MME_ARCH_B_ROI_SIZE_V_SHIFT 0 242*e65e175bSOded Gabbay #define MME_ARCH_B_ROI_SIZE_V_MASK 0xFFFFFFFF 243*e65e175bSOded Gabbay 244*e65e175bSOded Gabbay /* MME_ARCH_B_SPATIAL_START_OFFSET */ 245*e65e175bSOded Gabbay #define MME_ARCH_B_SPATIAL_START_OFFSET_V_SHIFT 0 246*e65e175bSOded Gabbay #define MME_ARCH_B_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 247*e65e175bSOded Gabbay 248*e65e175bSOded Gabbay /* MME_ARCH_B_SPATIAL_STRIDE */ 249*e65e175bSOded Gabbay #define MME_ARCH_B_SPATIAL_STRIDE_V_SHIFT 0 250*e65e175bSOded Gabbay #define MME_ARCH_B_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 251*e65e175bSOded Gabbay 252*e65e175bSOded Gabbay /* MME_ARCH_B_SPATIAL_SIZE_MINUS_1 */ 253*e65e175bSOded Gabbay #define MME_ARCH_B_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 254*e65e175bSOded Gabbay #define MME_ARCH_B_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 255*e65e175bSOded Gabbay 256*e65e175bSOded Gabbay /* MME_ARCH_C_ROI_BASE_OFFSET */ 257*e65e175bSOded Gabbay #define MME_ARCH_C_ROI_BASE_OFFSET_V_SHIFT 0 258*e65e175bSOded Gabbay #define MME_ARCH_C_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 259*e65e175bSOded Gabbay 260*e65e175bSOded Gabbay /* MME_ARCH_C_VALID_ELEMENTS */ 261*e65e175bSOded Gabbay #define MME_ARCH_C_VALID_ELEMENTS_V_SHIFT 0 262*e65e175bSOded Gabbay #define MME_ARCH_C_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 263*e65e175bSOded Gabbay 264*e65e175bSOded Gabbay /* MME_ARCH_C_LOOP_STRIDE */ 265*e65e175bSOded Gabbay #define MME_ARCH_C_LOOP_STRIDE_V_SHIFT 0 266*e65e175bSOded Gabbay #define MME_ARCH_C_LOOP_STRIDE_V_MASK 0xFFFFFFFF 267*e65e175bSOded Gabbay 268*e65e175bSOded Gabbay /* MME_ARCH_C_ROI_SIZE */ 269*e65e175bSOded Gabbay #define MME_ARCH_C_ROI_SIZE_V_SHIFT 0 270*e65e175bSOded Gabbay #define MME_ARCH_C_ROI_SIZE_V_MASK 0xFFFFFFFF 271*e65e175bSOded Gabbay 272*e65e175bSOded Gabbay /* MME_ARCH_C_SPATIAL_START_OFFSET */ 273*e65e175bSOded Gabbay #define MME_ARCH_C_SPATIAL_START_OFFSET_V_SHIFT 0 274*e65e175bSOded Gabbay #define MME_ARCH_C_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 275*e65e175bSOded Gabbay 276*e65e175bSOded Gabbay /* MME_ARCH_C_SPATIAL_STRIDE */ 277*e65e175bSOded Gabbay #define MME_ARCH_C_SPATIAL_STRIDE_V_SHIFT 0 278*e65e175bSOded Gabbay #define MME_ARCH_C_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 279*e65e175bSOded Gabbay 280*e65e175bSOded Gabbay /* MME_ARCH_C_SPATIAL_SIZE_MINUS_1 */ 281*e65e175bSOded Gabbay #define MME_ARCH_C_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 282*e65e175bSOded Gabbay #define MME_ARCH_C_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 283*e65e175bSOded Gabbay 284*e65e175bSOded Gabbay /* MME_ARCH_SYNC_OBJECT_MESSAGE */ 285*e65e175bSOded Gabbay #define MME_ARCH_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_SHIFT 0 286*e65e175bSOded Gabbay #define MME_ARCH_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_MASK 0xFFFF 287*e65e175bSOded Gabbay #define MME_ARCH_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_SHIFT 16 288*e65e175bSOded Gabbay #define MME_ARCH_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_MASK 0x7FFF0000 289*e65e175bSOded Gabbay #define MME_ARCH_SYNC_OBJECT_MESSAGE_SO_OPERATION_SHIFT 31 290*e65e175bSOded Gabbay #define MME_ARCH_SYNC_OBJECT_MESSAGE_SO_OPERATION_MASK 0x80000000 291*e65e175bSOded Gabbay 292*e65e175bSOded Gabbay /* MME_ARCH_E_PADDING_VALUE_A */ 293*e65e175bSOded Gabbay #define MME_ARCH_E_PADDING_VALUE_A_V_SHIFT 0 294*e65e175bSOded Gabbay #define MME_ARCH_E_PADDING_VALUE_A_V_MASK 0xFFFF 295*e65e175bSOded Gabbay 296*e65e175bSOded Gabbay /* MME_ARCH_E_NUM_ITERATION_MINUS_1 */ 297*e65e175bSOded Gabbay #define MME_ARCH_E_NUM_ITERATION_MINUS_1_V_SHIFT 0 298*e65e175bSOded Gabbay #define MME_ARCH_E_NUM_ITERATION_MINUS_1_V_MASK 0xFFFFFFFF 299*e65e175bSOded Gabbay 300*e65e175bSOded Gabbay /* MME_ARCH_E_BUBBLES_PER_SPLIT */ 301*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_A_SHIFT 0 302*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_A_MASK 0xFF 303*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_B_SHIFT 8 304*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_B_MASK 0xFF00 305*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_CIN_SHIFT 16 306*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_CIN_MASK 0xFF0000 307*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_ID_SHIFT 24 308*e65e175bSOded Gabbay #define MME_ARCH_E_BUBBLES_PER_SPLIT_ID_MASK 0xFF000000 309*e65e175bSOded Gabbay 310*e65e175bSOded Gabbay /* MME_CMD */ 311*e65e175bSOded Gabbay #define MME_CMD_EXECUTE_SHIFT 0 312*e65e175bSOded Gabbay #define MME_CMD_EXECUTE_MASK 0x1 313*e65e175bSOded Gabbay 314*e65e175bSOded Gabbay /* MME_DUMMY */ 315*e65e175bSOded Gabbay #define MME_DUMMY_V_SHIFT 0 316*e65e175bSOded Gabbay #define MME_DUMMY_V_MASK 0xFFFFFFFF 317*e65e175bSOded Gabbay 318*e65e175bSOded Gabbay /* MME_RESET */ 319*e65e175bSOded Gabbay #define MME_RESET_V_SHIFT 0 320*e65e175bSOded Gabbay #define MME_RESET_V_MASK 0x1 321*e65e175bSOded Gabbay 322*e65e175bSOded Gabbay /* MME_STALL */ 323*e65e175bSOded Gabbay #define MME_STALL_V_SHIFT 0 324*e65e175bSOded Gabbay #define MME_STALL_V_MASK 0xFFFFFFFF 325*e65e175bSOded Gabbay 326*e65e175bSOded Gabbay /* MME_SM_BASE_ADDRESS_LOW */ 327*e65e175bSOded Gabbay #define MME_SM_BASE_ADDRESS_LOW_V_SHIFT 0 328*e65e175bSOded Gabbay #define MME_SM_BASE_ADDRESS_LOW_V_MASK 0xFFFFFFFF 329*e65e175bSOded Gabbay 330*e65e175bSOded Gabbay /* MME_SM_BASE_ADDRESS_HIGH */ 331*e65e175bSOded Gabbay #define MME_SM_BASE_ADDRESS_HIGH_V_SHIFT 0 332*e65e175bSOded Gabbay #define MME_SM_BASE_ADDRESS_HIGH_V_MASK 0xFFFFFFFF 333*e65e175bSOded Gabbay 334*e65e175bSOded Gabbay /* MME_DBGMEM_ADD */ 335*e65e175bSOded Gabbay #define MME_DBGMEM_ADD_V_SHIFT 0 336*e65e175bSOded Gabbay #define MME_DBGMEM_ADD_V_MASK 0xFFFFFFFF 337*e65e175bSOded Gabbay 338*e65e175bSOded Gabbay /* MME_DBGMEM_DATA_WR */ 339*e65e175bSOded Gabbay #define MME_DBGMEM_DATA_WR_V_SHIFT 0 340*e65e175bSOded Gabbay #define MME_DBGMEM_DATA_WR_V_MASK 0xFFFFFFFF 341*e65e175bSOded Gabbay 342*e65e175bSOded Gabbay /* MME_DBGMEM_DATA_RD */ 343*e65e175bSOded Gabbay #define MME_DBGMEM_DATA_RD_V_SHIFT 0 344*e65e175bSOded Gabbay #define MME_DBGMEM_DATA_RD_V_MASK 0xFFFFFFFF 345*e65e175bSOded Gabbay 346*e65e175bSOded Gabbay /* MME_DBGMEM_CTRL */ 347*e65e175bSOded Gabbay #define MME_DBGMEM_CTRL_WR_NRD_SHIFT 0 348*e65e175bSOded Gabbay #define MME_DBGMEM_CTRL_WR_NRD_MASK 0x1 349*e65e175bSOded Gabbay 350*e65e175bSOded Gabbay /* MME_DBGMEM_RC */ 351*e65e175bSOded Gabbay #define MME_DBGMEM_RC_VALID_SHIFT 0 352*e65e175bSOded Gabbay #define MME_DBGMEM_RC_VALID_MASK 0x1 353*e65e175bSOded Gabbay #define MME_DBGMEM_RC_FULL_SHIFT 1 354*e65e175bSOded Gabbay #define MME_DBGMEM_RC_FULL_MASK 0x2 355*e65e175bSOded Gabbay 356*e65e175bSOded Gabbay /* MME_LOG_SHADOW */ 357*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_0_SHIFT 0 358*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_0_MASK 0x7F 359*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_1_SHIFT 8 360*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_1_MASK 0x7F00 361*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_2_SHIFT 16 362*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_2_MASK 0x7F0000 363*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_3_SHIFT 24 364*e65e175bSOded Gabbay #define MME_LOG_SHADOW_MASK_3_MASK 0x7F000000 365*e65e175bSOded Gabbay 366*e65e175bSOded Gabbay /* MME_STORE_MAX_CREDIT */ 367*e65e175bSOded Gabbay #define MME_STORE_MAX_CREDIT_V_SHIFT 0 368*e65e175bSOded Gabbay #define MME_STORE_MAX_CREDIT_V_MASK 0x3F 369*e65e175bSOded Gabbay 370*e65e175bSOded Gabbay /* MME_AGU */ 371*e65e175bSOded Gabbay #define MME_AGU_SBA_MAX_CREDIT_SHIFT 0 372*e65e175bSOded Gabbay #define MME_AGU_SBA_MAX_CREDIT_MASK 0x1F 373*e65e175bSOded Gabbay #define MME_AGU_SBB_MAX_CREDIT_SHIFT 8 374*e65e175bSOded Gabbay #define MME_AGU_SBB_MAX_CREDIT_MASK 0x1F00 375*e65e175bSOded Gabbay #define MME_AGU_SBC_MAX_CREDIT_SHIFT 16 376*e65e175bSOded Gabbay #define MME_AGU_SBC_MAX_CREDIT_MASK 0x1F0000 377*e65e175bSOded Gabbay #define MME_AGU_WBC_MAX_CREDIT_SHIFT 24 378*e65e175bSOded Gabbay #define MME_AGU_WBC_MAX_CREDIT_MASK 0x3F000000 379*e65e175bSOded Gabbay 380*e65e175bSOded Gabbay /* MME_SBA */ 381*e65e175bSOded Gabbay #define MME_SBA_MAX_SIZE_SHIFT 0 382*e65e175bSOded Gabbay #define MME_SBA_MAX_SIZE_MASK 0x3FF 383*e65e175bSOded Gabbay #define MME_SBA_EU_MAX_CREDIT_SHIFT 16 384*e65e175bSOded Gabbay #define MME_SBA_EU_MAX_CREDIT_MASK 0x1F0000 385*e65e175bSOded Gabbay 386*e65e175bSOded Gabbay /* MME_SBB */ 387*e65e175bSOded Gabbay #define MME_SBB_MAX_SIZE_SHIFT 0 388*e65e175bSOded Gabbay #define MME_SBB_MAX_SIZE_MASK 0x3FF 389*e65e175bSOded Gabbay #define MME_SBB_EU_MAX_CREDIT_SHIFT 16 390*e65e175bSOded Gabbay #define MME_SBB_EU_MAX_CREDIT_MASK 0x1F0000 391*e65e175bSOded Gabbay 392*e65e175bSOded Gabbay /* MME_SBC */ 393*e65e175bSOded Gabbay #define MME_SBC_MAX_SIZE_SHIFT 0 394*e65e175bSOded Gabbay #define MME_SBC_MAX_SIZE_MASK 0x3FF 395*e65e175bSOded Gabbay #define MME_SBC_EU_MAX_CREDIT_SHIFT 16 396*e65e175bSOded Gabbay #define MME_SBC_EU_MAX_CREDIT_MASK 0x1F0000 397*e65e175bSOded Gabbay 398*e65e175bSOded Gabbay /* MME_WBC */ 399*e65e175bSOded Gabbay #define MME_WBC_MAX_OUTSTANDING_SHIFT 0 400*e65e175bSOded Gabbay #define MME_WBC_MAX_OUTSTANDING_MASK 0xFFF 401*e65e175bSOded Gabbay #define MME_WBC_DISABLE_FAST_END_PE_SHIFT 12 402*e65e175bSOded Gabbay #define MME_WBC_DISABLE_FAST_END_PE_MASK 0x1000 403*e65e175bSOded Gabbay #define MME_WBC_LD_INSERT_BUBBLE_DIS_SHIFT 13 404*e65e175bSOded Gabbay #define MME_WBC_LD_INSERT_BUBBLE_DIS_MASK 0x2000 405*e65e175bSOded Gabbay 406*e65e175bSOded Gabbay /* MME_SBA_CONTROL_DATA */ 407*e65e175bSOded Gabbay #define MME_SBA_CONTROL_DATA_ASID_SHIFT 0 408*e65e175bSOded Gabbay #define MME_SBA_CONTROL_DATA_ASID_MASK 0x3FF 409*e65e175bSOded Gabbay #define MME_SBA_CONTROL_DATA_MMBP_SHIFT 10 410*e65e175bSOded Gabbay #define MME_SBA_CONTROL_DATA_MMBP_MASK 0x400 411*e65e175bSOded Gabbay 412*e65e175bSOded Gabbay /* MME_SBB_CONTROL_DATA */ 413*e65e175bSOded Gabbay #define MME_SBB_CONTROL_DATA_ASID_SHIFT 0 414*e65e175bSOded Gabbay #define MME_SBB_CONTROL_DATA_ASID_MASK 0x3FF 415*e65e175bSOded Gabbay #define MME_SBB_CONTROL_DATA_MMBP_SHIFT 10 416*e65e175bSOded Gabbay #define MME_SBB_CONTROL_DATA_MMBP_MASK 0x400 417*e65e175bSOded Gabbay 418*e65e175bSOded Gabbay /* MME_SBC_CONTROL_DATA */ 419*e65e175bSOded Gabbay #define MME_SBC_CONTROL_DATA_ASID_SHIFT 0 420*e65e175bSOded Gabbay #define MME_SBC_CONTROL_DATA_ASID_MASK 0x3FF 421*e65e175bSOded Gabbay #define MME_SBC_CONTROL_DATA_MMBP_SHIFT 10 422*e65e175bSOded Gabbay #define MME_SBC_CONTROL_DATA_MMBP_MASK 0x400 423*e65e175bSOded Gabbay 424*e65e175bSOded Gabbay /* MME_WBC_CONTROL_DATA */ 425*e65e175bSOded Gabbay #define MME_WBC_CONTROL_DATA_ASID_SHIFT 0 426*e65e175bSOded Gabbay #define MME_WBC_CONTROL_DATA_ASID_MASK 0x3FF 427*e65e175bSOded Gabbay #define MME_WBC_CONTROL_DATA_MMBP_SHIFT 10 428*e65e175bSOded Gabbay #define MME_WBC_CONTROL_DATA_MMBP_MASK 0x400 429*e65e175bSOded Gabbay 430*e65e175bSOded Gabbay /* MME_TE */ 431*e65e175bSOded Gabbay #define MME_TE_MAX_CREDIT_SHIFT 0 432*e65e175bSOded Gabbay #define MME_TE_MAX_CREDIT_MASK 0x1F 433*e65e175bSOded Gabbay #define MME_TE_DESC_MAX_CREDIT_SHIFT 8 434*e65e175bSOded Gabbay #define MME_TE_DESC_MAX_CREDIT_MASK 0x1F00 435*e65e175bSOded Gabbay 436*e65e175bSOded Gabbay /* MME_TE2DEC */ 437*e65e175bSOded Gabbay #define MME_TE2DEC_MAX_CREDIT_SHIFT 0 438*e65e175bSOded Gabbay #define MME_TE2DEC_MAX_CREDIT_MASK 0x1F 439*e65e175bSOded Gabbay 440*e65e175bSOded Gabbay /* MME_REI_STATUS */ 441*e65e175bSOded Gabbay #define MME_REI_STATUS_V_SHIFT 0 442*e65e175bSOded Gabbay #define MME_REI_STATUS_V_MASK 0xFFFFFFFF 443*e65e175bSOded Gabbay 444*e65e175bSOded Gabbay /* MME_REI_MASK */ 445*e65e175bSOded Gabbay #define MME_REI_MASK_V_SHIFT 0 446*e65e175bSOded Gabbay #define MME_REI_MASK_V_MASK 0xFFFFFFFF 447*e65e175bSOded Gabbay 448*e65e175bSOded Gabbay /* MME_SEI_STATUS */ 449*e65e175bSOded Gabbay #define MME_SEI_STATUS_V_SHIFT 0 450*e65e175bSOded Gabbay #define MME_SEI_STATUS_V_MASK 0xFFFFFFFF 451*e65e175bSOded Gabbay 452*e65e175bSOded Gabbay /* MME_SEI_MASK */ 453*e65e175bSOded Gabbay #define MME_SEI_MASK_V_SHIFT 0 454*e65e175bSOded Gabbay #define MME_SEI_MASK_V_MASK 0xFFFFFFFF 455*e65e175bSOded Gabbay 456*e65e175bSOded Gabbay /* MME_SPI_STATUS */ 457*e65e175bSOded Gabbay #define MME_SPI_STATUS_V_SHIFT 0 458*e65e175bSOded Gabbay #define MME_SPI_STATUS_V_MASK 0xFFFFFFFF 459*e65e175bSOded Gabbay 460*e65e175bSOded Gabbay /* MME_SPI_MASK */ 461*e65e175bSOded Gabbay #define MME_SPI_MASK_V_SHIFT 0 462*e65e175bSOded Gabbay #define MME_SPI_MASK_V_MASK 0xFFFFFFFF 463*e65e175bSOded Gabbay 464*e65e175bSOded Gabbay /* MME_SHADOW_0_STATUS */ 465*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_A_SHIFT 0 466*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_A_MASK 0x1 467*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_B_SHIFT 1 468*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_B_MASK 0x2 469*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_CIN_SHIFT 2 470*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_CIN_MASK 0x4 471*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_COUT_SHIFT 3 472*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_COUT_MASK 0x8 473*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_TE_SHIFT 4 474*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_TE_MASK 0x10 475*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_LD_SHIFT 5 476*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_LD_MASK 0x20 477*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_ST_SHIFT 6 478*e65e175bSOded Gabbay #define MME_SHADOW_0_STATUS_ST_MASK 0x40 479*e65e175bSOded Gabbay 480*e65e175bSOded Gabbay /* MME_SHADOW_0_A_BASE_ADDR_HIGH */ 481*e65e175bSOded Gabbay #define MME_SHADOW_0_A_BASE_ADDR_HIGH_V_SHIFT 0 482*e65e175bSOded Gabbay #define MME_SHADOW_0_A_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 483*e65e175bSOded Gabbay 484*e65e175bSOded Gabbay /* MME_SHADOW_0_B_BASE_ADDR_HIGH */ 485*e65e175bSOded Gabbay #define MME_SHADOW_0_B_BASE_ADDR_HIGH_V_SHIFT 0 486*e65e175bSOded Gabbay #define MME_SHADOW_0_B_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 487*e65e175bSOded Gabbay 488*e65e175bSOded Gabbay /* MME_SHADOW_0_CIN_BASE_ADDR_HIGH */ 489*e65e175bSOded Gabbay #define MME_SHADOW_0_CIN_BASE_ADDR_HIGH_V_SHIFT 0 490*e65e175bSOded Gabbay #define MME_SHADOW_0_CIN_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 491*e65e175bSOded Gabbay 492*e65e175bSOded Gabbay /* MME_SHADOW_0_COUT_BASE_ADDR_HIGH */ 493*e65e175bSOded Gabbay #define MME_SHADOW_0_COUT_BASE_ADDR_HIGH_V_SHIFT 0 494*e65e175bSOded Gabbay #define MME_SHADOW_0_COUT_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 495*e65e175bSOded Gabbay 496*e65e175bSOded Gabbay /* MME_SHADOW_0_BIAS_BASE_ADDR_HIGH */ 497*e65e175bSOded Gabbay #define MME_SHADOW_0_BIAS_BASE_ADDR_HIGH_V_SHIFT 0 498*e65e175bSOded Gabbay #define MME_SHADOW_0_BIAS_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 499*e65e175bSOded Gabbay 500*e65e175bSOded Gabbay /* MME_SHADOW_0_A_BASE_ADDR_LOW */ 501*e65e175bSOded Gabbay #define MME_SHADOW_0_A_BASE_ADDR_LOW_V_SHIFT 0 502*e65e175bSOded Gabbay #define MME_SHADOW_0_A_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 503*e65e175bSOded Gabbay 504*e65e175bSOded Gabbay /* MME_SHADOW_0_B_BASE_ADDR_LOW */ 505*e65e175bSOded Gabbay #define MME_SHADOW_0_B_BASE_ADDR_LOW_V_SHIFT 0 506*e65e175bSOded Gabbay #define MME_SHADOW_0_B_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 507*e65e175bSOded Gabbay 508*e65e175bSOded Gabbay /* MME_SHADOW_0_CIN_BASE_ADDR_LOW */ 509*e65e175bSOded Gabbay #define MME_SHADOW_0_CIN_BASE_ADDR_LOW_V_SHIFT 0 510*e65e175bSOded Gabbay #define MME_SHADOW_0_CIN_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 511*e65e175bSOded Gabbay 512*e65e175bSOded Gabbay /* MME_SHADOW_0_COUT_BASE_ADDR_LOW */ 513*e65e175bSOded Gabbay #define MME_SHADOW_0_COUT_BASE_ADDR_LOW_V_SHIFT 0 514*e65e175bSOded Gabbay #define MME_SHADOW_0_COUT_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 515*e65e175bSOded Gabbay 516*e65e175bSOded Gabbay /* MME_SHADOW_0_BIAS_BASE_ADDR_LOW */ 517*e65e175bSOded Gabbay #define MME_SHADOW_0_BIAS_BASE_ADDR_LOW_V_SHIFT 0 518*e65e175bSOded Gabbay #define MME_SHADOW_0_BIAS_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 519*e65e175bSOded Gabbay 520*e65e175bSOded Gabbay /* MME_SHADOW_0_HEADER */ 521*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_SIGNAL_MASK_SHIFT 0 522*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_SIGNAL_MASK_MASK 0x1F 523*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_SIGNAL_EN_SHIFT 5 524*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_SIGNAL_EN_MASK 0x20 525*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_TRANS_A_SHIFT 6 526*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_TRANS_A_MASK 0x40 527*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_LOWER_A_SHIFT 7 528*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_LOWER_A_MASK 0x80 529*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ACCUM_MASK_SHIFT 8 530*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ACCUM_MASK_MASK 0xF00 531*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_LOAD_BIAS_SHIFT 12 532*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_LOAD_BIAS_MASK 0x1000 533*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_LOAD_CIN_SHIFT 13 534*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_LOAD_CIN_MASK 0x2000 535*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_STORE_OUT_SHIFT 15 536*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_STORE_OUT_MASK 0x8000 537*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ACC_LD_INC_DISABLE_SHIFT 16 538*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ACC_LD_INC_DISABLE_MASK 0x10000 539*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_A_SHIFT 17 540*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_A_MASK 0x20000 541*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_B_SHIFT 18 542*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_B_MASK 0x40000 543*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_CIN_SHIFT 19 544*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_CIN_MASK 0x80000 545*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_COUT_SHIFT 20 546*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ADVANCE_COUT_MASK 0x100000 547*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_COMPRESSED_B_SHIFT 21 548*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_COMPRESSED_B_MASK 0x200000 549*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_MASK_CONV_END_SHIFT 22 550*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_MASK_CONV_END_MASK 0x400000 551*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ACC_ST_INC_DISABLE_SHIFT 23 552*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_ACC_ST_INC_DISABLE_MASK 0x800000 553*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_AB_DATA_TYPE_SHIFT 24 554*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_AB_DATA_TYPE_MASK 0x3000000 555*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_CIN_DATA_TYPE_SHIFT 26 556*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_CIN_DATA_TYPE_MASK 0x1C000000 557*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_COUT_DATA_TYPE_SHIFT 29 558*e65e175bSOded Gabbay #define MME_SHADOW_0_HEADER_COUT_DATA_TYPE_MASK 0xE0000000 559*e65e175bSOded Gabbay 560*e65e175bSOded Gabbay /* MME_SHADOW_0_KERNEL_SIZE_MINUS_1 */ 561*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_0_SHIFT 0 562*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_0_MASK 0xFF 563*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_1_SHIFT 8 564*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_1_MASK 0xFF00 565*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_2_SHIFT 16 566*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_2_MASK 0xFF0000 567*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_3_SHIFT 24 568*e65e175bSOded Gabbay #define MME_SHADOW_0_KERNEL_SIZE_MINUS_1_DIM_3_MASK 0xFF000000 569*e65e175bSOded Gabbay 570*e65e175bSOded Gabbay /* MME_SHADOW_0_ASSOCIATED_DIMS */ 571*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_A_0_SHIFT 0 572*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_A_0_MASK 0x7 573*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_B_0_SHIFT 3 574*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_B_0_MASK 0x38 575*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_CIN_0_SHIFT 6 576*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_CIN_0_MASK 0x1C0 577*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_COUT_0_SHIFT 9 578*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_COUT_0_MASK 0xE00 579*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_A_1_SHIFT 16 580*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_A_1_MASK 0x70000 581*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_B_1_SHIFT 19 582*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_B_1_MASK 0x380000 583*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_CIN_1_SHIFT 22 584*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_CIN_1_MASK 0x1C00000 585*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_COUT_1_SHIFT 25 586*e65e175bSOded Gabbay #define MME_SHADOW_0_ASSOCIATED_DIMS_COUT_1_MASK 0xE000000 587*e65e175bSOded Gabbay 588*e65e175bSOded Gabbay /* MME_SHADOW_0_COUT_SCALE */ 589*e65e175bSOded Gabbay #define MME_SHADOW_0_COUT_SCALE_V_SHIFT 0 590*e65e175bSOded Gabbay #define MME_SHADOW_0_COUT_SCALE_V_MASK 0xFFFFFFFF 591*e65e175bSOded Gabbay 592*e65e175bSOded Gabbay /* MME_SHADOW_0_CIN_SCALE */ 593*e65e175bSOded Gabbay #define MME_SHADOW_0_CIN_SCALE_V_SHIFT 0 594*e65e175bSOded Gabbay #define MME_SHADOW_0_CIN_SCALE_V_MASK 0xFFFFFFFF 595*e65e175bSOded Gabbay 596*e65e175bSOded Gabbay /* MME_SHADOW_0_GEMMLOWP_ZP */ 597*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ZP_CIN_SHIFT 0 598*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ZP_CIN_MASK 0x1FF 599*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ZP_COUT_SHIFT 9 600*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ZP_COUT_MASK 0x3FE00 601*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ZP_B_SHIFT 18 602*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ZP_B_MASK 0x7FC0000 603*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_GEMMLOWP_EU_EN_SHIFT 27 604*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_GEMMLOWP_EU_EN_MASK 0x8000000 605*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ACCUM_SHIFT 28 606*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ACCUM_MASK 0x10000000 607*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ACCUM_BIAS_SHIFT 29 608*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_ACCUM_BIAS_MASK 0x20000000 609*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_RELU_EN_SHIFT 30 610*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_ZP_RELU_EN_MASK 0x40000000 611*e65e175bSOded Gabbay 612*e65e175bSOded Gabbay /* MME_SHADOW_0_GEMMLOWP_EXPONENT */ 613*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_EXPONENT_CIN_SHIFT 0 614*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_EXPONENT_CIN_MASK 0x3F 615*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_EXPONENT_COUT_SHIFT 8 616*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_EXPONENT_COUT_MASK 0x3F00 617*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_MUL_CIN_EN_SHIFT 16 618*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_MUL_CIN_EN_MASK 0x10000 619*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_MUL_COUT_EN_SHIFT 17 620*e65e175bSOded Gabbay #define MME_SHADOW_0_GEMMLOWP_EXPONENT_MUL_COUT_EN_MASK 0x20000 621*e65e175bSOded Gabbay 622*e65e175bSOded Gabbay /* MME_SHADOW_0_A_ROI_BASE_OFFSET */ 623*e65e175bSOded Gabbay #define MME_SHADOW_0_A_ROI_BASE_OFFSET_V_SHIFT 0 624*e65e175bSOded Gabbay #define MME_SHADOW_0_A_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 625*e65e175bSOded Gabbay 626*e65e175bSOded Gabbay /* MME_SHADOW_0_A_VALID_ELEMENTS */ 627*e65e175bSOded Gabbay #define MME_SHADOW_0_A_VALID_ELEMENTS_V_SHIFT 0 628*e65e175bSOded Gabbay #define MME_SHADOW_0_A_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 629*e65e175bSOded Gabbay 630*e65e175bSOded Gabbay /* MME_SHADOW_0_A_LOOP_STRIDE */ 631*e65e175bSOded Gabbay #define MME_SHADOW_0_A_LOOP_STRIDE_V_SHIFT 0 632*e65e175bSOded Gabbay #define MME_SHADOW_0_A_LOOP_STRIDE_V_MASK 0xFFFFFFFF 633*e65e175bSOded Gabbay 634*e65e175bSOded Gabbay /* MME_SHADOW_0_A_ROI_SIZE */ 635*e65e175bSOded Gabbay #define MME_SHADOW_0_A_ROI_SIZE_V_SHIFT 0 636*e65e175bSOded Gabbay #define MME_SHADOW_0_A_ROI_SIZE_V_MASK 0xFFFFFFFF 637*e65e175bSOded Gabbay 638*e65e175bSOded Gabbay /* MME_SHADOW_0_A_SPATIAL_START_OFFSET */ 639*e65e175bSOded Gabbay #define MME_SHADOW_0_A_SPATIAL_START_OFFSET_V_SHIFT 0 640*e65e175bSOded Gabbay #define MME_SHADOW_0_A_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 641*e65e175bSOded Gabbay 642*e65e175bSOded Gabbay /* MME_SHADOW_0_A_SPATIAL_STRIDE */ 643*e65e175bSOded Gabbay #define MME_SHADOW_0_A_SPATIAL_STRIDE_V_SHIFT 0 644*e65e175bSOded Gabbay #define MME_SHADOW_0_A_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 645*e65e175bSOded Gabbay 646*e65e175bSOded Gabbay /* MME_SHADOW_0_A_SPATIAL_SIZE_MINUS_1 */ 647*e65e175bSOded Gabbay #define MME_SHADOW_0_A_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 648*e65e175bSOded Gabbay #define MME_SHADOW_0_A_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 649*e65e175bSOded Gabbay 650*e65e175bSOded Gabbay /* MME_SHADOW_0_B_ROI_BASE_OFFSET */ 651*e65e175bSOded Gabbay #define MME_SHADOW_0_B_ROI_BASE_OFFSET_V_SHIFT 0 652*e65e175bSOded Gabbay #define MME_SHADOW_0_B_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 653*e65e175bSOded Gabbay 654*e65e175bSOded Gabbay /* MME_SHADOW_0_B_VALID_ELEMENTS */ 655*e65e175bSOded Gabbay #define MME_SHADOW_0_B_VALID_ELEMENTS_V_SHIFT 0 656*e65e175bSOded Gabbay #define MME_SHADOW_0_B_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 657*e65e175bSOded Gabbay 658*e65e175bSOded Gabbay /* MME_SHADOW_0_B_LOOP_STRIDE */ 659*e65e175bSOded Gabbay #define MME_SHADOW_0_B_LOOP_STRIDE_V_SHIFT 0 660*e65e175bSOded Gabbay #define MME_SHADOW_0_B_LOOP_STRIDE_V_MASK 0xFFFFFFFF 661*e65e175bSOded Gabbay 662*e65e175bSOded Gabbay /* MME_SHADOW_0_B_ROI_SIZE */ 663*e65e175bSOded Gabbay #define MME_SHADOW_0_B_ROI_SIZE_V_SHIFT 0 664*e65e175bSOded Gabbay #define MME_SHADOW_0_B_ROI_SIZE_V_MASK 0xFFFFFFFF 665*e65e175bSOded Gabbay 666*e65e175bSOded Gabbay /* MME_SHADOW_0_B_SPATIAL_START_OFFSET */ 667*e65e175bSOded Gabbay #define MME_SHADOW_0_B_SPATIAL_START_OFFSET_V_SHIFT 0 668*e65e175bSOded Gabbay #define MME_SHADOW_0_B_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 669*e65e175bSOded Gabbay 670*e65e175bSOded Gabbay /* MME_SHADOW_0_B_SPATIAL_STRIDE */ 671*e65e175bSOded Gabbay #define MME_SHADOW_0_B_SPATIAL_STRIDE_V_SHIFT 0 672*e65e175bSOded Gabbay #define MME_SHADOW_0_B_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 673*e65e175bSOded Gabbay 674*e65e175bSOded Gabbay /* MME_SHADOW_0_B_SPATIAL_SIZE_MINUS_1 */ 675*e65e175bSOded Gabbay #define MME_SHADOW_0_B_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 676*e65e175bSOded Gabbay #define MME_SHADOW_0_B_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 677*e65e175bSOded Gabbay 678*e65e175bSOded Gabbay /* MME_SHADOW_0_C_ROI_BASE_OFFSET */ 679*e65e175bSOded Gabbay #define MME_SHADOW_0_C_ROI_BASE_OFFSET_V_SHIFT 0 680*e65e175bSOded Gabbay #define MME_SHADOW_0_C_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 681*e65e175bSOded Gabbay 682*e65e175bSOded Gabbay /* MME_SHADOW_0_C_VALID_ELEMENTS */ 683*e65e175bSOded Gabbay #define MME_SHADOW_0_C_VALID_ELEMENTS_V_SHIFT 0 684*e65e175bSOded Gabbay #define MME_SHADOW_0_C_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 685*e65e175bSOded Gabbay 686*e65e175bSOded Gabbay /* MME_SHADOW_0_C_LOOP_STRIDE */ 687*e65e175bSOded Gabbay #define MME_SHADOW_0_C_LOOP_STRIDE_V_SHIFT 0 688*e65e175bSOded Gabbay #define MME_SHADOW_0_C_LOOP_STRIDE_V_MASK 0xFFFFFFFF 689*e65e175bSOded Gabbay 690*e65e175bSOded Gabbay /* MME_SHADOW_0_C_ROI_SIZE */ 691*e65e175bSOded Gabbay #define MME_SHADOW_0_C_ROI_SIZE_V_SHIFT 0 692*e65e175bSOded Gabbay #define MME_SHADOW_0_C_ROI_SIZE_V_MASK 0xFFFFFFFF 693*e65e175bSOded Gabbay 694*e65e175bSOded Gabbay /* MME_SHADOW_0_C_SPATIAL_START_OFFSET */ 695*e65e175bSOded Gabbay #define MME_SHADOW_0_C_SPATIAL_START_OFFSET_V_SHIFT 0 696*e65e175bSOded Gabbay #define MME_SHADOW_0_C_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 697*e65e175bSOded Gabbay 698*e65e175bSOded Gabbay /* MME_SHADOW_0_C_SPATIAL_STRIDE */ 699*e65e175bSOded Gabbay #define MME_SHADOW_0_C_SPATIAL_STRIDE_V_SHIFT 0 700*e65e175bSOded Gabbay #define MME_SHADOW_0_C_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 701*e65e175bSOded Gabbay 702*e65e175bSOded Gabbay /* MME_SHADOW_0_C_SPATIAL_SIZE_MINUS_1 */ 703*e65e175bSOded Gabbay #define MME_SHADOW_0_C_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 704*e65e175bSOded Gabbay #define MME_SHADOW_0_C_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 705*e65e175bSOded Gabbay 706*e65e175bSOded Gabbay /* MME_SHADOW_0_SYNC_OBJECT_MESSAGE */ 707*e65e175bSOded Gabbay #define MME_SHADOW_0_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_SHIFT 0 708*e65e175bSOded Gabbay #define MME_SHADOW_0_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_MASK 0xFFFF 709*e65e175bSOded Gabbay #define MME_SHADOW_0_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_SHIFT 16 710*e65e175bSOded Gabbay #define MME_SHADOW_0_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_MASK 0x7FFF0000 711*e65e175bSOded Gabbay #define MME_SHADOW_0_SYNC_OBJECT_MESSAGE_SO_OPERATION_SHIFT 31 712*e65e175bSOded Gabbay #define MME_SHADOW_0_SYNC_OBJECT_MESSAGE_SO_OPERATION_MASK 0x80000000 713*e65e175bSOded Gabbay 714*e65e175bSOded Gabbay /* MME_SHADOW_0_E_PADDING_VALUE_A */ 715*e65e175bSOded Gabbay #define MME_SHADOW_0_E_PADDING_VALUE_A_V_SHIFT 0 716*e65e175bSOded Gabbay #define MME_SHADOW_0_E_PADDING_VALUE_A_V_MASK 0xFFFF 717*e65e175bSOded Gabbay 718*e65e175bSOded Gabbay /* MME_SHADOW_0_E_NUM_ITERATION_MINUS_1 */ 719*e65e175bSOded Gabbay #define MME_SHADOW_0_E_NUM_ITERATION_MINUS_1_V_SHIFT 0 720*e65e175bSOded Gabbay #define MME_SHADOW_0_E_NUM_ITERATION_MINUS_1_V_MASK 0xFFFFFFFF 721*e65e175bSOded Gabbay 722*e65e175bSOded Gabbay /* MME_SHADOW_0_E_BUBBLES_PER_SPLIT */ 723*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_A_SHIFT 0 724*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_A_MASK 0xFF 725*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_B_SHIFT 8 726*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_B_MASK 0xFF00 727*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_CIN_SHIFT 16 728*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_CIN_MASK 0xFF0000 729*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_ID_SHIFT 24 730*e65e175bSOded Gabbay #define MME_SHADOW_0_E_BUBBLES_PER_SPLIT_ID_MASK 0xFF000000 731*e65e175bSOded Gabbay 732*e65e175bSOded Gabbay /* MME_SHADOW_1_STATUS */ 733*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_A_SHIFT 0 734*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_A_MASK 0x1 735*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_B_SHIFT 1 736*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_B_MASK 0x2 737*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_CIN_SHIFT 2 738*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_CIN_MASK 0x4 739*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_COUT_SHIFT 3 740*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_COUT_MASK 0x8 741*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_TE_SHIFT 4 742*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_TE_MASK 0x10 743*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_LD_SHIFT 5 744*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_LD_MASK 0x20 745*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_ST_SHIFT 6 746*e65e175bSOded Gabbay #define MME_SHADOW_1_STATUS_ST_MASK 0x40 747*e65e175bSOded Gabbay 748*e65e175bSOded Gabbay /* MME_SHADOW_1_A_BASE_ADDR_HIGH */ 749*e65e175bSOded Gabbay #define MME_SHADOW_1_A_BASE_ADDR_HIGH_V_SHIFT 0 750*e65e175bSOded Gabbay #define MME_SHADOW_1_A_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 751*e65e175bSOded Gabbay 752*e65e175bSOded Gabbay /* MME_SHADOW_1_B_BASE_ADDR_HIGH */ 753*e65e175bSOded Gabbay #define MME_SHADOW_1_B_BASE_ADDR_HIGH_V_SHIFT 0 754*e65e175bSOded Gabbay #define MME_SHADOW_1_B_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 755*e65e175bSOded Gabbay 756*e65e175bSOded Gabbay /* MME_SHADOW_1_CIN_BASE_ADDR_HIGH */ 757*e65e175bSOded Gabbay #define MME_SHADOW_1_CIN_BASE_ADDR_HIGH_V_SHIFT 0 758*e65e175bSOded Gabbay #define MME_SHADOW_1_CIN_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 759*e65e175bSOded Gabbay 760*e65e175bSOded Gabbay /* MME_SHADOW_1_COUT_BASE_ADDR_HIGH */ 761*e65e175bSOded Gabbay #define MME_SHADOW_1_COUT_BASE_ADDR_HIGH_V_SHIFT 0 762*e65e175bSOded Gabbay #define MME_SHADOW_1_COUT_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 763*e65e175bSOded Gabbay 764*e65e175bSOded Gabbay /* MME_SHADOW_1_BIAS_BASE_ADDR_HIGH */ 765*e65e175bSOded Gabbay #define MME_SHADOW_1_BIAS_BASE_ADDR_HIGH_V_SHIFT 0 766*e65e175bSOded Gabbay #define MME_SHADOW_1_BIAS_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 767*e65e175bSOded Gabbay 768*e65e175bSOded Gabbay /* MME_SHADOW_1_A_BASE_ADDR_LOW */ 769*e65e175bSOded Gabbay #define MME_SHADOW_1_A_BASE_ADDR_LOW_V_SHIFT 0 770*e65e175bSOded Gabbay #define MME_SHADOW_1_A_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 771*e65e175bSOded Gabbay 772*e65e175bSOded Gabbay /* MME_SHADOW_1_B_BASE_ADDR_LOW */ 773*e65e175bSOded Gabbay #define MME_SHADOW_1_B_BASE_ADDR_LOW_V_SHIFT 0 774*e65e175bSOded Gabbay #define MME_SHADOW_1_B_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 775*e65e175bSOded Gabbay 776*e65e175bSOded Gabbay /* MME_SHADOW_1_CIN_BASE_ADDR_LOW */ 777*e65e175bSOded Gabbay #define MME_SHADOW_1_CIN_BASE_ADDR_LOW_V_SHIFT 0 778*e65e175bSOded Gabbay #define MME_SHADOW_1_CIN_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 779*e65e175bSOded Gabbay 780*e65e175bSOded Gabbay /* MME_SHADOW_1_COUT_BASE_ADDR_LOW */ 781*e65e175bSOded Gabbay #define MME_SHADOW_1_COUT_BASE_ADDR_LOW_V_SHIFT 0 782*e65e175bSOded Gabbay #define MME_SHADOW_1_COUT_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 783*e65e175bSOded Gabbay 784*e65e175bSOded Gabbay /* MME_SHADOW_1_BIAS_BASE_ADDR_LOW */ 785*e65e175bSOded Gabbay #define MME_SHADOW_1_BIAS_BASE_ADDR_LOW_V_SHIFT 0 786*e65e175bSOded Gabbay #define MME_SHADOW_1_BIAS_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 787*e65e175bSOded Gabbay 788*e65e175bSOded Gabbay /* MME_SHADOW_1_HEADER */ 789*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_SIGNAL_MASK_SHIFT 0 790*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_SIGNAL_MASK_MASK 0x1F 791*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_SIGNAL_EN_SHIFT 5 792*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_SIGNAL_EN_MASK 0x20 793*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_TRANS_A_SHIFT 6 794*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_TRANS_A_MASK 0x40 795*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_LOWER_A_SHIFT 7 796*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_LOWER_A_MASK 0x80 797*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ACCUM_MASK_SHIFT 8 798*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ACCUM_MASK_MASK 0xF00 799*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_LOAD_BIAS_SHIFT 12 800*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_LOAD_BIAS_MASK 0x1000 801*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_LOAD_CIN_SHIFT 13 802*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_LOAD_CIN_MASK 0x2000 803*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_STORE_OUT_SHIFT 15 804*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_STORE_OUT_MASK 0x8000 805*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ACC_LD_INC_DISABLE_SHIFT 16 806*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ACC_LD_INC_DISABLE_MASK 0x10000 807*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_A_SHIFT 17 808*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_A_MASK 0x20000 809*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_B_SHIFT 18 810*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_B_MASK 0x40000 811*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_CIN_SHIFT 19 812*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_CIN_MASK 0x80000 813*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_COUT_SHIFT 20 814*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ADVANCE_COUT_MASK 0x100000 815*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_COMPRESSED_B_SHIFT 21 816*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_COMPRESSED_B_MASK 0x200000 817*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_MASK_CONV_END_SHIFT 22 818*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_MASK_CONV_END_MASK 0x400000 819*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ACC_ST_INC_DISABLE_SHIFT 23 820*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_ACC_ST_INC_DISABLE_MASK 0x800000 821*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_AB_DATA_TYPE_SHIFT 24 822*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_AB_DATA_TYPE_MASK 0x3000000 823*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_CIN_DATA_TYPE_SHIFT 26 824*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_CIN_DATA_TYPE_MASK 0x1C000000 825*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_COUT_DATA_TYPE_SHIFT 29 826*e65e175bSOded Gabbay #define MME_SHADOW_1_HEADER_COUT_DATA_TYPE_MASK 0xE0000000 827*e65e175bSOded Gabbay 828*e65e175bSOded Gabbay /* MME_SHADOW_1_KERNEL_SIZE_MINUS_1 */ 829*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_0_SHIFT 0 830*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_0_MASK 0xFF 831*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_1_SHIFT 8 832*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_1_MASK 0xFF00 833*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_2_SHIFT 16 834*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_2_MASK 0xFF0000 835*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_3_SHIFT 24 836*e65e175bSOded Gabbay #define MME_SHADOW_1_KERNEL_SIZE_MINUS_1_DIM_3_MASK 0xFF000000 837*e65e175bSOded Gabbay 838*e65e175bSOded Gabbay /* MME_SHADOW_1_ASSOCIATED_DIMS */ 839*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_A_0_SHIFT 0 840*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_A_0_MASK 0x7 841*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_B_0_SHIFT 3 842*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_B_0_MASK 0x38 843*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_CIN_0_SHIFT 6 844*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_CIN_0_MASK 0x1C0 845*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_COUT_0_SHIFT 9 846*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_COUT_0_MASK 0xE00 847*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_A_1_SHIFT 16 848*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_A_1_MASK 0x70000 849*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_B_1_SHIFT 19 850*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_B_1_MASK 0x380000 851*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_CIN_1_SHIFT 22 852*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_CIN_1_MASK 0x1C00000 853*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_COUT_1_SHIFT 25 854*e65e175bSOded Gabbay #define MME_SHADOW_1_ASSOCIATED_DIMS_COUT_1_MASK 0xE000000 855*e65e175bSOded Gabbay 856*e65e175bSOded Gabbay /* MME_SHADOW_1_COUT_SCALE */ 857*e65e175bSOded Gabbay #define MME_SHADOW_1_COUT_SCALE_V_SHIFT 0 858*e65e175bSOded Gabbay #define MME_SHADOW_1_COUT_SCALE_V_MASK 0xFFFFFFFF 859*e65e175bSOded Gabbay 860*e65e175bSOded Gabbay /* MME_SHADOW_1_CIN_SCALE */ 861*e65e175bSOded Gabbay #define MME_SHADOW_1_CIN_SCALE_V_SHIFT 0 862*e65e175bSOded Gabbay #define MME_SHADOW_1_CIN_SCALE_V_MASK 0xFFFFFFFF 863*e65e175bSOded Gabbay 864*e65e175bSOded Gabbay /* MME_SHADOW_1_GEMMLOWP_ZP */ 865*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ZP_CIN_SHIFT 0 866*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ZP_CIN_MASK 0x1FF 867*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ZP_COUT_SHIFT 9 868*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ZP_COUT_MASK 0x3FE00 869*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ZP_B_SHIFT 18 870*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ZP_B_MASK 0x7FC0000 871*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_GEMMLOWP_EU_EN_SHIFT 27 872*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_GEMMLOWP_EU_EN_MASK 0x8000000 873*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ACCUM_SHIFT 28 874*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ACCUM_MASK 0x10000000 875*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ACCUM_BIAS_SHIFT 29 876*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_ACCUM_BIAS_MASK 0x20000000 877*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_RELU_EN_SHIFT 30 878*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_ZP_RELU_EN_MASK 0x40000000 879*e65e175bSOded Gabbay 880*e65e175bSOded Gabbay /* MME_SHADOW_1_GEMMLOWP_EXPONENT */ 881*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_EXPONENT_CIN_SHIFT 0 882*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_EXPONENT_CIN_MASK 0x3F 883*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_EXPONENT_COUT_SHIFT 8 884*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_EXPONENT_COUT_MASK 0x3F00 885*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_MUL_CIN_EN_SHIFT 16 886*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_MUL_CIN_EN_MASK 0x10000 887*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_MUL_COUT_EN_SHIFT 17 888*e65e175bSOded Gabbay #define MME_SHADOW_1_GEMMLOWP_EXPONENT_MUL_COUT_EN_MASK 0x20000 889*e65e175bSOded Gabbay 890*e65e175bSOded Gabbay /* MME_SHADOW_1_A_ROI_BASE_OFFSET */ 891*e65e175bSOded Gabbay #define MME_SHADOW_1_A_ROI_BASE_OFFSET_V_SHIFT 0 892*e65e175bSOded Gabbay #define MME_SHADOW_1_A_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 893*e65e175bSOded Gabbay 894*e65e175bSOded Gabbay /* MME_SHADOW_1_A_VALID_ELEMENTS */ 895*e65e175bSOded Gabbay #define MME_SHADOW_1_A_VALID_ELEMENTS_V_SHIFT 0 896*e65e175bSOded Gabbay #define MME_SHADOW_1_A_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 897*e65e175bSOded Gabbay 898*e65e175bSOded Gabbay /* MME_SHADOW_1_A_LOOP_STRIDE */ 899*e65e175bSOded Gabbay #define MME_SHADOW_1_A_LOOP_STRIDE_V_SHIFT 0 900*e65e175bSOded Gabbay #define MME_SHADOW_1_A_LOOP_STRIDE_V_MASK 0xFFFFFFFF 901*e65e175bSOded Gabbay 902*e65e175bSOded Gabbay /* MME_SHADOW_1_A_ROI_SIZE */ 903*e65e175bSOded Gabbay #define MME_SHADOW_1_A_ROI_SIZE_V_SHIFT 0 904*e65e175bSOded Gabbay #define MME_SHADOW_1_A_ROI_SIZE_V_MASK 0xFFFFFFFF 905*e65e175bSOded Gabbay 906*e65e175bSOded Gabbay /* MME_SHADOW_1_A_SPATIAL_START_OFFSET */ 907*e65e175bSOded Gabbay #define MME_SHADOW_1_A_SPATIAL_START_OFFSET_V_SHIFT 0 908*e65e175bSOded Gabbay #define MME_SHADOW_1_A_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 909*e65e175bSOded Gabbay 910*e65e175bSOded Gabbay /* MME_SHADOW_1_A_SPATIAL_STRIDE */ 911*e65e175bSOded Gabbay #define MME_SHADOW_1_A_SPATIAL_STRIDE_V_SHIFT 0 912*e65e175bSOded Gabbay #define MME_SHADOW_1_A_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 913*e65e175bSOded Gabbay 914*e65e175bSOded Gabbay /* MME_SHADOW_1_A_SPATIAL_SIZE_MINUS_1 */ 915*e65e175bSOded Gabbay #define MME_SHADOW_1_A_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 916*e65e175bSOded Gabbay #define MME_SHADOW_1_A_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 917*e65e175bSOded Gabbay 918*e65e175bSOded Gabbay /* MME_SHADOW_1_B_ROI_BASE_OFFSET */ 919*e65e175bSOded Gabbay #define MME_SHADOW_1_B_ROI_BASE_OFFSET_V_SHIFT 0 920*e65e175bSOded Gabbay #define MME_SHADOW_1_B_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 921*e65e175bSOded Gabbay 922*e65e175bSOded Gabbay /* MME_SHADOW_1_B_VALID_ELEMENTS */ 923*e65e175bSOded Gabbay #define MME_SHADOW_1_B_VALID_ELEMENTS_V_SHIFT 0 924*e65e175bSOded Gabbay #define MME_SHADOW_1_B_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 925*e65e175bSOded Gabbay 926*e65e175bSOded Gabbay /* MME_SHADOW_1_B_LOOP_STRIDE */ 927*e65e175bSOded Gabbay #define MME_SHADOW_1_B_LOOP_STRIDE_V_SHIFT 0 928*e65e175bSOded Gabbay #define MME_SHADOW_1_B_LOOP_STRIDE_V_MASK 0xFFFFFFFF 929*e65e175bSOded Gabbay 930*e65e175bSOded Gabbay /* MME_SHADOW_1_B_ROI_SIZE */ 931*e65e175bSOded Gabbay #define MME_SHADOW_1_B_ROI_SIZE_V_SHIFT 0 932*e65e175bSOded Gabbay #define MME_SHADOW_1_B_ROI_SIZE_V_MASK 0xFFFFFFFF 933*e65e175bSOded Gabbay 934*e65e175bSOded Gabbay /* MME_SHADOW_1_B_SPATIAL_START_OFFSET */ 935*e65e175bSOded Gabbay #define MME_SHADOW_1_B_SPATIAL_START_OFFSET_V_SHIFT 0 936*e65e175bSOded Gabbay #define MME_SHADOW_1_B_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 937*e65e175bSOded Gabbay 938*e65e175bSOded Gabbay /* MME_SHADOW_1_B_SPATIAL_STRIDE */ 939*e65e175bSOded Gabbay #define MME_SHADOW_1_B_SPATIAL_STRIDE_V_SHIFT 0 940*e65e175bSOded Gabbay #define MME_SHADOW_1_B_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 941*e65e175bSOded Gabbay 942*e65e175bSOded Gabbay /* MME_SHADOW_1_B_SPATIAL_SIZE_MINUS_1 */ 943*e65e175bSOded Gabbay #define MME_SHADOW_1_B_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 944*e65e175bSOded Gabbay #define MME_SHADOW_1_B_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 945*e65e175bSOded Gabbay 946*e65e175bSOded Gabbay /* MME_SHADOW_1_C_ROI_BASE_OFFSET */ 947*e65e175bSOded Gabbay #define MME_SHADOW_1_C_ROI_BASE_OFFSET_V_SHIFT 0 948*e65e175bSOded Gabbay #define MME_SHADOW_1_C_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 949*e65e175bSOded Gabbay 950*e65e175bSOded Gabbay /* MME_SHADOW_1_C_VALID_ELEMENTS */ 951*e65e175bSOded Gabbay #define MME_SHADOW_1_C_VALID_ELEMENTS_V_SHIFT 0 952*e65e175bSOded Gabbay #define MME_SHADOW_1_C_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 953*e65e175bSOded Gabbay 954*e65e175bSOded Gabbay /* MME_SHADOW_1_C_LOOP_STRIDE */ 955*e65e175bSOded Gabbay #define MME_SHADOW_1_C_LOOP_STRIDE_V_SHIFT 0 956*e65e175bSOded Gabbay #define MME_SHADOW_1_C_LOOP_STRIDE_V_MASK 0xFFFFFFFF 957*e65e175bSOded Gabbay 958*e65e175bSOded Gabbay /* MME_SHADOW_1_C_ROI_SIZE */ 959*e65e175bSOded Gabbay #define MME_SHADOW_1_C_ROI_SIZE_V_SHIFT 0 960*e65e175bSOded Gabbay #define MME_SHADOW_1_C_ROI_SIZE_V_MASK 0xFFFFFFFF 961*e65e175bSOded Gabbay 962*e65e175bSOded Gabbay /* MME_SHADOW_1_C_SPATIAL_START_OFFSET */ 963*e65e175bSOded Gabbay #define MME_SHADOW_1_C_SPATIAL_START_OFFSET_V_SHIFT 0 964*e65e175bSOded Gabbay #define MME_SHADOW_1_C_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 965*e65e175bSOded Gabbay 966*e65e175bSOded Gabbay /* MME_SHADOW_1_C_SPATIAL_STRIDE */ 967*e65e175bSOded Gabbay #define MME_SHADOW_1_C_SPATIAL_STRIDE_V_SHIFT 0 968*e65e175bSOded Gabbay #define MME_SHADOW_1_C_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 969*e65e175bSOded Gabbay 970*e65e175bSOded Gabbay /* MME_SHADOW_1_C_SPATIAL_SIZE_MINUS_1 */ 971*e65e175bSOded Gabbay #define MME_SHADOW_1_C_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 972*e65e175bSOded Gabbay #define MME_SHADOW_1_C_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 973*e65e175bSOded Gabbay 974*e65e175bSOded Gabbay /* MME_SHADOW_1_SYNC_OBJECT_MESSAGE */ 975*e65e175bSOded Gabbay #define MME_SHADOW_1_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_SHIFT 0 976*e65e175bSOded Gabbay #define MME_SHADOW_1_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_MASK 0xFFFF 977*e65e175bSOded Gabbay #define MME_SHADOW_1_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_SHIFT 16 978*e65e175bSOded Gabbay #define MME_SHADOW_1_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_MASK 0x7FFF0000 979*e65e175bSOded Gabbay #define MME_SHADOW_1_SYNC_OBJECT_MESSAGE_SO_OPERATION_SHIFT 31 980*e65e175bSOded Gabbay #define MME_SHADOW_1_SYNC_OBJECT_MESSAGE_SO_OPERATION_MASK 0x80000000 981*e65e175bSOded Gabbay 982*e65e175bSOded Gabbay /* MME_SHADOW_1_E_PADDING_VALUE_A */ 983*e65e175bSOded Gabbay #define MME_SHADOW_1_E_PADDING_VALUE_A_V_SHIFT 0 984*e65e175bSOded Gabbay #define MME_SHADOW_1_E_PADDING_VALUE_A_V_MASK 0xFFFF 985*e65e175bSOded Gabbay 986*e65e175bSOded Gabbay /* MME_SHADOW_1_E_NUM_ITERATION_MINUS_1 */ 987*e65e175bSOded Gabbay #define MME_SHADOW_1_E_NUM_ITERATION_MINUS_1_V_SHIFT 0 988*e65e175bSOded Gabbay #define MME_SHADOW_1_E_NUM_ITERATION_MINUS_1_V_MASK 0xFFFFFFFF 989*e65e175bSOded Gabbay 990*e65e175bSOded Gabbay /* MME_SHADOW_1_E_BUBBLES_PER_SPLIT */ 991*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_A_SHIFT 0 992*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_A_MASK 0xFF 993*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_B_SHIFT 8 994*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_B_MASK 0xFF00 995*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_CIN_SHIFT 16 996*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_CIN_MASK 0xFF0000 997*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_ID_SHIFT 24 998*e65e175bSOded Gabbay #define MME_SHADOW_1_E_BUBBLES_PER_SPLIT_ID_MASK 0xFF000000 999*e65e175bSOded Gabbay 1000*e65e175bSOded Gabbay /* MME_SHADOW_2_STATUS */ 1001*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_A_SHIFT 0 1002*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_A_MASK 0x1 1003*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_B_SHIFT 1 1004*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_B_MASK 0x2 1005*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_CIN_SHIFT 2 1006*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_CIN_MASK 0x4 1007*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_COUT_SHIFT 3 1008*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_COUT_MASK 0x8 1009*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_TE_SHIFT 4 1010*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_TE_MASK 0x10 1011*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_LD_SHIFT 5 1012*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_LD_MASK 0x20 1013*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_ST_SHIFT 6 1014*e65e175bSOded Gabbay #define MME_SHADOW_2_STATUS_ST_MASK 0x40 1015*e65e175bSOded Gabbay 1016*e65e175bSOded Gabbay /* MME_SHADOW_2_A_BASE_ADDR_HIGH */ 1017*e65e175bSOded Gabbay #define MME_SHADOW_2_A_BASE_ADDR_HIGH_V_SHIFT 0 1018*e65e175bSOded Gabbay #define MME_SHADOW_2_A_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1019*e65e175bSOded Gabbay 1020*e65e175bSOded Gabbay /* MME_SHADOW_2_B_BASE_ADDR_HIGH */ 1021*e65e175bSOded Gabbay #define MME_SHADOW_2_B_BASE_ADDR_HIGH_V_SHIFT 0 1022*e65e175bSOded Gabbay #define MME_SHADOW_2_B_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1023*e65e175bSOded Gabbay 1024*e65e175bSOded Gabbay /* MME_SHADOW_2_CIN_BASE_ADDR_HIGH */ 1025*e65e175bSOded Gabbay #define MME_SHADOW_2_CIN_BASE_ADDR_HIGH_V_SHIFT 0 1026*e65e175bSOded Gabbay #define MME_SHADOW_2_CIN_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1027*e65e175bSOded Gabbay 1028*e65e175bSOded Gabbay /* MME_SHADOW_2_COUT_BASE_ADDR_HIGH */ 1029*e65e175bSOded Gabbay #define MME_SHADOW_2_COUT_BASE_ADDR_HIGH_V_SHIFT 0 1030*e65e175bSOded Gabbay #define MME_SHADOW_2_COUT_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1031*e65e175bSOded Gabbay 1032*e65e175bSOded Gabbay /* MME_SHADOW_2_BIAS_BASE_ADDR_HIGH */ 1033*e65e175bSOded Gabbay #define MME_SHADOW_2_BIAS_BASE_ADDR_HIGH_V_SHIFT 0 1034*e65e175bSOded Gabbay #define MME_SHADOW_2_BIAS_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1035*e65e175bSOded Gabbay 1036*e65e175bSOded Gabbay /* MME_SHADOW_2_A_BASE_ADDR_LOW */ 1037*e65e175bSOded Gabbay #define MME_SHADOW_2_A_BASE_ADDR_LOW_V_SHIFT 0 1038*e65e175bSOded Gabbay #define MME_SHADOW_2_A_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1039*e65e175bSOded Gabbay 1040*e65e175bSOded Gabbay /* MME_SHADOW_2_B_BASE_ADDR_LOW */ 1041*e65e175bSOded Gabbay #define MME_SHADOW_2_B_BASE_ADDR_LOW_V_SHIFT 0 1042*e65e175bSOded Gabbay #define MME_SHADOW_2_B_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1043*e65e175bSOded Gabbay 1044*e65e175bSOded Gabbay /* MME_SHADOW_2_CIN_BASE_ADDR_LOW */ 1045*e65e175bSOded Gabbay #define MME_SHADOW_2_CIN_BASE_ADDR_LOW_V_SHIFT 0 1046*e65e175bSOded Gabbay #define MME_SHADOW_2_CIN_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1047*e65e175bSOded Gabbay 1048*e65e175bSOded Gabbay /* MME_SHADOW_2_COUT_BASE_ADDR_LOW */ 1049*e65e175bSOded Gabbay #define MME_SHADOW_2_COUT_BASE_ADDR_LOW_V_SHIFT 0 1050*e65e175bSOded Gabbay #define MME_SHADOW_2_COUT_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1051*e65e175bSOded Gabbay 1052*e65e175bSOded Gabbay /* MME_SHADOW_2_BIAS_BASE_ADDR_LOW */ 1053*e65e175bSOded Gabbay #define MME_SHADOW_2_BIAS_BASE_ADDR_LOW_V_SHIFT 0 1054*e65e175bSOded Gabbay #define MME_SHADOW_2_BIAS_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1055*e65e175bSOded Gabbay 1056*e65e175bSOded Gabbay /* MME_SHADOW_2_HEADER */ 1057*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_SIGNAL_MASK_SHIFT 0 1058*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_SIGNAL_MASK_MASK 0x1F 1059*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_SIGNAL_EN_SHIFT 5 1060*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_SIGNAL_EN_MASK 0x20 1061*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_TRANS_A_SHIFT 6 1062*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_TRANS_A_MASK 0x40 1063*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_LOWER_A_SHIFT 7 1064*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_LOWER_A_MASK 0x80 1065*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ACCUM_MASK_SHIFT 8 1066*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ACCUM_MASK_MASK 0xF00 1067*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_LOAD_BIAS_SHIFT 12 1068*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_LOAD_BIAS_MASK 0x1000 1069*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_LOAD_CIN_SHIFT 13 1070*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_LOAD_CIN_MASK 0x2000 1071*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_STORE_OUT_SHIFT 15 1072*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_STORE_OUT_MASK 0x8000 1073*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ACC_LD_INC_DISABLE_SHIFT 16 1074*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ACC_LD_INC_DISABLE_MASK 0x10000 1075*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_A_SHIFT 17 1076*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_A_MASK 0x20000 1077*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_B_SHIFT 18 1078*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_B_MASK 0x40000 1079*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_CIN_SHIFT 19 1080*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_CIN_MASK 0x80000 1081*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_COUT_SHIFT 20 1082*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ADVANCE_COUT_MASK 0x100000 1083*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_COMPRESSED_B_SHIFT 21 1084*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_COMPRESSED_B_MASK 0x200000 1085*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_MASK_CONV_END_SHIFT 22 1086*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_MASK_CONV_END_MASK 0x400000 1087*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ACC_ST_INC_DISABLE_SHIFT 23 1088*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_ACC_ST_INC_DISABLE_MASK 0x800000 1089*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_AB_DATA_TYPE_SHIFT 24 1090*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_AB_DATA_TYPE_MASK 0x3000000 1091*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_CIN_DATA_TYPE_SHIFT 26 1092*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_CIN_DATA_TYPE_MASK 0x1C000000 1093*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_COUT_DATA_TYPE_SHIFT 29 1094*e65e175bSOded Gabbay #define MME_SHADOW_2_HEADER_COUT_DATA_TYPE_MASK 0xE0000000 1095*e65e175bSOded Gabbay 1096*e65e175bSOded Gabbay /* MME_SHADOW_2_KERNEL_SIZE_MINUS_1 */ 1097*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_0_SHIFT 0 1098*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_0_MASK 0xFF 1099*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_1_SHIFT 8 1100*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_1_MASK 0xFF00 1101*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_2_SHIFT 16 1102*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_2_MASK 0xFF0000 1103*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_3_SHIFT 24 1104*e65e175bSOded Gabbay #define MME_SHADOW_2_KERNEL_SIZE_MINUS_1_DIM_3_MASK 0xFF000000 1105*e65e175bSOded Gabbay 1106*e65e175bSOded Gabbay /* MME_SHADOW_2_ASSOCIATED_DIMS */ 1107*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_A_0_SHIFT 0 1108*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_A_0_MASK 0x7 1109*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_B_0_SHIFT 3 1110*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_B_0_MASK 0x38 1111*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_CIN_0_SHIFT 6 1112*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_CIN_0_MASK 0x1C0 1113*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_COUT_0_SHIFT 9 1114*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_COUT_0_MASK 0xE00 1115*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_A_1_SHIFT 16 1116*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_A_1_MASK 0x70000 1117*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_B_1_SHIFT 19 1118*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_B_1_MASK 0x380000 1119*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_CIN_1_SHIFT 22 1120*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_CIN_1_MASK 0x1C00000 1121*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_COUT_1_SHIFT 25 1122*e65e175bSOded Gabbay #define MME_SHADOW_2_ASSOCIATED_DIMS_COUT_1_MASK 0xE000000 1123*e65e175bSOded Gabbay 1124*e65e175bSOded Gabbay /* MME_SHADOW_2_COUT_SCALE */ 1125*e65e175bSOded Gabbay #define MME_SHADOW_2_COUT_SCALE_V_SHIFT 0 1126*e65e175bSOded Gabbay #define MME_SHADOW_2_COUT_SCALE_V_MASK 0xFFFFFFFF 1127*e65e175bSOded Gabbay 1128*e65e175bSOded Gabbay /* MME_SHADOW_2_CIN_SCALE */ 1129*e65e175bSOded Gabbay #define MME_SHADOW_2_CIN_SCALE_V_SHIFT 0 1130*e65e175bSOded Gabbay #define MME_SHADOW_2_CIN_SCALE_V_MASK 0xFFFFFFFF 1131*e65e175bSOded Gabbay 1132*e65e175bSOded Gabbay /* MME_SHADOW_2_GEMMLOWP_ZP */ 1133*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ZP_CIN_SHIFT 0 1134*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ZP_CIN_MASK 0x1FF 1135*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ZP_COUT_SHIFT 9 1136*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ZP_COUT_MASK 0x3FE00 1137*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ZP_B_SHIFT 18 1138*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ZP_B_MASK 0x7FC0000 1139*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_GEMMLOWP_EU_EN_SHIFT 27 1140*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_GEMMLOWP_EU_EN_MASK 0x8000000 1141*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ACCUM_SHIFT 28 1142*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ACCUM_MASK 0x10000000 1143*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ACCUM_BIAS_SHIFT 29 1144*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_ACCUM_BIAS_MASK 0x20000000 1145*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_RELU_EN_SHIFT 30 1146*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_ZP_RELU_EN_MASK 0x40000000 1147*e65e175bSOded Gabbay 1148*e65e175bSOded Gabbay /* MME_SHADOW_2_GEMMLOWP_EXPONENT */ 1149*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_EXPONENT_CIN_SHIFT 0 1150*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_EXPONENT_CIN_MASK 0x3F 1151*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_EXPONENT_COUT_SHIFT 8 1152*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_EXPONENT_COUT_MASK 0x3F00 1153*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_MUL_CIN_EN_SHIFT 16 1154*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_MUL_CIN_EN_MASK 0x10000 1155*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_MUL_COUT_EN_SHIFT 17 1156*e65e175bSOded Gabbay #define MME_SHADOW_2_GEMMLOWP_EXPONENT_MUL_COUT_EN_MASK 0x20000 1157*e65e175bSOded Gabbay 1158*e65e175bSOded Gabbay /* MME_SHADOW_2_A_ROI_BASE_OFFSET */ 1159*e65e175bSOded Gabbay #define MME_SHADOW_2_A_ROI_BASE_OFFSET_V_SHIFT 0 1160*e65e175bSOded Gabbay #define MME_SHADOW_2_A_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 1161*e65e175bSOded Gabbay 1162*e65e175bSOded Gabbay /* MME_SHADOW_2_A_VALID_ELEMENTS */ 1163*e65e175bSOded Gabbay #define MME_SHADOW_2_A_VALID_ELEMENTS_V_SHIFT 0 1164*e65e175bSOded Gabbay #define MME_SHADOW_2_A_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 1165*e65e175bSOded Gabbay 1166*e65e175bSOded Gabbay /* MME_SHADOW_2_A_LOOP_STRIDE */ 1167*e65e175bSOded Gabbay #define MME_SHADOW_2_A_LOOP_STRIDE_V_SHIFT 0 1168*e65e175bSOded Gabbay #define MME_SHADOW_2_A_LOOP_STRIDE_V_MASK 0xFFFFFFFF 1169*e65e175bSOded Gabbay 1170*e65e175bSOded Gabbay /* MME_SHADOW_2_A_ROI_SIZE */ 1171*e65e175bSOded Gabbay #define MME_SHADOW_2_A_ROI_SIZE_V_SHIFT 0 1172*e65e175bSOded Gabbay #define MME_SHADOW_2_A_ROI_SIZE_V_MASK 0xFFFFFFFF 1173*e65e175bSOded Gabbay 1174*e65e175bSOded Gabbay /* MME_SHADOW_2_A_SPATIAL_START_OFFSET */ 1175*e65e175bSOded Gabbay #define MME_SHADOW_2_A_SPATIAL_START_OFFSET_V_SHIFT 0 1176*e65e175bSOded Gabbay #define MME_SHADOW_2_A_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 1177*e65e175bSOded Gabbay 1178*e65e175bSOded Gabbay /* MME_SHADOW_2_A_SPATIAL_STRIDE */ 1179*e65e175bSOded Gabbay #define MME_SHADOW_2_A_SPATIAL_STRIDE_V_SHIFT 0 1180*e65e175bSOded Gabbay #define MME_SHADOW_2_A_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 1181*e65e175bSOded Gabbay 1182*e65e175bSOded Gabbay /* MME_SHADOW_2_A_SPATIAL_SIZE_MINUS_1 */ 1183*e65e175bSOded Gabbay #define MME_SHADOW_2_A_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 1184*e65e175bSOded Gabbay #define MME_SHADOW_2_A_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 1185*e65e175bSOded Gabbay 1186*e65e175bSOded Gabbay /* MME_SHADOW_2_B_ROI_BASE_OFFSET */ 1187*e65e175bSOded Gabbay #define MME_SHADOW_2_B_ROI_BASE_OFFSET_V_SHIFT 0 1188*e65e175bSOded Gabbay #define MME_SHADOW_2_B_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 1189*e65e175bSOded Gabbay 1190*e65e175bSOded Gabbay /* MME_SHADOW_2_B_VALID_ELEMENTS */ 1191*e65e175bSOded Gabbay #define MME_SHADOW_2_B_VALID_ELEMENTS_V_SHIFT 0 1192*e65e175bSOded Gabbay #define MME_SHADOW_2_B_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 1193*e65e175bSOded Gabbay 1194*e65e175bSOded Gabbay /* MME_SHADOW_2_B_LOOP_STRIDE */ 1195*e65e175bSOded Gabbay #define MME_SHADOW_2_B_LOOP_STRIDE_V_SHIFT 0 1196*e65e175bSOded Gabbay #define MME_SHADOW_2_B_LOOP_STRIDE_V_MASK 0xFFFFFFFF 1197*e65e175bSOded Gabbay 1198*e65e175bSOded Gabbay /* MME_SHADOW_2_B_ROI_SIZE */ 1199*e65e175bSOded Gabbay #define MME_SHADOW_2_B_ROI_SIZE_V_SHIFT 0 1200*e65e175bSOded Gabbay #define MME_SHADOW_2_B_ROI_SIZE_V_MASK 0xFFFFFFFF 1201*e65e175bSOded Gabbay 1202*e65e175bSOded Gabbay /* MME_SHADOW_2_B_SPATIAL_START_OFFSET */ 1203*e65e175bSOded Gabbay #define MME_SHADOW_2_B_SPATIAL_START_OFFSET_V_SHIFT 0 1204*e65e175bSOded Gabbay #define MME_SHADOW_2_B_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 1205*e65e175bSOded Gabbay 1206*e65e175bSOded Gabbay /* MME_SHADOW_2_B_SPATIAL_STRIDE */ 1207*e65e175bSOded Gabbay #define MME_SHADOW_2_B_SPATIAL_STRIDE_V_SHIFT 0 1208*e65e175bSOded Gabbay #define MME_SHADOW_2_B_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 1209*e65e175bSOded Gabbay 1210*e65e175bSOded Gabbay /* MME_SHADOW_2_B_SPATIAL_SIZE_MINUS_1 */ 1211*e65e175bSOded Gabbay #define MME_SHADOW_2_B_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 1212*e65e175bSOded Gabbay #define MME_SHADOW_2_B_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 1213*e65e175bSOded Gabbay 1214*e65e175bSOded Gabbay /* MME_SHADOW_2_C_ROI_BASE_OFFSET */ 1215*e65e175bSOded Gabbay #define MME_SHADOW_2_C_ROI_BASE_OFFSET_V_SHIFT 0 1216*e65e175bSOded Gabbay #define MME_SHADOW_2_C_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 1217*e65e175bSOded Gabbay 1218*e65e175bSOded Gabbay /* MME_SHADOW_2_C_VALID_ELEMENTS */ 1219*e65e175bSOded Gabbay #define MME_SHADOW_2_C_VALID_ELEMENTS_V_SHIFT 0 1220*e65e175bSOded Gabbay #define MME_SHADOW_2_C_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 1221*e65e175bSOded Gabbay 1222*e65e175bSOded Gabbay /* MME_SHADOW_2_C_LOOP_STRIDE */ 1223*e65e175bSOded Gabbay #define MME_SHADOW_2_C_LOOP_STRIDE_V_SHIFT 0 1224*e65e175bSOded Gabbay #define MME_SHADOW_2_C_LOOP_STRIDE_V_MASK 0xFFFFFFFF 1225*e65e175bSOded Gabbay 1226*e65e175bSOded Gabbay /* MME_SHADOW_2_C_ROI_SIZE */ 1227*e65e175bSOded Gabbay #define MME_SHADOW_2_C_ROI_SIZE_V_SHIFT 0 1228*e65e175bSOded Gabbay #define MME_SHADOW_2_C_ROI_SIZE_V_MASK 0xFFFFFFFF 1229*e65e175bSOded Gabbay 1230*e65e175bSOded Gabbay /* MME_SHADOW_2_C_SPATIAL_START_OFFSET */ 1231*e65e175bSOded Gabbay #define MME_SHADOW_2_C_SPATIAL_START_OFFSET_V_SHIFT 0 1232*e65e175bSOded Gabbay #define MME_SHADOW_2_C_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 1233*e65e175bSOded Gabbay 1234*e65e175bSOded Gabbay /* MME_SHADOW_2_C_SPATIAL_STRIDE */ 1235*e65e175bSOded Gabbay #define MME_SHADOW_2_C_SPATIAL_STRIDE_V_SHIFT 0 1236*e65e175bSOded Gabbay #define MME_SHADOW_2_C_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 1237*e65e175bSOded Gabbay 1238*e65e175bSOded Gabbay /* MME_SHADOW_2_C_SPATIAL_SIZE_MINUS_1 */ 1239*e65e175bSOded Gabbay #define MME_SHADOW_2_C_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 1240*e65e175bSOded Gabbay #define MME_SHADOW_2_C_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 1241*e65e175bSOded Gabbay 1242*e65e175bSOded Gabbay /* MME_SHADOW_2_SYNC_OBJECT_MESSAGE */ 1243*e65e175bSOded Gabbay #define MME_SHADOW_2_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_SHIFT 0 1244*e65e175bSOded Gabbay #define MME_SHADOW_2_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_MASK 0xFFFF 1245*e65e175bSOded Gabbay #define MME_SHADOW_2_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_SHIFT 16 1246*e65e175bSOded Gabbay #define MME_SHADOW_2_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_MASK 0x7FFF0000 1247*e65e175bSOded Gabbay #define MME_SHADOW_2_SYNC_OBJECT_MESSAGE_SO_OPERATION_SHIFT 31 1248*e65e175bSOded Gabbay #define MME_SHADOW_2_SYNC_OBJECT_MESSAGE_SO_OPERATION_MASK 0x80000000 1249*e65e175bSOded Gabbay 1250*e65e175bSOded Gabbay /* MME_SHADOW_2_E_PADDING_VALUE_A */ 1251*e65e175bSOded Gabbay #define MME_SHADOW_2_E_PADDING_VALUE_A_V_SHIFT 0 1252*e65e175bSOded Gabbay #define MME_SHADOW_2_E_PADDING_VALUE_A_V_MASK 0xFFFF 1253*e65e175bSOded Gabbay 1254*e65e175bSOded Gabbay /* MME_SHADOW_2_E_NUM_ITERATION_MINUS_1 */ 1255*e65e175bSOded Gabbay #define MME_SHADOW_2_E_NUM_ITERATION_MINUS_1_V_SHIFT 0 1256*e65e175bSOded Gabbay #define MME_SHADOW_2_E_NUM_ITERATION_MINUS_1_V_MASK 0xFFFFFFFF 1257*e65e175bSOded Gabbay 1258*e65e175bSOded Gabbay /* MME_SHADOW_2_E_BUBBLES_PER_SPLIT */ 1259*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_A_SHIFT 0 1260*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_A_MASK 0xFF 1261*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_B_SHIFT 8 1262*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_B_MASK 0xFF00 1263*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_CIN_SHIFT 16 1264*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_CIN_MASK 0xFF0000 1265*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_ID_SHIFT 24 1266*e65e175bSOded Gabbay #define MME_SHADOW_2_E_BUBBLES_PER_SPLIT_ID_MASK 0xFF000000 1267*e65e175bSOded Gabbay 1268*e65e175bSOded Gabbay /* MME_SHADOW_3_STATUS */ 1269*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_A_SHIFT 0 1270*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_A_MASK 0x1 1271*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_B_SHIFT 1 1272*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_B_MASK 0x2 1273*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_CIN_SHIFT 2 1274*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_CIN_MASK 0x4 1275*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_COUT_SHIFT 3 1276*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_COUT_MASK 0x8 1277*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_TE_SHIFT 4 1278*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_TE_MASK 0x10 1279*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_LD_SHIFT 5 1280*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_LD_MASK 0x20 1281*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_ST_SHIFT 6 1282*e65e175bSOded Gabbay #define MME_SHADOW_3_STATUS_ST_MASK 0x40 1283*e65e175bSOded Gabbay 1284*e65e175bSOded Gabbay /* MME_SHADOW_3_A_BASE_ADDR_HIGH */ 1285*e65e175bSOded Gabbay #define MME_SHADOW_3_A_BASE_ADDR_HIGH_V_SHIFT 0 1286*e65e175bSOded Gabbay #define MME_SHADOW_3_A_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1287*e65e175bSOded Gabbay 1288*e65e175bSOded Gabbay /* MME_SHADOW_3_B_BASE_ADDR_HIGH */ 1289*e65e175bSOded Gabbay #define MME_SHADOW_3_B_BASE_ADDR_HIGH_V_SHIFT 0 1290*e65e175bSOded Gabbay #define MME_SHADOW_3_B_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1291*e65e175bSOded Gabbay 1292*e65e175bSOded Gabbay /* MME_SHADOW_3_CIN_BASE_ADDR_HIGH */ 1293*e65e175bSOded Gabbay #define MME_SHADOW_3_CIN_BASE_ADDR_HIGH_V_SHIFT 0 1294*e65e175bSOded Gabbay #define MME_SHADOW_3_CIN_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1295*e65e175bSOded Gabbay 1296*e65e175bSOded Gabbay /* MME_SHADOW_3_COUT_BASE_ADDR_HIGH */ 1297*e65e175bSOded Gabbay #define MME_SHADOW_3_COUT_BASE_ADDR_HIGH_V_SHIFT 0 1298*e65e175bSOded Gabbay #define MME_SHADOW_3_COUT_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1299*e65e175bSOded Gabbay 1300*e65e175bSOded Gabbay /* MME_SHADOW_3_BIAS_BASE_ADDR_HIGH */ 1301*e65e175bSOded Gabbay #define MME_SHADOW_3_BIAS_BASE_ADDR_HIGH_V_SHIFT 0 1302*e65e175bSOded Gabbay #define MME_SHADOW_3_BIAS_BASE_ADDR_HIGH_V_MASK 0xFFFFFFFF 1303*e65e175bSOded Gabbay 1304*e65e175bSOded Gabbay /* MME_SHADOW_3_A_BASE_ADDR_LOW */ 1305*e65e175bSOded Gabbay #define MME_SHADOW_3_A_BASE_ADDR_LOW_V_SHIFT 0 1306*e65e175bSOded Gabbay #define MME_SHADOW_3_A_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1307*e65e175bSOded Gabbay 1308*e65e175bSOded Gabbay /* MME_SHADOW_3_B_BASE_ADDR_LOW */ 1309*e65e175bSOded Gabbay #define MME_SHADOW_3_B_BASE_ADDR_LOW_V_SHIFT 0 1310*e65e175bSOded Gabbay #define MME_SHADOW_3_B_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1311*e65e175bSOded Gabbay 1312*e65e175bSOded Gabbay /* MME_SHADOW_3_CIN_BASE_ADDR_LOW */ 1313*e65e175bSOded Gabbay #define MME_SHADOW_3_CIN_BASE_ADDR_LOW_V_SHIFT 0 1314*e65e175bSOded Gabbay #define MME_SHADOW_3_CIN_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1315*e65e175bSOded Gabbay 1316*e65e175bSOded Gabbay /* MME_SHADOW_3_COUT_BASE_ADDR_LOW */ 1317*e65e175bSOded Gabbay #define MME_SHADOW_3_COUT_BASE_ADDR_LOW_V_SHIFT 0 1318*e65e175bSOded Gabbay #define MME_SHADOW_3_COUT_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1319*e65e175bSOded Gabbay 1320*e65e175bSOded Gabbay /* MME_SHADOW_3_BIAS_BASE_ADDR_LOW */ 1321*e65e175bSOded Gabbay #define MME_SHADOW_3_BIAS_BASE_ADDR_LOW_V_SHIFT 0 1322*e65e175bSOded Gabbay #define MME_SHADOW_3_BIAS_BASE_ADDR_LOW_V_MASK 0xFFFFFFFF 1323*e65e175bSOded Gabbay 1324*e65e175bSOded Gabbay /* MME_SHADOW_3_HEADER */ 1325*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_SIGNAL_MASK_SHIFT 0 1326*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_SIGNAL_MASK_MASK 0x1F 1327*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_SIGNAL_EN_SHIFT 5 1328*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_SIGNAL_EN_MASK 0x20 1329*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_TRANS_A_SHIFT 6 1330*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_TRANS_A_MASK 0x40 1331*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_LOWER_A_SHIFT 7 1332*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_LOWER_A_MASK 0x80 1333*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ACCUM_MASK_SHIFT 8 1334*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ACCUM_MASK_MASK 0xF00 1335*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_LOAD_BIAS_SHIFT 12 1336*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_LOAD_BIAS_MASK 0x1000 1337*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_LOAD_CIN_SHIFT 13 1338*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_LOAD_CIN_MASK 0x2000 1339*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_STORE_OUT_SHIFT 15 1340*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_STORE_OUT_MASK 0x8000 1341*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ACC_LD_INC_DISABLE_SHIFT 16 1342*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ACC_LD_INC_DISABLE_MASK 0x10000 1343*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_A_SHIFT 17 1344*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_A_MASK 0x20000 1345*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_B_SHIFT 18 1346*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_B_MASK 0x40000 1347*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_CIN_SHIFT 19 1348*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_CIN_MASK 0x80000 1349*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_COUT_SHIFT 20 1350*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ADVANCE_COUT_MASK 0x100000 1351*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_COMPRESSED_B_SHIFT 21 1352*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_COMPRESSED_B_MASK 0x200000 1353*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_MASK_CONV_END_SHIFT 22 1354*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_MASK_CONV_END_MASK 0x400000 1355*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ACC_ST_INC_DISABLE_SHIFT 23 1356*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_ACC_ST_INC_DISABLE_MASK 0x800000 1357*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_AB_DATA_TYPE_SHIFT 24 1358*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_AB_DATA_TYPE_MASK 0x3000000 1359*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_CIN_DATA_TYPE_SHIFT 26 1360*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_CIN_DATA_TYPE_MASK 0x1C000000 1361*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_COUT_DATA_TYPE_SHIFT 29 1362*e65e175bSOded Gabbay #define MME_SHADOW_3_HEADER_COUT_DATA_TYPE_MASK 0xE0000000 1363*e65e175bSOded Gabbay 1364*e65e175bSOded Gabbay /* MME_SHADOW_3_KERNEL_SIZE_MINUS_1 */ 1365*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_0_SHIFT 0 1366*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_0_MASK 0xFF 1367*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_1_SHIFT 8 1368*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_1_MASK 0xFF00 1369*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_2_SHIFT 16 1370*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_2_MASK 0xFF0000 1371*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_3_SHIFT 24 1372*e65e175bSOded Gabbay #define MME_SHADOW_3_KERNEL_SIZE_MINUS_1_DIM_3_MASK 0xFF000000 1373*e65e175bSOded Gabbay 1374*e65e175bSOded Gabbay /* MME_SHADOW_3_ASSOCIATED_DIMS */ 1375*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_A_0_SHIFT 0 1376*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_A_0_MASK 0x7 1377*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_B_0_SHIFT 3 1378*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_B_0_MASK 0x38 1379*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_CIN_0_SHIFT 6 1380*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_CIN_0_MASK 0x1C0 1381*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_COUT_0_SHIFT 9 1382*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_COUT_0_MASK 0xE00 1383*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_A_1_SHIFT 16 1384*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_A_1_MASK 0x70000 1385*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_B_1_SHIFT 19 1386*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_B_1_MASK 0x380000 1387*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_CIN_1_SHIFT 22 1388*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_CIN_1_MASK 0x1C00000 1389*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_COUT_1_SHIFT 25 1390*e65e175bSOded Gabbay #define MME_SHADOW_3_ASSOCIATED_DIMS_COUT_1_MASK 0xE000000 1391*e65e175bSOded Gabbay 1392*e65e175bSOded Gabbay /* MME_SHADOW_3_COUT_SCALE */ 1393*e65e175bSOded Gabbay #define MME_SHADOW_3_COUT_SCALE_V_SHIFT 0 1394*e65e175bSOded Gabbay #define MME_SHADOW_3_COUT_SCALE_V_MASK 0xFFFFFFFF 1395*e65e175bSOded Gabbay 1396*e65e175bSOded Gabbay /* MME_SHADOW_3_CIN_SCALE */ 1397*e65e175bSOded Gabbay #define MME_SHADOW_3_CIN_SCALE_V_SHIFT 0 1398*e65e175bSOded Gabbay #define MME_SHADOW_3_CIN_SCALE_V_MASK 0xFFFFFFFF 1399*e65e175bSOded Gabbay 1400*e65e175bSOded Gabbay /* MME_SHADOW_3_GEMMLOWP_ZP */ 1401*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ZP_CIN_SHIFT 0 1402*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ZP_CIN_MASK 0x1FF 1403*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ZP_COUT_SHIFT 9 1404*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ZP_COUT_MASK 0x3FE00 1405*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ZP_B_SHIFT 18 1406*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ZP_B_MASK 0x7FC0000 1407*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_GEMMLOWP_EU_EN_SHIFT 27 1408*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_GEMMLOWP_EU_EN_MASK 0x8000000 1409*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ACCUM_SHIFT 28 1410*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ACCUM_MASK 0x10000000 1411*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ACCUM_BIAS_SHIFT 29 1412*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_ACCUM_BIAS_MASK 0x20000000 1413*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_RELU_EN_SHIFT 30 1414*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_ZP_RELU_EN_MASK 0x40000000 1415*e65e175bSOded Gabbay 1416*e65e175bSOded Gabbay /* MME_SHADOW_3_GEMMLOWP_EXPONENT */ 1417*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_EXPONENT_CIN_SHIFT 0 1418*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_EXPONENT_CIN_MASK 0x3F 1419*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_EXPONENT_COUT_SHIFT 8 1420*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_EXPONENT_COUT_MASK 0x3F00 1421*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_MUL_CIN_EN_SHIFT 16 1422*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_MUL_CIN_EN_MASK 0x10000 1423*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_MUL_COUT_EN_SHIFT 17 1424*e65e175bSOded Gabbay #define MME_SHADOW_3_GEMMLOWP_EXPONENT_MUL_COUT_EN_MASK 0x20000 1425*e65e175bSOded Gabbay 1426*e65e175bSOded Gabbay /* MME_SHADOW_3_A_ROI_BASE_OFFSET */ 1427*e65e175bSOded Gabbay #define MME_SHADOW_3_A_ROI_BASE_OFFSET_V_SHIFT 0 1428*e65e175bSOded Gabbay #define MME_SHADOW_3_A_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 1429*e65e175bSOded Gabbay 1430*e65e175bSOded Gabbay /* MME_SHADOW_3_A_VALID_ELEMENTS */ 1431*e65e175bSOded Gabbay #define MME_SHADOW_3_A_VALID_ELEMENTS_V_SHIFT 0 1432*e65e175bSOded Gabbay #define MME_SHADOW_3_A_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 1433*e65e175bSOded Gabbay 1434*e65e175bSOded Gabbay /* MME_SHADOW_3_A_LOOP_STRIDE */ 1435*e65e175bSOded Gabbay #define MME_SHADOW_3_A_LOOP_STRIDE_V_SHIFT 0 1436*e65e175bSOded Gabbay #define MME_SHADOW_3_A_LOOP_STRIDE_V_MASK 0xFFFFFFFF 1437*e65e175bSOded Gabbay 1438*e65e175bSOded Gabbay /* MME_SHADOW_3_A_ROI_SIZE */ 1439*e65e175bSOded Gabbay #define MME_SHADOW_3_A_ROI_SIZE_V_SHIFT 0 1440*e65e175bSOded Gabbay #define MME_SHADOW_3_A_ROI_SIZE_V_MASK 0xFFFFFFFF 1441*e65e175bSOded Gabbay 1442*e65e175bSOded Gabbay /* MME_SHADOW_3_A_SPATIAL_START_OFFSET */ 1443*e65e175bSOded Gabbay #define MME_SHADOW_3_A_SPATIAL_START_OFFSET_V_SHIFT 0 1444*e65e175bSOded Gabbay #define MME_SHADOW_3_A_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 1445*e65e175bSOded Gabbay 1446*e65e175bSOded Gabbay /* MME_SHADOW_3_A_SPATIAL_STRIDE */ 1447*e65e175bSOded Gabbay #define MME_SHADOW_3_A_SPATIAL_STRIDE_V_SHIFT 0 1448*e65e175bSOded Gabbay #define MME_SHADOW_3_A_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 1449*e65e175bSOded Gabbay 1450*e65e175bSOded Gabbay /* MME_SHADOW_3_A_SPATIAL_SIZE_MINUS_1 */ 1451*e65e175bSOded Gabbay #define MME_SHADOW_3_A_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 1452*e65e175bSOded Gabbay #define MME_SHADOW_3_A_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 1453*e65e175bSOded Gabbay 1454*e65e175bSOded Gabbay /* MME_SHADOW_3_B_ROI_BASE_OFFSET */ 1455*e65e175bSOded Gabbay #define MME_SHADOW_3_B_ROI_BASE_OFFSET_V_SHIFT 0 1456*e65e175bSOded Gabbay #define MME_SHADOW_3_B_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 1457*e65e175bSOded Gabbay 1458*e65e175bSOded Gabbay /* MME_SHADOW_3_B_VALID_ELEMENTS */ 1459*e65e175bSOded Gabbay #define MME_SHADOW_3_B_VALID_ELEMENTS_V_SHIFT 0 1460*e65e175bSOded Gabbay #define MME_SHADOW_3_B_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 1461*e65e175bSOded Gabbay 1462*e65e175bSOded Gabbay /* MME_SHADOW_3_B_LOOP_STRIDE */ 1463*e65e175bSOded Gabbay #define MME_SHADOW_3_B_LOOP_STRIDE_V_SHIFT 0 1464*e65e175bSOded Gabbay #define MME_SHADOW_3_B_LOOP_STRIDE_V_MASK 0xFFFFFFFF 1465*e65e175bSOded Gabbay 1466*e65e175bSOded Gabbay /* MME_SHADOW_3_B_ROI_SIZE */ 1467*e65e175bSOded Gabbay #define MME_SHADOW_3_B_ROI_SIZE_V_SHIFT 0 1468*e65e175bSOded Gabbay #define MME_SHADOW_3_B_ROI_SIZE_V_MASK 0xFFFFFFFF 1469*e65e175bSOded Gabbay 1470*e65e175bSOded Gabbay /* MME_SHADOW_3_B_SPATIAL_START_OFFSET */ 1471*e65e175bSOded Gabbay #define MME_SHADOW_3_B_SPATIAL_START_OFFSET_V_SHIFT 0 1472*e65e175bSOded Gabbay #define MME_SHADOW_3_B_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 1473*e65e175bSOded Gabbay 1474*e65e175bSOded Gabbay /* MME_SHADOW_3_B_SPATIAL_STRIDE */ 1475*e65e175bSOded Gabbay #define MME_SHADOW_3_B_SPATIAL_STRIDE_V_SHIFT 0 1476*e65e175bSOded Gabbay #define MME_SHADOW_3_B_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 1477*e65e175bSOded Gabbay 1478*e65e175bSOded Gabbay /* MME_SHADOW_3_B_SPATIAL_SIZE_MINUS_1 */ 1479*e65e175bSOded Gabbay #define MME_SHADOW_3_B_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 1480*e65e175bSOded Gabbay #define MME_SHADOW_3_B_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 1481*e65e175bSOded Gabbay 1482*e65e175bSOded Gabbay /* MME_SHADOW_3_C_ROI_BASE_OFFSET */ 1483*e65e175bSOded Gabbay #define MME_SHADOW_3_C_ROI_BASE_OFFSET_V_SHIFT 0 1484*e65e175bSOded Gabbay #define MME_SHADOW_3_C_ROI_BASE_OFFSET_V_MASK 0xFFFFFFFF 1485*e65e175bSOded Gabbay 1486*e65e175bSOded Gabbay /* MME_SHADOW_3_C_VALID_ELEMENTS */ 1487*e65e175bSOded Gabbay #define MME_SHADOW_3_C_VALID_ELEMENTS_V_SHIFT 0 1488*e65e175bSOded Gabbay #define MME_SHADOW_3_C_VALID_ELEMENTS_V_MASK 0xFFFFFFFF 1489*e65e175bSOded Gabbay 1490*e65e175bSOded Gabbay /* MME_SHADOW_3_C_LOOP_STRIDE */ 1491*e65e175bSOded Gabbay #define MME_SHADOW_3_C_LOOP_STRIDE_V_SHIFT 0 1492*e65e175bSOded Gabbay #define MME_SHADOW_3_C_LOOP_STRIDE_V_MASK 0xFFFFFFFF 1493*e65e175bSOded Gabbay 1494*e65e175bSOded Gabbay /* MME_SHADOW_3_C_ROI_SIZE */ 1495*e65e175bSOded Gabbay #define MME_SHADOW_3_C_ROI_SIZE_V_SHIFT 0 1496*e65e175bSOded Gabbay #define MME_SHADOW_3_C_ROI_SIZE_V_MASK 0xFFFFFFFF 1497*e65e175bSOded Gabbay 1498*e65e175bSOded Gabbay /* MME_SHADOW_3_C_SPATIAL_START_OFFSET */ 1499*e65e175bSOded Gabbay #define MME_SHADOW_3_C_SPATIAL_START_OFFSET_V_SHIFT 0 1500*e65e175bSOded Gabbay #define MME_SHADOW_3_C_SPATIAL_START_OFFSET_V_MASK 0xFFFFFFFF 1501*e65e175bSOded Gabbay 1502*e65e175bSOded Gabbay /* MME_SHADOW_3_C_SPATIAL_STRIDE */ 1503*e65e175bSOded Gabbay #define MME_SHADOW_3_C_SPATIAL_STRIDE_V_SHIFT 0 1504*e65e175bSOded Gabbay #define MME_SHADOW_3_C_SPATIAL_STRIDE_V_MASK 0xFFFFFFFF 1505*e65e175bSOded Gabbay 1506*e65e175bSOded Gabbay /* MME_SHADOW_3_C_SPATIAL_SIZE_MINUS_1 */ 1507*e65e175bSOded Gabbay #define MME_SHADOW_3_C_SPATIAL_SIZE_MINUS_1_V_SHIFT 0 1508*e65e175bSOded Gabbay #define MME_SHADOW_3_C_SPATIAL_SIZE_MINUS_1_V_MASK 0xFFFFFFFF 1509*e65e175bSOded Gabbay 1510*e65e175bSOded Gabbay /* MME_SHADOW_3_SYNC_OBJECT_MESSAGE */ 1511*e65e175bSOded Gabbay #define MME_SHADOW_3_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_SHIFT 0 1512*e65e175bSOded Gabbay #define MME_SHADOW_3_SYNC_OBJECT_MESSAGE_SO_WRITE_VALUE_MASK 0xFFFF 1513*e65e175bSOded Gabbay #define MME_SHADOW_3_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_SHIFT 16 1514*e65e175bSOded Gabbay #define MME_SHADOW_3_SYNC_OBJECT_MESSAGE_SO_ADDRESS_OFFSET_MASK 0x7FFF0000 1515*e65e175bSOded Gabbay #define MME_SHADOW_3_SYNC_OBJECT_MESSAGE_SO_OPERATION_SHIFT 31 1516*e65e175bSOded Gabbay #define MME_SHADOW_3_SYNC_OBJECT_MESSAGE_SO_OPERATION_MASK 0x80000000 1517*e65e175bSOded Gabbay 1518*e65e175bSOded Gabbay /* MME_SHADOW_3_E_PADDING_VALUE_A */ 1519*e65e175bSOded Gabbay #define MME_SHADOW_3_E_PADDING_VALUE_A_V_SHIFT 0 1520*e65e175bSOded Gabbay #define MME_SHADOW_3_E_PADDING_VALUE_A_V_MASK 0xFFFF 1521*e65e175bSOded Gabbay 1522*e65e175bSOded Gabbay /* MME_SHADOW_3_E_NUM_ITERATION_MINUS_1 */ 1523*e65e175bSOded Gabbay #define MME_SHADOW_3_E_NUM_ITERATION_MINUS_1_V_SHIFT 0 1524*e65e175bSOded Gabbay #define MME_SHADOW_3_E_NUM_ITERATION_MINUS_1_V_MASK 0xFFFFFFFF 1525*e65e175bSOded Gabbay 1526*e65e175bSOded Gabbay /* MME_SHADOW_3_E_BUBBLES_PER_SPLIT */ 1527*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_A_SHIFT 0 1528*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_A_MASK 0xFF 1529*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_B_SHIFT 8 1530*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_B_MASK 0xFF00 1531*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_CIN_SHIFT 16 1532*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_CIN_MASK 0xFF0000 1533*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_ID_SHIFT 24 1534*e65e175bSOded Gabbay #define MME_SHADOW_3_E_BUBBLES_PER_SPLIT_ID_MASK 0xFF000000 1535*e65e175bSOded Gabbay 1536*e65e175bSOded Gabbay #endif /* ASIC_REG_MME_MASKS_H_ */ 1537