xref: /wlan-driver/fw-api/hw/peach/v1/tcl_data_cmd.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2023 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 _TCL_DATA_CMD_H_
19*5113495bSYour Name #define _TCL_DATA_CMD_H_
20*5113495bSYour Name 
21*5113495bSYour Name #include "buffer_addr_info.h"
22*5113495bSYour Name #define NUM_OF_DWORDS_TCL_DATA_CMD 8
23*5113495bSYour Name 
24*5113495bSYour Name struct tcl_data_cmd {
25*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
26*5113495bSYour Name              struct   buffer_addr_info                                          buf_addr_info;
27*5113495bSYour Name              uint32_t tcl_cmd_type                                            :  1,
28*5113495bSYour Name                       buf_or_ext_desc_type                                    :  1,
29*5113495bSYour Name                       bank_id                                                 :  6,
30*5113495bSYour Name                       tx_notify_frame                                         :  3,
31*5113495bSYour Name                       header_length_read_sel                                  :  1,
32*5113495bSYour Name                       buffer_timestamp                                        : 19,
33*5113495bSYour Name                       buffer_timestamp_valid                                  :  1;
34*5113495bSYour Name              uint32_t reserved_3a                                             : 16,
35*5113495bSYour Name                       tcl_cmd_number                                          : 16;
36*5113495bSYour Name              uint32_t data_length                                             : 16,
37*5113495bSYour Name                       ipv4_checksum_en                                        :  1,
38*5113495bSYour Name                       udp_over_ipv4_checksum_en                               :  1,
39*5113495bSYour Name                       udp_over_ipv6_checksum_en                               :  1,
40*5113495bSYour Name                       tcp_over_ipv4_checksum_en                               :  1,
41*5113495bSYour Name                       tcp_over_ipv6_checksum_en                               :  1,
42*5113495bSYour Name                       to_fw                                                   :  1,
43*5113495bSYour Name                       reserved_4a                                             :  1,
44*5113495bSYour Name                       packet_offset                                           :  9;
45*5113495bSYour Name              uint32_t hlos_tid_overwrite                                      :  1,
46*5113495bSYour Name                       flow_override_enable                                    :  1,
47*5113495bSYour Name                       who_classify_info_sel                                   :  2,
48*5113495bSYour Name                       hlos_tid                                                :  4,
49*5113495bSYour Name                       flow_override                                           :  1,
50*5113495bSYour Name                       pmac_id                                                 :  2,
51*5113495bSYour Name                       msdu_color                                              :  2,
52*5113495bSYour Name                       reserved_5a                                             : 11,
53*5113495bSYour Name                       vdev_id                                                 :  8;
54*5113495bSYour Name              uint32_t search_index                                            : 20,
55*5113495bSYour Name                       cache_set_num                                           :  4,
56*5113495bSYour Name                       index_lookup_override                                   :  1,
57*5113495bSYour Name                       reserved_6a                                             :  7;
58*5113495bSYour Name              uint32_t reserved_7a                                             : 20,
59*5113495bSYour Name                       ring_id                                                 :  8,
60*5113495bSYour Name                       looping_count                                           :  4;
61*5113495bSYour Name #else
62*5113495bSYour Name              struct   buffer_addr_info                                          buf_addr_info;
63*5113495bSYour Name              uint32_t buffer_timestamp_valid                                  :  1,
64*5113495bSYour Name                       buffer_timestamp                                        : 19,
65*5113495bSYour Name                       header_length_read_sel                                  :  1,
66*5113495bSYour Name                       tx_notify_frame                                         :  3,
67*5113495bSYour Name                       bank_id                                                 :  6,
68*5113495bSYour Name                       buf_or_ext_desc_type                                    :  1,
69*5113495bSYour Name                       tcl_cmd_type                                            :  1;
70*5113495bSYour Name              uint32_t tcl_cmd_number                                          : 16,
71*5113495bSYour Name                       reserved_3a                                             : 16;
72*5113495bSYour Name              uint32_t packet_offset                                           :  9,
73*5113495bSYour Name                       reserved_4a                                             :  1,
74*5113495bSYour Name                       to_fw                                                   :  1,
75*5113495bSYour Name                       tcp_over_ipv6_checksum_en                               :  1,
76*5113495bSYour Name                       tcp_over_ipv4_checksum_en                               :  1,
77*5113495bSYour Name                       udp_over_ipv6_checksum_en                               :  1,
78*5113495bSYour Name                       udp_over_ipv4_checksum_en                               :  1,
79*5113495bSYour Name                       ipv4_checksum_en                                        :  1,
80*5113495bSYour Name                       data_length                                             : 16;
81*5113495bSYour Name              uint32_t vdev_id                                                 :  8,
82*5113495bSYour Name                       reserved_5a                                             : 11,
83*5113495bSYour Name                       msdu_color                                              :  2,
84*5113495bSYour Name                       pmac_id                                                 :  2,
85*5113495bSYour Name                       flow_override                                           :  1,
86*5113495bSYour Name                       hlos_tid                                                :  4,
87*5113495bSYour Name                       who_classify_info_sel                                   :  2,
88*5113495bSYour Name                       flow_override_enable                                    :  1,
89*5113495bSYour Name                       hlos_tid_overwrite                                      :  1;
90*5113495bSYour Name              uint32_t reserved_6a                                             :  7,
91*5113495bSYour Name                       index_lookup_override                                   :  1,
92*5113495bSYour Name                       cache_set_num                                           :  4,
93*5113495bSYour Name                       search_index                                            : 20;
94*5113495bSYour Name              uint32_t looping_count                                           :  4,
95*5113495bSYour Name                       ring_id                                                 :  8,
96*5113495bSYour Name                       reserved_7a                                             : 20;
97*5113495bSYour Name #endif
98*5113495bSYour Name };
99*5113495bSYour Name 
100*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET                          0x00000000
101*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_31_0_LSB                             0
102*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_31_0_MSB                             31
103*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_31_0_MASK                            0xffffffff
104*5113495bSYour Name 
105*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET                         0x00000004
106*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_39_32_LSB                            0
107*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_39_32_MSB                            7
108*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_BUFFER_ADDR_39_32_MASK                           0x000000ff
109*5113495bSYour Name 
110*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET                     0x00000004
111*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB                        8
112*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_RETURN_BUFFER_MANAGER_MSB                        11
113*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK                       0x00000f00
114*5113495bSYour Name 
115*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET                          0x00000004
116*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_SW_BUFFER_COOKIE_LSB                             12
117*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_SW_BUFFER_COOKIE_MSB                             31
118*5113495bSYour Name #define TCL_DATA_CMD_BUF_ADDR_INFO_SW_BUFFER_COOKIE_MASK                            0xfffff000
119*5113495bSYour Name 
120*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_TYPE_OFFSET                                            0x00000008
121*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_TYPE_LSB                                               0
122*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_TYPE_MSB                                               0
123*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_TYPE_MASK                                              0x00000001
124*5113495bSYour Name 
125*5113495bSYour Name #define TCL_DATA_CMD_BUF_OR_EXT_DESC_TYPE_OFFSET                                    0x00000008
126*5113495bSYour Name #define TCL_DATA_CMD_BUF_OR_EXT_DESC_TYPE_LSB                                       1
127*5113495bSYour Name #define TCL_DATA_CMD_BUF_OR_EXT_DESC_TYPE_MSB                                       1
128*5113495bSYour Name #define TCL_DATA_CMD_BUF_OR_EXT_DESC_TYPE_MASK                                      0x00000002
129*5113495bSYour Name 
130*5113495bSYour Name #define TCL_DATA_CMD_BANK_ID_OFFSET                                                 0x00000008
131*5113495bSYour Name #define TCL_DATA_CMD_BANK_ID_LSB                                                    2
132*5113495bSYour Name #define TCL_DATA_CMD_BANK_ID_MSB                                                    7
133*5113495bSYour Name #define TCL_DATA_CMD_BANK_ID_MASK                                                   0x000000fc
134*5113495bSYour Name 
135*5113495bSYour Name #define TCL_DATA_CMD_TX_NOTIFY_FRAME_OFFSET                                         0x00000008
136*5113495bSYour Name #define TCL_DATA_CMD_TX_NOTIFY_FRAME_LSB                                            8
137*5113495bSYour Name #define TCL_DATA_CMD_TX_NOTIFY_FRAME_MSB                                            10
138*5113495bSYour Name #define TCL_DATA_CMD_TX_NOTIFY_FRAME_MASK                                           0x00000700
139*5113495bSYour Name 
140*5113495bSYour Name #define TCL_DATA_CMD_HEADER_LENGTH_READ_SEL_OFFSET                                  0x00000008
141*5113495bSYour Name #define TCL_DATA_CMD_HEADER_LENGTH_READ_SEL_LSB                                     11
142*5113495bSYour Name #define TCL_DATA_CMD_HEADER_LENGTH_READ_SEL_MSB                                     11
143*5113495bSYour Name #define TCL_DATA_CMD_HEADER_LENGTH_READ_SEL_MASK                                    0x00000800
144*5113495bSYour Name 
145*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_OFFSET                                        0x00000008
146*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_LSB                                           12
147*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_MSB                                           30
148*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_MASK                                          0x7ffff000
149*5113495bSYour Name 
150*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_VALID_OFFSET                                  0x00000008
151*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_VALID_LSB                                     31
152*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_VALID_MSB                                     31
153*5113495bSYour Name #define TCL_DATA_CMD_BUFFER_TIMESTAMP_VALID_MASK                                    0x80000000
154*5113495bSYour Name 
155*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_3A_OFFSET                                             0x0000000c
156*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_3A_LSB                                                0
157*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_3A_MSB                                                15
158*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_3A_MASK                                               0x0000ffff
159*5113495bSYour Name 
160*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_NUMBER_OFFSET                                          0x0000000c
161*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_NUMBER_LSB                                             16
162*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_NUMBER_MSB                                             31
163*5113495bSYour Name #define TCL_DATA_CMD_TCL_CMD_NUMBER_MASK                                            0xffff0000
164*5113495bSYour Name 
165*5113495bSYour Name #define TCL_DATA_CMD_DATA_LENGTH_OFFSET                                             0x00000010
166*5113495bSYour Name #define TCL_DATA_CMD_DATA_LENGTH_LSB                                                0
167*5113495bSYour Name #define TCL_DATA_CMD_DATA_LENGTH_MSB                                                15
168*5113495bSYour Name #define TCL_DATA_CMD_DATA_LENGTH_MASK                                               0x0000ffff
169*5113495bSYour Name 
170*5113495bSYour Name #define TCL_DATA_CMD_IPV4_CHECKSUM_EN_OFFSET                                        0x00000010
171*5113495bSYour Name #define TCL_DATA_CMD_IPV4_CHECKSUM_EN_LSB                                           16
172*5113495bSYour Name #define TCL_DATA_CMD_IPV4_CHECKSUM_EN_MSB                                           16
173*5113495bSYour Name #define TCL_DATA_CMD_IPV4_CHECKSUM_EN_MASK                                          0x00010000
174*5113495bSYour Name 
175*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV4_CHECKSUM_EN_OFFSET                               0x00000010
176*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV4_CHECKSUM_EN_LSB                                  17
177*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV4_CHECKSUM_EN_MSB                                  17
178*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV4_CHECKSUM_EN_MASK                                 0x00020000
179*5113495bSYour Name 
180*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV6_CHECKSUM_EN_OFFSET                               0x00000010
181*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV6_CHECKSUM_EN_LSB                                  18
182*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV6_CHECKSUM_EN_MSB                                  18
183*5113495bSYour Name #define TCL_DATA_CMD_UDP_OVER_IPV6_CHECKSUM_EN_MASK                                 0x00040000
184*5113495bSYour Name 
185*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV4_CHECKSUM_EN_OFFSET                               0x00000010
186*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV4_CHECKSUM_EN_LSB                                  19
187*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV4_CHECKSUM_EN_MSB                                  19
188*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV4_CHECKSUM_EN_MASK                                 0x00080000
189*5113495bSYour Name 
190*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV6_CHECKSUM_EN_OFFSET                               0x00000010
191*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV6_CHECKSUM_EN_LSB                                  20
192*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV6_CHECKSUM_EN_MSB                                  20
193*5113495bSYour Name #define TCL_DATA_CMD_TCP_OVER_IPV6_CHECKSUM_EN_MASK                                 0x00100000
194*5113495bSYour Name 
195*5113495bSYour Name #define TCL_DATA_CMD_TO_FW_OFFSET                                                   0x00000010
196*5113495bSYour Name #define TCL_DATA_CMD_TO_FW_LSB                                                      21
197*5113495bSYour Name #define TCL_DATA_CMD_TO_FW_MSB                                                      21
198*5113495bSYour Name #define TCL_DATA_CMD_TO_FW_MASK                                                     0x00200000
199*5113495bSYour Name 
200*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_4A_OFFSET                                             0x00000010
201*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_4A_LSB                                                22
202*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_4A_MSB                                                22
203*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_4A_MASK                                               0x00400000
204*5113495bSYour Name 
205*5113495bSYour Name #define TCL_DATA_CMD_PACKET_OFFSET_OFFSET                                           0x00000010
206*5113495bSYour Name #define TCL_DATA_CMD_PACKET_OFFSET_LSB                                              23
207*5113495bSYour Name #define TCL_DATA_CMD_PACKET_OFFSET_MSB                                              31
208*5113495bSYour Name #define TCL_DATA_CMD_PACKET_OFFSET_MASK                                             0xff800000
209*5113495bSYour Name 
210*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_OVERWRITE_OFFSET                                      0x00000014
211*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_OVERWRITE_LSB                                         0
212*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_OVERWRITE_MSB                                         0
213*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_OVERWRITE_MASK                                        0x00000001
214*5113495bSYour Name 
215*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_ENABLE_OFFSET                                    0x00000014
216*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_ENABLE_LSB                                       1
217*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_ENABLE_MSB                                       1
218*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_ENABLE_MASK                                      0x00000002
219*5113495bSYour Name 
220*5113495bSYour Name #define TCL_DATA_CMD_WHO_CLASSIFY_INFO_SEL_OFFSET                                   0x00000014
221*5113495bSYour Name #define TCL_DATA_CMD_WHO_CLASSIFY_INFO_SEL_LSB                                      2
222*5113495bSYour Name #define TCL_DATA_CMD_WHO_CLASSIFY_INFO_SEL_MSB                                      3
223*5113495bSYour Name #define TCL_DATA_CMD_WHO_CLASSIFY_INFO_SEL_MASK                                     0x0000000c
224*5113495bSYour Name 
225*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_OFFSET                                                0x00000014
226*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_LSB                                                   4
227*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_MSB                                                   7
228*5113495bSYour Name #define TCL_DATA_CMD_HLOS_TID_MASK                                                  0x000000f0
229*5113495bSYour Name 
230*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_OFFSET                                           0x00000014
231*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_LSB                                              8
232*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_MSB                                              8
233*5113495bSYour Name #define TCL_DATA_CMD_FLOW_OVERRIDE_MASK                                             0x00000100
234*5113495bSYour Name 
235*5113495bSYour Name #define TCL_DATA_CMD_PMAC_ID_OFFSET                                                 0x00000014
236*5113495bSYour Name #define TCL_DATA_CMD_PMAC_ID_LSB                                                    9
237*5113495bSYour Name #define TCL_DATA_CMD_PMAC_ID_MSB                                                    10
238*5113495bSYour Name #define TCL_DATA_CMD_PMAC_ID_MASK                                                   0x00000600
239*5113495bSYour Name 
240*5113495bSYour Name #define TCL_DATA_CMD_MSDU_COLOR_OFFSET                                              0x00000014
241*5113495bSYour Name #define TCL_DATA_CMD_MSDU_COLOR_LSB                                                 11
242*5113495bSYour Name #define TCL_DATA_CMD_MSDU_COLOR_MSB                                                 12
243*5113495bSYour Name #define TCL_DATA_CMD_MSDU_COLOR_MASK                                                0x00001800
244*5113495bSYour Name 
245*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_5A_OFFSET                                             0x00000014
246*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_5A_LSB                                                13
247*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_5A_MSB                                                23
248*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_5A_MASK                                               0x00ffe000
249*5113495bSYour Name 
250*5113495bSYour Name #define TCL_DATA_CMD_VDEV_ID_OFFSET                                                 0x00000014
251*5113495bSYour Name #define TCL_DATA_CMD_VDEV_ID_LSB                                                    24
252*5113495bSYour Name #define TCL_DATA_CMD_VDEV_ID_MSB                                                    31
253*5113495bSYour Name #define TCL_DATA_CMD_VDEV_ID_MASK                                                   0xff000000
254*5113495bSYour Name 
255*5113495bSYour Name #define TCL_DATA_CMD_SEARCH_INDEX_OFFSET                                            0x00000018
256*5113495bSYour Name #define TCL_DATA_CMD_SEARCH_INDEX_LSB                                               0
257*5113495bSYour Name #define TCL_DATA_CMD_SEARCH_INDEX_MSB                                               19
258*5113495bSYour Name #define TCL_DATA_CMD_SEARCH_INDEX_MASK                                              0x000fffff
259*5113495bSYour Name 
260*5113495bSYour Name #define TCL_DATA_CMD_CACHE_SET_NUM_OFFSET                                           0x00000018
261*5113495bSYour Name #define TCL_DATA_CMD_CACHE_SET_NUM_LSB                                              20
262*5113495bSYour Name #define TCL_DATA_CMD_CACHE_SET_NUM_MSB                                              23
263*5113495bSYour Name #define TCL_DATA_CMD_CACHE_SET_NUM_MASK                                             0x00f00000
264*5113495bSYour Name 
265*5113495bSYour Name #define TCL_DATA_CMD_INDEX_LOOKUP_OVERRIDE_OFFSET                                   0x00000018
266*5113495bSYour Name #define TCL_DATA_CMD_INDEX_LOOKUP_OVERRIDE_LSB                                      24
267*5113495bSYour Name #define TCL_DATA_CMD_INDEX_LOOKUP_OVERRIDE_MSB                                      24
268*5113495bSYour Name #define TCL_DATA_CMD_INDEX_LOOKUP_OVERRIDE_MASK                                     0x01000000
269*5113495bSYour Name 
270*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_6A_OFFSET                                             0x00000018
271*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_6A_LSB                                                25
272*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_6A_MSB                                                31
273*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_6A_MASK                                               0xfe000000
274*5113495bSYour Name 
275*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_7A_OFFSET                                             0x0000001c
276*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_7A_LSB                                                0
277*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_7A_MSB                                                19
278*5113495bSYour Name #define TCL_DATA_CMD_RESERVED_7A_MASK                                               0x000fffff
279*5113495bSYour Name 
280*5113495bSYour Name #define TCL_DATA_CMD_RING_ID_OFFSET                                                 0x0000001c
281*5113495bSYour Name #define TCL_DATA_CMD_RING_ID_LSB                                                    20
282*5113495bSYour Name #define TCL_DATA_CMD_RING_ID_MSB                                                    27
283*5113495bSYour Name #define TCL_DATA_CMD_RING_ID_MASK                                                   0x0ff00000
284*5113495bSYour Name 
285*5113495bSYour Name #define TCL_DATA_CMD_LOOPING_COUNT_OFFSET                                           0x0000001c
286*5113495bSYour Name #define TCL_DATA_CMD_LOOPING_COUNT_LSB                                              28
287*5113495bSYour Name #define TCL_DATA_CMD_LOOPING_COUNT_MSB                                              31
288*5113495bSYour Name #define TCL_DATA_CMD_LOOPING_COUNT_MASK                                             0xf0000000
289*5113495bSYour Name 
290*5113495bSYour Name #endif
291