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