xref: /wlan-driver/fw-api/hw/qca6290/v1/reo_descriptor_threshold_reached_status.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name //
20*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
21*5113495bSYour Name //               These definitions are tied to a particular hardware layout
22*5113495bSYour Name 
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef _REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_H_
25*5113495bSYour Name #define _REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_H_
26*5113495bSYour Name #if !defined(__ASSEMBLER__)
27*5113495bSYour Name #endif
28*5113495bSYour Name 
29*5113495bSYour Name #include "uniform_reo_status_header.h"
30*5113495bSYour Name 
31*5113495bSYour Name // ################ START SUMMARY #################
32*5113495bSYour Name //
33*5113495bSYour Name //	Dword	Fields
34*5113495bSYour Name //	0-1	struct uniform_reo_status_header status_header;
35*5113495bSYour Name //	2	threshold_index[1:0], reserved_2[31:2]
36*5113495bSYour Name //	3	link_descriptor_counter0[23:0], reserved_3[31:24]
37*5113495bSYour Name //	4	link_descriptor_counter1[23:0], reserved_4[31:24]
38*5113495bSYour Name //	5	link_descriptor_counter2[23:0], reserved_5[31:24]
39*5113495bSYour Name //	6	link_descriptor_counter_sum[25:0], reserved_6[31:26]
40*5113495bSYour Name //	7	reserved_7[31:0]
41*5113495bSYour Name //	8	reserved_8[31:0]
42*5113495bSYour Name //	9	reserved_9a[31:0]
43*5113495bSYour Name //	10	reserved_10a[31:0]
44*5113495bSYour Name //	11	reserved_11a[31:0]
45*5113495bSYour Name //	12	reserved_12a[31:0]
46*5113495bSYour Name //	13	reserved_13a[31:0]
47*5113495bSYour Name //	14	reserved_14a[31:0]
48*5113495bSYour Name //	15	reserved_15a[31:0]
49*5113495bSYour Name //	16	reserved_16a[31:0]
50*5113495bSYour Name //	17	reserved_17a[31:0]
51*5113495bSYour Name //	18	reserved_18a[31:0]
52*5113495bSYour Name //	19	reserved_19a[31:0]
53*5113495bSYour Name //	20	reserved_20a[31:0]
54*5113495bSYour Name //	21	reserved_21a[31:0]
55*5113495bSYour Name //	22	reserved_22a[31:0]
56*5113495bSYour Name //	23	reserved_23a[31:0]
57*5113495bSYour Name //	24	reserved_24a[27:0], looping_count[31:28]
58*5113495bSYour Name //
59*5113495bSYour Name // ################ END SUMMARY #################
60*5113495bSYour Name 
61*5113495bSYour Name #define NUM_OF_DWORDS_REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS 25
62*5113495bSYour Name 
63*5113495bSYour Name struct reo_descriptor_threshold_reached_status {
64*5113495bSYour Name     struct            uniform_reo_status_header                       status_header;
65*5113495bSYour Name              uint32_t threshold_index                 :  2, //[1:0]
66*5113495bSYour Name                       reserved_2                      : 30; //[31:2]
67*5113495bSYour Name              uint32_t link_descriptor_counter0        : 24, //[23:0]
68*5113495bSYour Name                       reserved_3                      :  8; //[31:24]
69*5113495bSYour Name              uint32_t link_descriptor_counter1        : 24, //[23:0]
70*5113495bSYour Name                       reserved_4                      :  8; //[31:24]
71*5113495bSYour Name              uint32_t link_descriptor_counter2        : 24, //[23:0]
72*5113495bSYour Name                       reserved_5                      :  8; //[31:24]
73*5113495bSYour Name              uint32_t link_descriptor_counter_sum     : 26, //[25:0]
74*5113495bSYour Name                       reserved_6                      :  6; //[31:26]
75*5113495bSYour Name              uint32_t reserved_7                      : 32; //[31:0]
76*5113495bSYour Name              uint32_t reserved_8                      : 32; //[31:0]
77*5113495bSYour Name              uint32_t reserved_9a                     : 32; //[31:0]
78*5113495bSYour Name              uint32_t reserved_10a                    : 32; //[31:0]
79*5113495bSYour Name              uint32_t reserved_11a                    : 32; //[31:0]
80*5113495bSYour Name              uint32_t reserved_12a                    : 32; //[31:0]
81*5113495bSYour Name              uint32_t reserved_13a                    : 32; //[31:0]
82*5113495bSYour Name              uint32_t reserved_14a                    : 32; //[31:0]
83*5113495bSYour Name              uint32_t reserved_15a                    : 32; //[31:0]
84*5113495bSYour Name              uint32_t reserved_16a                    : 32; //[31:0]
85*5113495bSYour Name              uint32_t reserved_17a                    : 32; //[31:0]
86*5113495bSYour Name              uint32_t reserved_18a                    : 32; //[31:0]
87*5113495bSYour Name              uint32_t reserved_19a                    : 32; //[31:0]
88*5113495bSYour Name              uint32_t reserved_20a                    : 32; //[31:0]
89*5113495bSYour Name              uint32_t reserved_21a                    : 32; //[31:0]
90*5113495bSYour Name              uint32_t reserved_22a                    : 32; //[31:0]
91*5113495bSYour Name              uint32_t reserved_23a                    : 32; //[31:0]
92*5113495bSYour Name              uint32_t reserved_24a                    : 28, //[27:0]
93*5113495bSYour Name                       looping_count                   :  4; //[31:28]
94*5113495bSYour Name };
95*5113495bSYour Name 
96*5113495bSYour Name /*
97*5113495bSYour Name 
98*5113495bSYour Name struct uniform_reo_status_header status_header
99*5113495bSYour Name 
100*5113495bSYour Name 			Consumer: SW
101*5113495bSYour Name 
102*5113495bSYour Name 			Producer: REO
103*5113495bSYour Name 
104*5113495bSYour Name 
105*5113495bSYour Name 
106*5113495bSYour Name 			Details that can link this status with the original
107*5113495bSYour Name 			command. It also contains info on how long REO took to
108*5113495bSYour Name 			execute this command.
109*5113495bSYour Name 
110*5113495bSYour Name threshold_index
111*5113495bSYour Name 
112*5113495bSYour Name 			The index of the threshold register whose value got
113*5113495bSYour Name 			reached
114*5113495bSYour Name 
115*5113495bSYour Name 
116*5113495bSYour Name 
117*5113495bSYour Name 			<enum 0     reo_desc_counter0_threshold>
118*5113495bSYour Name 
119*5113495bSYour Name 			<enum 1     reo_desc_counter1_threshold>
120*5113495bSYour Name 
121*5113495bSYour Name 			<enum 2     reo_desc_counter2_threshold>
122*5113495bSYour Name 
123*5113495bSYour Name 			<enum 3     reo_desc_counter_sum_threshold>
124*5113495bSYour Name 
125*5113495bSYour Name 
126*5113495bSYour Name 
127*5113495bSYour Name 			<legal all>
128*5113495bSYour Name 
129*5113495bSYour Name reserved_2
130*5113495bSYour Name 
131*5113495bSYour Name 			<legal 0>
132*5113495bSYour Name 
133*5113495bSYour Name link_descriptor_counter0
134*5113495bSYour Name 
135*5113495bSYour Name 			Value of this counter at generation of this message
136*5113495bSYour Name 
137*5113495bSYour Name 			<legal all>
138*5113495bSYour Name 
139*5113495bSYour Name reserved_3
140*5113495bSYour Name 
141*5113495bSYour Name 			<legal 0>
142*5113495bSYour Name 
143*5113495bSYour Name link_descriptor_counter1
144*5113495bSYour Name 
145*5113495bSYour Name 			Value of this counter at generation of this message
146*5113495bSYour Name 
147*5113495bSYour Name 			<legal all>
148*5113495bSYour Name 
149*5113495bSYour Name reserved_4
150*5113495bSYour Name 
151*5113495bSYour Name 			<legal 0>
152*5113495bSYour Name 
153*5113495bSYour Name link_descriptor_counter2
154*5113495bSYour Name 
155*5113495bSYour Name 			Value of this counter at generation of this message
156*5113495bSYour Name 
157*5113495bSYour Name 			<legal all>
158*5113495bSYour Name 
159*5113495bSYour Name reserved_5
160*5113495bSYour Name 
161*5113495bSYour Name 			<legal 0>
162*5113495bSYour Name 
163*5113495bSYour Name link_descriptor_counter_sum
164*5113495bSYour Name 
165*5113495bSYour Name 			Value of this counter at generation of this message
166*5113495bSYour Name 
167*5113495bSYour Name 			<legal all>
168*5113495bSYour Name 
169*5113495bSYour Name reserved_6
170*5113495bSYour Name 
171*5113495bSYour Name 			<legal 0>
172*5113495bSYour Name 
173*5113495bSYour Name reserved_7
174*5113495bSYour Name 
175*5113495bSYour Name 			<legal 0>
176*5113495bSYour Name 
177*5113495bSYour Name reserved_8
178*5113495bSYour Name 
179*5113495bSYour Name 			<legal 0>
180*5113495bSYour Name 
181*5113495bSYour Name reserved_9a
182*5113495bSYour Name 
183*5113495bSYour Name 			<legal 0>
184*5113495bSYour Name 
185*5113495bSYour Name reserved_10a
186*5113495bSYour Name 
187*5113495bSYour Name 			<legal 0>
188*5113495bSYour Name 
189*5113495bSYour Name reserved_11a
190*5113495bSYour Name 
191*5113495bSYour Name 			<legal 0>
192*5113495bSYour Name 
193*5113495bSYour Name reserved_12a
194*5113495bSYour Name 
195*5113495bSYour Name 			<legal 0>
196*5113495bSYour Name 
197*5113495bSYour Name reserved_13a
198*5113495bSYour Name 
199*5113495bSYour Name 			<legal 0>
200*5113495bSYour Name 
201*5113495bSYour Name reserved_14a
202*5113495bSYour Name 
203*5113495bSYour Name 			<legal 0>
204*5113495bSYour Name 
205*5113495bSYour Name reserved_15a
206*5113495bSYour Name 
207*5113495bSYour Name 			<legal 0>
208*5113495bSYour Name 
209*5113495bSYour Name reserved_16a
210*5113495bSYour Name 
211*5113495bSYour Name 			<legal 0>
212*5113495bSYour Name 
213*5113495bSYour Name reserved_17a
214*5113495bSYour Name 
215*5113495bSYour Name 			<legal 0>
216*5113495bSYour Name 
217*5113495bSYour Name reserved_18a
218*5113495bSYour Name 
219*5113495bSYour Name 			<legal 0>
220*5113495bSYour Name 
221*5113495bSYour Name reserved_19a
222*5113495bSYour Name 
223*5113495bSYour Name 			<legal 0>
224*5113495bSYour Name 
225*5113495bSYour Name reserved_20a
226*5113495bSYour Name 
227*5113495bSYour Name 			<legal 0>
228*5113495bSYour Name 
229*5113495bSYour Name reserved_21a
230*5113495bSYour Name 
231*5113495bSYour Name 			<legal 0>
232*5113495bSYour Name 
233*5113495bSYour Name reserved_22a
234*5113495bSYour Name 
235*5113495bSYour Name 			<legal 0>
236*5113495bSYour Name 
237*5113495bSYour Name reserved_23a
238*5113495bSYour Name 
239*5113495bSYour Name 			<legal 0>
240*5113495bSYour Name 
241*5113495bSYour Name reserved_24a
242*5113495bSYour Name 
243*5113495bSYour Name 			<legal 0>
244*5113495bSYour Name 
245*5113495bSYour Name looping_count
246*5113495bSYour Name 
247*5113495bSYour Name 			A count value that indicates the number of times the
248*5113495bSYour Name 			producer of entries into this Ring has looped around the
249*5113495bSYour Name 			ring.
250*5113495bSYour Name 
251*5113495bSYour Name 			At initialization time, this value is set to 0. On the
252*5113495bSYour Name 			first loop, this value is set to 1. After the max value is
253*5113495bSYour Name 			reached allowed by the number of bits for this field, the
254*5113495bSYour Name 			count value continues with 0 again.
255*5113495bSYour Name 
256*5113495bSYour Name 
257*5113495bSYour Name 
258*5113495bSYour Name 			In case SW is the consumer of the ring entries, it can
259*5113495bSYour Name 			use this field to figure out up to where the producer of
260*5113495bSYour Name 			entries has created new entries. This eliminates the need to
261*5113495bSYour Name 			check where the head pointer' of the ring is located once
262*5113495bSYour Name 			the SW starts processing an interrupt indicating that new
263*5113495bSYour Name 			entries have been put into this ring...
264*5113495bSYour Name 
265*5113495bSYour Name 
266*5113495bSYour Name 
267*5113495bSYour Name 			Also note that SW if it wants only needs to look at the
268*5113495bSYour Name 			LSB bit of this count value.
269*5113495bSYour Name 
270*5113495bSYour Name 			<legal all>
271*5113495bSYour Name */
272*5113495bSYour Name 
273*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_0_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_OFFSET 0x00000000
274*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_0_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_LSB 28
275*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_0_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_MASK 0xffffffff
276*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_1_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_OFFSET 0x00000004
277*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_1_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_LSB 28
278*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_1_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_MASK 0xffffffff
279*5113495bSYour Name 
280*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_THRESHOLD_INDEX
281*5113495bSYour Name 
282*5113495bSYour Name 			The index of the threshold register whose value got
283*5113495bSYour Name 			reached
284*5113495bSYour Name 
285*5113495bSYour Name 
286*5113495bSYour Name 
287*5113495bSYour Name 			<enum 0     reo_desc_counter0_threshold>
288*5113495bSYour Name 
289*5113495bSYour Name 			<enum 1     reo_desc_counter1_threshold>
290*5113495bSYour Name 
291*5113495bSYour Name 			<enum 2     reo_desc_counter2_threshold>
292*5113495bSYour Name 
293*5113495bSYour Name 			<enum 3     reo_desc_counter_sum_threshold>
294*5113495bSYour Name 
295*5113495bSYour Name 
296*5113495bSYour Name 
297*5113495bSYour Name 			<legal all>
298*5113495bSYour Name */
299*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_THRESHOLD_INDEX_OFFSET 0x00000008
300*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_THRESHOLD_INDEX_LSB 0
301*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_THRESHOLD_INDEX_MASK 0x00000003
302*5113495bSYour Name 
303*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_RESERVED_2
304*5113495bSYour Name 
305*5113495bSYour Name 			<legal 0>
306*5113495bSYour Name */
307*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_RESERVED_2_OFFSET  0x00000008
308*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_RESERVED_2_LSB     2
309*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_2_RESERVED_2_MASK    0xfffffffc
310*5113495bSYour Name 
311*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_LINK_DESCRIPTOR_COUNTER0
312*5113495bSYour Name 
313*5113495bSYour Name 			Value of this counter at generation of this message
314*5113495bSYour Name 
315*5113495bSYour Name 			<legal all>
316*5113495bSYour Name */
317*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_LINK_DESCRIPTOR_COUNTER0_OFFSET 0x0000000c
318*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_LINK_DESCRIPTOR_COUNTER0_LSB 0
319*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_LINK_DESCRIPTOR_COUNTER0_MASK 0x00ffffff
320*5113495bSYour Name 
321*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_RESERVED_3
322*5113495bSYour Name 
323*5113495bSYour Name 			<legal 0>
324*5113495bSYour Name */
325*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_RESERVED_3_OFFSET  0x0000000c
326*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_RESERVED_3_LSB     24
327*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_3_RESERVED_3_MASK    0xff000000
328*5113495bSYour Name 
329*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_LINK_DESCRIPTOR_COUNTER1
330*5113495bSYour Name 
331*5113495bSYour Name 			Value of this counter at generation of this message
332*5113495bSYour Name 
333*5113495bSYour Name 			<legal all>
334*5113495bSYour Name */
335*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_LINK_DESCRIPTOR_COUNTER1_OFFSET 0x00000010
336*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_LINK_DESCRIPTOR_COUNTER1_LSB 0
337*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_LINK_DESCRIPTOR_COUNTER1_MASK 0x00ffffff
338*5113495bSYour Name 
339*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_RESERVED_4
340*5113495bSYour Name 
341*5113495bSYour Name 			<legal 0>
342*5113495bSYour Name */
343*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_RESERVED_4_OFFSET  0x00000010
344*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_RESERVED_4_LSB     24
345*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_4_RESERVED_4_MASK    0xff000000
346*5113495bSYour Name 
347*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_LINK_DESCRIPTOR_COUNTER2
348*5113495bSYour Name 
349*5113495bSYour Name 			Value of this counter at generation of this message
350*5113495bSYour Name 
351*5113495bSYour Name 			<legal all>
352*5113495bSYour Name */
353*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_LINK_DESCRIPTOR_COUNTER2_OFFSET 0x00000014
354*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_LINK_DESCRIPTOR_COUNTER2_LSB 0
355*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_LINK_DESCRIPTOR_COUNTER2_MASK 0x00ffffff
356*5113495bSYour Name 
357*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_RESERVED_5
358*5113495bSYour Name 
359*5113495bSYour Name 			<legal 0>
360*5113495bSYour Name */
361*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_RESERVED_5_OFFSET  0x00000014
362*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_RESERVED_5_LSB     24
363*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_5_RESERVED_5_MASK    0xff000000
364*5113495bSYour Name 
365*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_LINK_DESCRIPTOR_COUNTER_SUM
366*5113495bSYour Name 
367*5113495bSYour Name 			Value of this counter at generation of this message
368*5113495bSYour Name 
369*5113495bSYour Name 			<legal all>
370*5113495bSYour Name */
371*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_LINK_DESCRIPTOR_COUNTER_SUM_OFFSET 0x00000018
372*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_LINK_DESCRIPTOR_COUNTER_SUM_LSB 0
373*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_LINK_DESCRIPTOR_COUNTER_SUM_MASK 0x03ffffff
374*5113495bSYour Name 
375*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_RESERVED_6
376*5113495bSYour Name 
377*5113495bSYour Name 			<legal 0>
378*5113495bSYour Name */
379*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_RESERVED_6_OFFSET  0x00000018
380*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_RESERVED_6_LSB     26
381*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_6_RESERVED_6_MASK    0xfc000000
382*5113495bSYour Name 
383*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_7_RESERVED_7
384*5113495bSYour Name 
385*5113495bSYour Name 			<legal 0>
386*5113495bSYour Name */
387*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_7_RESERVED_7_OFFSET  0x0000001c
388*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_7_RESERVED_7_LSB     0
389*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_7_RESERVED_7_MASK    0xffffffff
390*5113495bSYour Name 
391*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_8_RESERVED_8
392*5113495bSYour Name 
393*5113495bSYour Name 			<legal 0>
394*5113495bSYour Name */
395*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_8_RESERVED_8_OFFSET  0x00000020
396*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_8_RESERVED_8_LSB     0
397*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_8_RESERVED_8_MASK    0xffffffff
398*5113495bSYour Name 
399*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_9_RESERVED_9A
400*5113495bSYour Name 
401*5113495bSYour Name 			<legal 0>
402*5113495bSYour Name */
403*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_9_RESERVED_9A_OFFSET 0x00000024
404*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_9_RESERVED_9A_LSB    0
405*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_9_RESERVED_9A_MASK   0xffffffff
406*5113495bSYour Name 
407*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_10_RESERVED_10A
408*5113495bSYour Name 
409*5113495bSYour Name 			<legal 0>
410*5113495bSYour Name */
411*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_10_RESERVED_10A_OFFSET 0x00000028
412*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_10_RESERVED_10A_LSB  0
413*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_10_RESERVED_10A_MASK 0xffffffff
414*5113495bSYour Name 
415*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_11_RESERVED_11A
416*5113495bSYour Name 
417*5113495bSYour Name 			<legal 0>
418*5113495bSYour Name */
419*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_11_RESERVED_11A_OFFSET 0x0000002c
420*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_11_RESERVED_11A_LSB  0
421*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_11_RESERVED_11A_MASK 0xffffffff
422*5113495bSYour Name 
423*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_12_RESERVED_12A
424*5113495bSYour Name 
425*5113495bSYour Name 			<legal 0>
426*5113495bSYour Name */
427*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_12_RESERVED_12A_OFFSET 0x00000030
428*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_12_RESERVED_12A_LSB  0
429*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_12_RESERVED_12A_MASK 0xffffffff
430*5113495bSYour Name 
431*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_13_RESERVED_13A
432*5113495bSYour Name 
433*5113495bSYour Name 			<legal 0>
434*5113495bSYour Name */
435*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_13_RESERVED_13A_OFFSET 0x00000034
436*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_13_RESERVED_13A_LSB  0
437*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_13_RESERVED_13A_MASK 0xffffffff
438*5113495bSYour Name 
439*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_14_RESERVED_14A
440*5113495bSYour Name 
441*5113495bSYour Name 			<legal 0>
442*5113495bSYour Name */
443*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_14_RESERVED_14A_OFFSET 0x00000038
444*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_14_RESERVED_14A_LSB  0
445*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_14_RESERVED_14A_MASK 0xffffffff
446*5113495bSYour Name 
447*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_15_RESERVED_15A
448*5113495bSYour Name 
449*5113495bSYour Name 			<legal 0>
450*5113495bSYour Name */
451*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_15_RESERVED_15A_OFFSET 0x0000003c
452*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_15_RESERVED_15A_LSB  0
453*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_15_RESERVED_15A_MASK 0xffffffff
454*5113495bSYour Name 
455*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_16_RESERVED_16A
456*5113495bSYour Name 
457*5113495bSYour Name 			<legal 0>
458*5113495bSYour Name */
459*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_16_RESERVED_16A_OFFSET 0x00000040
460*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_16_RESERVED_16A_LSB  0
461*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_16_RESERVED_16A_MASK 0xffffffff
462*5113495bSYour Name 
463*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_17_RESERVED_17A
464*5113495bSYour Name 
465*5113495bSYour Name 			<legal 0>
466*5113495bSYour Name */
467*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_17_RESERVED_17A_OFFSET 0x00000044
468*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_17_RESERVED_17A_LSB  0
469*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_17_RESERVED_17A_MASK 0xffffffff
470*5113495bSYour Name 
471*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_18_RESERVED_18A
472*5113495bSYour Name 
473*5113495bSYour Name 			<legal 0>
474*5113495bSYour Name */
475*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_18_RESERVED_18A_OFFSET 0x00000048
476*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_18_RESERVED_18A_LSB  0
477*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_18_RESERVED_18A_MASK 0xffffffff
478*5113495bSYour Name 
479*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_19_RESERVED_19A
480*5113495bSYour Name 
481*5113495bSYour Name 			<legal 0>
482*5113495bSYour Name */
483*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_19_RESERVED_19A_OFFSET 0x0000004c
484*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_19_RESERVED_19A_LSB  0
485*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_19_RESERVED_19A_MASK 0xffffffff
486*5113495bSYour Name 
487*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_20_RESERVED_20A
488*5113495bSYour Name 
489*5113495bSYour Name 			<legal 0>
490*5113495bSYour Name */
491*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_20_RESERVED_20A_OFFSET 0x00000050
492*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_20_RESERVED_20A_LSB  0
493*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_20_RESERVED_20A_MASK 0xffffffff
494*5113495bSYour Name 
495*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_21_RESERVED_21A
496*5113495bSYour Name 
497*5113495bSYour Name 			<legal 0>
498*5113495bSYour Name */
499*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_21_RESERVED_21A_OFFSET 0x00000054
500*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_21_RESERVED_21A_LSB  0
501*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_21_RESERVED_21A_MASK 0xffffffff
502*5113495bSYour Name 
503*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_22_RESERVED_22A
504*5113495bSYour Name 
505*5113495bSYour Name 			<legal 0>
506*5113495bSYour Name */
507*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_22_RESERVED_22A_OFFSET 0x00000058
508*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_22_RESERVED_22A_LSB  0
509*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_22_RESERVED_22A_MASK 0xffffffff
510*5113495bSYour Name 
511*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_23_RESERVED_23A
512*5113495bSYour Name 
513*5113495bSYour Name 			<legal 0>
514*5113495bSYour Name */
515*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_23_RESERVED_23A_OFFSET 0x0000005c
516*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_23_RESERVED_23A_LSB  0
517*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_23_RESERVED_23A_MASK 0xffffffff
518*5113495bSYour Name 
519*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_RESERVED_24A
520*5113495bSYour Name 
521*5113495bSYour Name 			<legal 0>
522*5113495bSYour Name */
523*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_RESERVED_24A_OFFSET 0x00000060
524*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_RESERVED_24A_LSB  0
525*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_RESERVED_24A_MASK 0x0fffffff
526*5113495bSYour Name 
527*5113495bSYour Name /* Description		REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_LOOPING_COUNT
528*5113495bSYour Name 
529*5113495bSYour Name 			A count value that indicates the number of times the
530*5113495bSYour Name 			producer of entries into this Ring has looped around the
531*5113495bSYour Name 			ring.
532*5113495bSYour Name 
533*5113495bSYour Name 			At initialization time, this value is set to 0. On the
534*5113495bSYour Name 			first loop, this value is set to 1. After the max value is
535*5113495bSYour Name 			reached allowed by the number of bits for this field, the
536*5113495bSYour Name 			count value continues with 0 again.
537*5113495bSYour Name 
538*5113495bSYour Name 
539*5113495bSYour Name 
540*5113495bSYour Name 			In case SW is the consumer of the ring entries, it can
541*5113495bSYour Name 			use this field to figure out up to where the producer of
542*5113495bSYour Name 			entries has created new entries. This eliminates the need to
543*5113495bSYour Name 			check where the head pointer' of the ring is located once
544*5113495bSYour Name 			the SW starts processing an interrupt indicating that new
545*5113495bSYour Name 			entries have been put into this ring...
546*5113495bSYour Name 
547*5113495bSYour Name 
548*5113495bSYour Name 
549*5113495bSYour Name 			Also note that SW if it wants only needs to look at the
550*5113495bSYour Name 			LSB bit of this count value.
551*5113495bSYour Name 
552*5113495bSYour Name 			<legal all>
553*5113495bSYour Name */
554*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_LOOPING_COUNT_OFFSET 0x00000060
555*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_LOOPING_COUNT_LSB 28
556*5113495bSYour Name #define REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_24_LOOPING_COUNT_MASK 0xf0000000
557*5113495bSYour Name 
558*5113495bSYour Name 
559*5113495bSYour Name #endif // _REO_DESCRIPTOR_THRESHOLD_REACHED_STATUS_H_
560