1*5113495bSYour Name 2*5113495bSYour Name /* 3*5113495bSYour Name * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. 4*5113495bSYour Name * 5*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 6*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 7*5113495bSYour Name * above copyright notice and this permission notice appear in all 8*5113495bSYour Name * copies. 9*5113495bSYour Name * 10*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 18*5113495bSYour Name */ 19*5113495bSYour Name 20*5113495bSYour Name 21*5113495bSYour Name 22*5113495bSYour Name #ifndef _REO_UNBLOCK_CACHE_STATUS_H_ 23*5113495bSYour Name #define _REO_UNBLOCK_CACHE_STATUS_H_ 24*5113495bSYour Name #if !defined(__ASSEMBLER__) 25*5113495bSYour Name #endif 26*5113495bSYour Name 27*5113495bSYour Name #include "uniform_reo_status_header.h" 28*5113495bSYour Name #define NUM_OF_DWORDS_REO_UNBLOCK_CACHE_STATUS 26 29*5113495bSYour Name 30*5113495bSYour Name #define NUM_OF_QWORDS_REO_UNBLOCK_CACHE_STATUS 13 31*5113495bSYour Name 32*5113495bSYour Name struct reo_unblock_cache_status { 33*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 34*5113495bSYour Name struct uniform_reo_status_header status_header; 35*5113495bSYour Name uint32_t error_detected : 1, 36*5113495bSYour Name unblock_type : 1, 37*5113495bSYour Name reserved_2a : 30; 38*5113495bSYour Name uint32_t reserved_3a : 32; 39*5113495bSYour Name uint32_t reserved_4a : 32; 40*5113495bSYour Name uint32_t reserved_5a : 32; 41*5113495bSYour Name uint32_t reserved_6a : 32; 42*5113495bSYour Name uint32_t reserved_7a : 32; 43*5113495bSYour Name uint32_t reserved_8a : 32; 44*5113495bSYour Name uint32_t reserved_9a : 32; 45*5113495bSYour Name uint32_t reserved_10a : 32; 46*5113495bSYour Name uint32_t reserved_11a : 32; 47*5113495bSYour Name uint32_t reserved_12a : 32; 48*5113495bSYour Name uint32_t reserved_13a : 32; 49*5113495bSYour Name uint32_t reserved_14a : 32; 50*5113495bSYour Name uint32_t reserved_15a : 32; 51*5113495bSYour Name uint32_t reserved_16a : 32; 52*5113495bSYour Name uint32_t reserved_17a : 32; 53*5113495bSYour Name uint32_t reserved_18a : 32; 54*5113495bSYour Name uint32_t reserved_19a : 32; 55*5113495bSYour Name uint32_t reserved_20a : 32; 56*5113495bSYour Name uint32_t reserved_21a : 32; 57*5113495bSYour Name uint32_t reserved_22a : 32; 58*5113495bSYour Name uint32_t reserved_23a : 32; 59*5113495bSYour Name uint32_t reserved_24a : 32; 60*5113495bSYour Name uint32_t reserved_25a : 28, 61*5113495bSYour Name looping_count : 4; 62*5113495bSYour Name #else 63*5113495bSYour Name struct uniform_reo_status_header status_header; 64*5113495bSYour Name uint32_t reserved_2a : 30, 65*5113495bSYour Name unblock_type : 1, 66*5113495bSYour Name error_detected : 1; 67*5113495bSYour Name uint32_t reserved_3a : 32; 68*5113495bSYour Name uint32_t reserved_4a : 32; 69*5113495bSYour Name uint32_t reserved_5a : 32; 70*5113495bSYour Name uint32_t reserved_6a : 32; 71*5113495bSYour Name uint32_t reserved_7a : 32; 72*5113495bSYour Name uint32_t reserved_8a : 32; 73*5113495bSYour Name uint32_t reserved_9a : 32; 74*5113495bSYour Name uint32_t reserved_10a : 32; 75*5113495bSYour Name uint32_t reserved_11a : 32; 76*5113495bSYour Name uint32_t reserved_12a : 32; 77*5113495bSYour Name uint32_t reserved_13a : 32; 78*5113495bSYour Name uint32_t reserved_14a : 32; 79*5113495bSYour Name uint32_t reserved_15a : 32; 80*5113495bSYour Name uint32_t reserved_16a : 32; 81*5113495bSYour Name uint32_t reserved_17a : 32; 82*5113495bSYour Name uint32_t reserved_18a : 32; 83*5113495bSYour Name uint32_t reserved_19a : 32; 84*5113495bSYour Name uint32_t reserved_20a : 32; 85*5113495bSYour Name uint32_t reserved_21a : 32; 86*5113495bSYour Name uint32_t reserved_22a : 32; 87*5113495bSYour Name uint32_t reserved_23a : 32; 88*5113495bSYour Name uint32_t reserved_24a : 32; 89*5113495bSYour Name uint32_t looping_count : 4, 90*5113495bSYour Name reserved_25a : 28; 91*5113495bSYour Name #endif 92*5113495bSYour Name }; 93*5113495bSYour Name 94*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_OFFSET 0x0000000000000000 95*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_LSB 0 96*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_MSB 15 97*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_MASK 0x000000000000ffff 98*5113495bSYour Name 99*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_OFFSET 0x0000000000000000 100*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_LSB 16 101*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_MSB 25 102*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_MASK 0x0000000003ff0000 103*5113495bSYour Name 104*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_OFFSET 0x0000000000000000 105*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_LSB 26 106*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_MSB 27 107*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_MASK 0x000000000c000000 108*5113495bSYour Name 109*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_OFFSET 0x0000000000000000 110*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_LSB 28 111*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_MSB 31 112*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_MASK 0x00000000f0000000 113*5113495bSYour Name 114*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_OFFSET 0x0000000000000000 115*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_LSB 32 116*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_MSB 63 117*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_MASK 0xffffffff00000000 118*5113495bSYour Name 119*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_ERROR_DETECTED_OFFSET 0x0000000000000008 120*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_ERROR_DETECTED_LSB 0 121*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_ERROR_DETECTED_MSB 0 122*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_ERROR_DETECTED_MASK 0x0000000000000001 123*5113495bSYour Name 124*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_UNBLOCK_TYPE_OFFSET 0x0000000000000008 125*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_UNBLOCK_TYPE_LSB 1 126*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_UNBLOCK_TYPE_MSB 1 127*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_UNBLOCK_TYPE_MASK 0x0000000000000002 128*5113495bSYour Name 129*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_2A_OFFSET 0x0000000000000008 130*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_2A_LSB 2 131*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_2A_MSB 31 132*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_2A_MASK 0x00000000fffffffc 133*5113495bSYour Name 134*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_3A_OFFSET 0x0000000000000008 135*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_3A_LSB 32 136*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_3A_MSB 63 137*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_3A_MASK 0xffffffff00000000 138*5113495bSYour Name 139*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_4A_OFFSET 0x0000000000000010 140*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_4A_LSB 0 141*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_4A_MSB 31 142*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_4A_MASK 0x00000000ffffffff 143*5113495bSYour Name 144*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_5A_OFFSET 0x0000000000000010 145*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_5A_LSB 32 146*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_5A_MSB 63 147*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_5A_MASK 0xffffffff00000000 148*5113495bSYour Name 149*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_6A_OFFSET 0x0000000000000018 150*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_6A_LSB 0 151*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_6A_MSB 31 152*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_6A_MASK 0x00000000ffffffff 153*5113495bSYour Name 154*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_7A_OFFSET 0x0000000000000018 155*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_7A_LSB 32 156*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_7A_MSB 63 157*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_7A_MASK 0xffffffff00000000 158*5113495bSYour Name 159*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_8A_OFFSET 0x0000000000000020 160*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_8A_LSB 0 161*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_8A_MSB 31 162*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_8A_MASK 0x00000000ffffffff 163*5113495bSYour Name 164*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_9A_OFFSET 0x0000000000000020 165*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_9A_LSB 32 166*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_9A_MSB 63 167*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_9A_MASK 0xffffffff00000000 168*5113495bSYour Name 169*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_10A_OFFSET 0x0000000000000028 170*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_10A_LSB 0 171*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_10A_MSB 31 172*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_10A_MASK 0x00000000ffffffff 173*5113495bSYour Name 174*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_11A_OFFSET 0x0000000000000028 175*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_11A_LSB 32 176*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_11A_MSB 63 177*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_11A_MASK 0xffffffff00000000 178*5113495bSYour Name 179*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_12A_OFFSET 0x0000000000000030 180*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_12A_LSB 0 181*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_12A_MSB 31 182*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_12A_MASK 0x00000000ffffffff 183*5113495bSYour Name 184*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_13A_OFFSET 0x0000000000000030 185*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_13A_LSB 32 186*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_13A_MSB 63 187*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_13A_MASK 0xffffffff00000000 188*5113495bSYour Name 189*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_14A_OFFSET 0x0000000000000038 190*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_14A_LSB 0 191*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_14A_MSB 31 192*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_14A_MASK 0x00000000ffffffff 193*5113495bSYour Name 194*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_15A_OFFSET 0x0000000000000038 195*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_15A_LSB 32 196*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_15A_MSB 63 197*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_15A_MASK 0xffffffff00000000 198*5113495bSYour Name 199*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_16A_OFFSET 0x0000000000000040 200*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_16A_LSB 0 201*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_16A_MSB 31 202*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_16A_MASK 0x00000000ffffffff 203*5113495bSYour Name 204*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_17A_OFFSET 0x0000000000000040 205*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_17A_LSB 32 206*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_17A_MSB 63 207*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_17A_MASK 0xffffffff00000000 208*5113495bSYour Name 209*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_18A_OFFSET 0x0000000000000048 210*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_18A_LSB 0 211*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_18A_MSB 31 212*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_18A_MASK 0x00000000ffffffff 213*5113495bSYour Name 214*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_19A_OFFSET 0x0000000000000048 215*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_19A_LSB 32 216*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_19A_MSB 63 217*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_19A_MASK 0xffffffff00000000 218*5113495bSYour Name 219*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_20A_OFFSET 0x0000000000000050 220*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_20A_LSB 0 221*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_20A_MSB 31 222*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_20A_MASK 0x00000000ffffffff 223*5113495bSYour Name 224*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_21A_OFFSET 0x0000000000000050 225*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_21A_LSB 32 226*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_21A_MSB 63 227*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_21A_MASK 0xffffffff00000000 228*5113495bSYour Name 229*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_22A_OFFSET 0x0000000000000058 230*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_22A_LSB 0 231*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_22A_MSB 31 232*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_22A_MASK 0x00000000ffffffff 233*5113495bSYour Name 234*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_23A_OFFSET 0x0000000000000058 235*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_23A_LSB 32 236*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_23A_MSB 63 237*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_23A_MASK 0xffffffff00000000 238*5113495bSYour Name 239*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_24A_OFFSET 0x0000000000000060 240*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_24A_LSB 0 241*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_24A_MSB 31 242*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_24A_MASK 0x00000000ffffffff 243*5113495bSYour Name 244*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_25A_OFFSET 0x0000000000000060 245*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_25A_LSB 32 246*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_25A_MSB 59 247*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_RESERVED_25A_MASK 0x0fffffff00000000 248*5113495bSYour Name 249*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_LOOPING_COUNT_OFFSET 0x0000000000000060 250*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_LOOPING_COUNT_LSB 60 251*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_LOOPING_COUNT_MSB 63 252*5113495bSYour Name #define REO_UNBLOCK_CACHE_STATUS_LOOPING_COUNT_MASK 0xf000000000000000 253*5113495bSYour Name 254*5113495bSYour Name #endif 255