Go to the documentation of this file.
9 #define M_EC_CREDITS 0x7FFF
10 #define V_EC_CREDITS(x) ((x) << S_EC_CREDITS)
11 #define G_EC_CREDITS(x) (((x) >> S_EC_CREDITS) & M_EC_CREDITS)
14 #define V_EC_GTS(x) ((x) << S_EC_GTS)
15 #define F_EC_GTS V_EC_GTS(1U)
18 #define M_EC_INDEX 0xFFFF
19 #define V_EC_INDEX(x) ((x) << S_EC_INDEX)
20 #define G_EC_INDEX(x) (((x) >> S_EC_INDEX) & M_EC_INDEX)
23 #define M_EC_SIZE 0xFFFF
24 #define V_EC_SIZE(x) ((x) << S_EC_SIZE)
25 #define G_EC_SIZE(x) (((x) >> S_EC_SIZE) & M_EC_SIZE)
27 #define S_EC_BASE_LO 16
28 #define M_EC_BASE_LO 0xFFFF
29 #define V_EC_BASE_LO(x) ((x) << S_EC_BASE_LO)
30 #define G_EC_BASE_LO(x) (((x) >> S_EC_BASE_LO) & M_EC_BASE_LO)
32 #define S_EC_BASE_HI 0
33 #define M_EC_BASE_HI 0xF
34 #define V_EC_BASE_HI(x) ((x) << S_EC_BASE_HI)
35 #define G_EC_BASE_HI(x) (((x) >> S_EC_BASE_HI) & M_EC_BASE_HI)
38 #define M_EC_RESPQ 0x7
39 #define V_EC_RESPQ(x) ((x) << S_EC_RESPQ)
40 #define G_EC_RESPQ(x) (((x) >> S_EC_RESPQ) & M_EC_RESPQ)
44 #define V_EC_TYPE(x) ((x) << S_EC_TYPE)
45 #define G_EC_TYPE(x) (((x) >> S_EC_TYPE) & M_EC_TYPE)
48 #define V_EC_GEN(x) ((x) << S_EC_GEN)
49 #define F_EC_GEN V_EC_GEN(1U)
51 #define S_EC_UP_TOKEN 11
52 #define M_EC_UP_TOKEN 0xFFFFF
53 #define V_EC_UP_TOKEN(x) ((x) << S_EC_UP_TOKEN)
54 #define G_EC_UP_TOKEN(x) (((x) >> S_EC_UP_TOKEN) & M_EC_UP_TOKEN)
57 #define V_EC_VALID(x) ((x) << S_EC_VALID)
58 #define F_EC_VALID V_EC_VALID(1U)
60 #define S_RQ_MSI_VEC 20
61 #define M_RQ_MSI_VEC 0x3F
62 #define V_RQ_MSI_VEC(x) ((x) << S_RQ_MSI_VEC)
63 #define G_RQ_MSI_VEC(x) (((x) >> S_RQ_MSI_VEC) & M_RQ_MSI_VEC)
65 #define S_RQ_INTR_EN 26
66 #define V_RQ_INTR_EN(x) ((x) << S_RQ_INTR_EN)
67 #define F_RQ_INTR_EN V_RQ_INTR_EN(1U)
70 #define V_RQ_GEN(x) ((x) << S_RQ_GEN)
71 #define F_RQ_GEN V_RQ_GEN(1U)
74 #define M_CQ_INDEX 0xFFFF
75 #define V_CQ_INDEX(x) ((x) << S_CQ_INDEX)
76 #define G_CQ_INDEX(x) (((x) >> S_CQ_INDEX) & M_CQ_INDEX)
79 #define M_CQ_SIZE 0xFFFF
80 #define V_CQ_SIZE(x) ((x) << S_CQ_SIZE)
81 #define G_CQ_SIZE(x) (((x) >> S_CQ_SIZE) & M_CQ_SIZE)
83 #define S_CQ_BASE_HI 0
84 #define M_CQ_BASE_HI 0xFFFFF
85 #define V_CQ_BASE_HI(x) ((x) << S_CQ_BASE_HI)
86 #define G_CQ_BASE_HI(x) (((x) >> S_CQ_BASE_HI) & M_CQ_BASE_HI)
89 #define M_CQ_RSPQ 0x3F
90 #define V_CQ_RSPQ(x) ((x) << S_CQ_RSPQ)
91 #define G_CQ_RSPQ(x) (((x) >> S_CQ_RSPQ) & M_CQ_RSPQ)
93 #define S_CQ_ASYNC_NOTIF 26
94 #define V_CQ_ASYNC_NOTIF(x) ((x) << S_CQ_ASYNC_NOTIF)
95 #define F_CQ_ASYNC_NOTIF V_CQ_ASYNC_NOTIF(1U)
98 #define V_CQ_ARMED(x) ((x) << S_CQ_ARMED)
99 #define F_CQ_ARMED V_CQ_ARMED(1U)
101 #define S_CQ_ASYNC_NOTIF_SOL 28
102 #define V_CQ_ASYNC_NOTIF_SOL(x) ((x) << S_CQ_ASYNC_NOTIF_SOL)
103 #define F_CQ_ASYNC_NOTIF_SOL V_CQ_ASYNC_NOTIF_SOL(1U)
106 #define V_CQ_GEN(x) ((x) << S_CQ_GEN)
107 #define F_CQ_GEN V_CQ_GEN(1U)
110 #define V_CQ_ERR(x) ((x) << S_CQ_ERR)
111 #define F_CQ_ERR V_CQ_ERR(1U)
113 #define S_CQ_OVERFLOW_MODE 31
114 #define V_CQ_OVERFLOW_MODE(x) ((x) << S_CQ_OVERFLOW_MODE)
115 #define F_CQ_OVERFLOW_MODE V_CQ_OVERFLOW_MODE(1U)
117 #define S_CQ_CREDITS 0
118 #define M_CQ_CREDITS 0xFFFF
119 #define V_CQ_CREDITS(x) ((x) << S_CQ_CREDITS)
120 #define G_CQ_CREDITS(x) (((x) >> S_CQ_CREDITS) & M_CQ_CREDITS)
122 #define S_CQ_CREDIT_THRES 16
123 #define M_CQ_CREDIT_THRES 0x1FFF
124 #define V_CQ_CREDIT_THRES(x) ((x) << S_CQ_CREDIT_THRES)
125 #define G_CQ_CREDIT_THRES(x) (((x) >> S_CQ_CREDIT_THRES) & M_CQ_CREDIT_THRES)
127 #define S_FL_BASE_HI 0
128 #define M_FL_BASE_HI 0xFFFFF
129 #define V_FL_BASE_HI(x) ((x) << S_FL_BASE_HI)
130 #define G_FL_BASE_HI(x) (((x) >> S_FL_BASE_HI) & M_FL_BASE_HI)
132 #define S_FL_INDEX_LO 20
133 #define M_FL_INDEX_LO 0xFFF
134 #define V_FL_INDEX_LO(x) ((x) << S_FL_INDEX_LO)
135 #define G_FL_INDEX_LO(x) (((x) >> S_FL_INDEX_LO) & M_FL_INDEX_LO)
137 #define S_FL_INDEX_HI 0
138 #define M_FL_INDEX_HI 0xF
139 #define V_FL_INDEX_HI(x) ((x) << S_FL_INDEX_HI)
140 #define G_FL_INDEX_HI(x) (((x) >> S_FL_INDEX_HI) & M_FL_INDEX_HI)
143 #define M_FL_SIZE 0xFFFF
144 #define V_FL_SIZE(x) ((x) << S_FL_SIZE)
145 #define G_FL_SIZE(x) (((x) >> S_FL_SIZE) & M_FL_SIZE)
148 #define V_FL_GEN(x) ((x) << S_FL_GEN)
149 #define F_FL_GEN V_FL_GEN(1U)
151 #define S_FL_ENTRY_SIZE_LO 21
152 #define M_FL_ENTRY_SIZE_LO 0x7FF
153 #define V_FL_ENTRY_SIZE_LO(x) ((x) << S_FL_ENTRY_SIZE_LO)
154 #define G_FL_ENTRY_SIZE_LO(x) (((x) >> S_FL_ENTRY_SIZE_LO) & M_FL_ENTRY_SIZE_LO)
156 #define S_FL_ENTRY_SIZE_HI 0
157 #define M_FL_ENTRY_SIZE_HI 0x1FFFFF
158 #define V_FL_ENTRY_SIZE_HI(x) ((x) << S_FL_ENTRY_SIZE_HI)
159 #define G_FL_ENTRY_SIZE_HI(x) (((x) >> S_FL_ENTRY_SIZE_HI) & M_FL_ENTRY_SIZE_HI)
161 #define S_FL_CONG_THRES 21
162 #define M_FL_CONG_THRES 0x3FF
163 #define V_FL_CONG_THRES(x) ((x) << S_FL_CONG_THRES)
164 #define G_FL_CONG_THRES(x) (((x) >> S_FL_CONG_THRES) & M_FL_CONG_THRES)
167 #define V_FL_GTS(x) ((x) << S_FL_GTS)
168 #define F_FL_GTS V_FL_GTS(1U)
170 #define S_FLD_GEN1 31
171 #define V_FLD_GEN1(x) ((x) << S_FLD_GEN1)
172 #define F_FLD_GEN1 V_FLD_GEN1(1U)
175 #define V_FLD_GEN2(x) ((x) << S_FLD_GEN2)
176 #define F_FLD_GEN2 V_FLD_GEN2(1U)
178 #define S_RSPD_TXQ1_CR 0
179 #define M_RSPD_TXQ1_CR 0x7F
180 #define V_RSPD_TXQ1_CR(x) ((x) << S_RSPD_TXQ1_CR)
181 #define G_RSPD_TXQ1_CR(x) (((x) >> S_RSPD_TXQ1_CR) & M_RSPD_TXQ1_CR)
183 #define S_RSPD_TXQ1_GTS 7
184 #define V_RSPD_TXQ1_GTS(x) ((x) << S_RSPD_TXQ1_GTS)
185 #define F_RSPD_TXQ1_GTS V_RSPD_TXQ1_GTS(1U)
187 #define S_RSPD_TXQ2_CR 8
188 #define M_RSPD_TXQ2_CR 0x7F
189 #define V_RSPD_TXQ2_CR(x) ((x) << S_RSPD_TXQ2_CR)
190 #define G_RSPD_TXQ2_CR(x) (((x) >> S_RSPD_TXQ2_CR) & M_RSPD_TXQ2_CR)
192 #define S_RSPD_TXQ2_GTS 15
193 #define V_RSPD_TXQ2_GTS(x) ((x) << S_RSPD_TXQ2_GTS)
194 #define F_RSPD_TXQ2_GTS V_RSPD_TXQ2_GTS(1U)
196 #define S_RSPD_TXQ0_CR 16
197 #define M_RSPD_TXQ0_CR 0x7F
198 #define V_RSPD_TXQ0_CR(x) ((x) << S_RSPD_TXQ0_CR)
199 #define G_RSPD_TXQ0_CR(x) (((x) >> S_RSPD_TXQ0_CR) & M_RSPD_TXQ0_CR)
201 #define S_RSPD_TXQ0_GTS 23
202 #define V_RSPD_TXQ0_GTS(x) ((x) << S_RSPD_TXQ0_GTS)
203 #define F_RSPD_TXQ0_GTS V_RSPD_TXQ0_GTS(1U)
205 #define S_RSPD_EOP 24
206 #define V_RSPD_EOP(x) ((x) << S_RSPD_EOP)
207 #define F_RSPD_EOP V_RSPD_EOP(1U)
209 #define S_RSPD_SOP 25
210 #define V_RSPD_SOP(x) ((x) << S_RSPD_SOP)
211 #define F_RSPD_SOP V_RSPD_SOP(1U)
213 #define S_RSPD_ASYNC_NOTIF 26
214 #define V_RSPD_ASYNC_NOTIF(x) ((x) << S_RSPD_ASYNC_NOTIF)
215 #define F_RSPD_ASYNC_NOTIF V_RSPD_ASYNC_NOTIF(1U)
217 #define S_RSPD_FL0_GTS 27
218 #define V_RSPD_FL0_GTS(x) ((x) << S_RSPD_FL0_GTS)
219 #define F_RSPD_FL0_GTS V_RSPD_FL0_GTS(1U)
221 #define S_RSPD_FL1_GTS 28
222 #define V_RSPD_FL1_GTS(x) ((x) << S_RSPD_FL1_GTS)
223 #define F_RSPD_FL1_GTS V_RSPD_FL1_GTS(1U)
225 #define S_RSPD_IMM_DATA_VALID 29
226 #define V_RSPD_IMM_DATA_VALID(x) ((x) << S_RSPD_IMM_DATA_VALID)
227 #define F_RSPD_IMM_DATA_VALID V_RSPD_IMM_DATA_VALID(1U)
229 #define S_RSPD_OFFLOAD 30
230 #define V_RSPD_OFFLOAD(x) ((x) << S_RSPD_OFFLOAD)
231 #define F_RSPD_OFFLOAD V_RSPD_OFFLOAD(1U)
233 #define S_RSPD_GEN1 31
234 #define V_RSPD_GEN1(x) ((x) << S_RSPD_GEN1)
235 #define F_RSPD_GEN1 V_RSPD_GEN1(1U)
238 #define M_RSPD_LEN 0x7FFFFFFF
239 #define V_RSPD_LEN(x) ((x) << S_RSPD_LEN)
240 #define G_RSPD_LEN(x) (((x) >> S_RSPD_LEN) & M_RSPD_LEN)
242 #define S_RSPD_FLQ 31
243 #define V_RSPD_FLQ(x) ((x) << S_RSPD_FLQ)
244 #define F_RSPD_FLQ V_RSPD_FLQ(1U)
246 #define S_RSPD_GEN2 0
247 #define V_RSPD_GEN2(x) ((x) << S_RSPD_GEN2)
248 #define F_RSPD_GEN2 V_RSPD_GEN2(1U)
250 #define S_RSPD_INR_VEC 1
251 #define M_RSPD_INR_VEC 0x7F
252 #define V_RSPD_INR_VEC(x) ((x) << S_RSPD_INR_VEC)
253 #define G_RSPD_INR_VEC(x) (((x) >> S_RSPD_INR_VEC) & M_RSPD_INR_VEC)