diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h | 1275 |
1 files changed, 1275 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h new file mode 100644 index 00000000..510dd5f2 --- /dev/null +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h | |||
@@ -0,0 +1,1275 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. | ||
3 | * | ||
4 | * Permission is hereby granted, free of charge, to any person obtaining a | ||
5 | * copy of this software and associated documentation files (the "Software"), | ||
6 | * to deal in the Software without restriction, including without limitation | ||
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
8 | * and/or sell copies of the Software, and to permit persons to whom the | ||
9 | * Software is furnished to do so, subject to the following conditions: | ||
10 | * | ||
11 | * The above copyright notice and this permission notice shall be included in | ||
12 | * all copies or substantial portions of the Software. | ||
13 | * | ||
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
19 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
20 | * DEALINGS IN THE SOFTWARE. | ||
21 | */ | ||
22 | /* | ||
23 | * Function naming determines intended use: | ||
24 | * | ||
25 | * <x>_r(void) : Returns the offset for register <x>. | ||
26 | * | ||
27 | * <x>_o(void) : Returns the offset for element <x>. | ||
28 | * | ||
29 | * <x>_w(void) : Returns the word offset for word (4 byte) element <x>. | ||
30 | * | ||
31 | * <x>_<y>_s(void) : Returns size of field <y> of register <x> in bits. | ||
32 | * | ||
33 | * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted | ||
34 | * and masked to place it at field <y> of register <x>. This value | ||
35 | * can be |'d with others to produce a full register value for | ||
36 | * register <x>. | ||
37 | * | ||
38 | * <x>_<y>_m(void) : Returns a mask for field <y> of register <x>. This | ||
39 | * value can be ~'d and then &'d to clear the value of field <y> for | ||
40 | * register <x>. | ||
41 | * | ||
42 | * <x>_<y>_<z>_f(void) : Returns the constant value <z> after being shifted | ||
43 | * to place it at field <y> of register <x>. This value can be |'d | ||
44 | * with others to produce a full register value for <x>. | ||
45 | * | ||
46 | * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register | ||
47 | * <x> value 'r' after being shifted to place its LSB at bit 0. | ||
48 | * This value is suitable for direct comparison with other unshifted | ||
49 | * values appropriate for use in field <y> of register <x>. | ||
50 | * | ||
51 | * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for | ||
52 | * field <y> of register <x>. This value is suitable for direct | ||
53 | * comparison with unshifted values appropriate for use in field <y> | ||
54 | * of register <x>. | ||
55 | */ | ||
56 | #ifndef _hw_gmmu_gp106_h_ | ||
57 | #define _hw_gmmu_gp106_h_ | ||
58 | |||
59 | static inline u32 gmmu_new_pde_is_pte_w(void) | ||
60 | { | ||
61 | return 0U; | ||
62 | } | ||
63 | static inline u32 gmmu_new_pde_is_pte_false_f(void) | ||
64 | { | ||
65 | return 0x0U; | ||
66 | } | ||
67 | static inline u32 gmmu_new_pde_aperture_w(void) | ||
68 | { | ||
69 | return 0U; | ||
70 | } | ||
71 | static inline u32 gmmu_new_pde_aperture_invalid_f(void) | ||
72 | { | ||
73 | return 0x0U; | ||
74 | } | ||
75 | static inline u32 gmmu_new_pde_aperture_video_memory_f(void) | ||
76 | { | ||
77 | return 0x2U; | ||
78 | } | ||
79 | static inline u32 gmmu_new_pde_aperture_sys_mem_coh_f(void) | ||
80 | { | ||
81 | return 0x4U; | ||
82 | } | ||
83 | static inline u32 gmmu_new_pde_aperture_sys_mem_ncoh_f(void) | ||
84 | { | ||
85 | return 0x6U; | ||
86 | } | ||
87 | static inline u32 gmmu_new_pde_address_sys_f(u32 v) | ||
88 | { | ||
89 | return (v & 0xffffffU) << 8U; | ||
90 | } | ||
91 | static inline u32 gmmu_new_pde_address_sys_w(void) | ||
92 | { | ||
93 | return 0U; | ||
94 | } | ||
95 | static inline u32 gmmu_new_pde_vol_w(void) | ||
96 | { | ||
97 | return 0U; | ||
98 | } | ||
99 | static inline u32 gmmu_new_pde_vol_true_f(void) | ||
100 | { | ||
101 | return 0x8U; | ||
102 | } | ||
103 | static inline u32 gmmu_new_pde_vol_false_f(void) | ||
104 | { | ||
105 | return 0x0U; | ||
106 | } | ||
107 | static inline u32 gmmu_new_pde_address_shift_v(void) | ||
108 | { | ||
109 | return 0x0000000cU; | ||
110 | } | ||
111 | static inline u32 gmmu_new_pde__size_v(void) | ||
112 | { | ||
113 | return 0x00000008U; | ||
114 | } | ||
115 | static inline u32 gmmu_new_dual_pde_is_pte_w(void) | ||
116 | { | ||
117 | return 0U; | ||
118 | } | ||
119 | static inline u32 gmmu_new_dual_pde_is_pte_false_f(void) | ||
120 | { | ||
121 | return 0x0U; | ||
122 | } | ||
123 | static inline u32 gmmu_new_dual_pde_aperture_big_w(void) | ||
124 | { | ||
125 | return 0U; | ||
126 | } | ||
127 | static inline u32 gmmu_new_dual_pde_aperture_big_invalid_f(void) | ||
128 | { | ||
129 | return 0x0U; | ||
130 | } | ||
131 | static inline u32 gmmu_new_dual_pde_aperture_big_video_memory_f(void) | ||
132 | { | ||
133 | return 0x2U; | ||
134 | } | ||
135 | static inline u32 gmmu_new_dual_pde_aperture_big_sys_mem_coh_f(void) | ||
136 | { | ||
137 | return 0x4U; | ||
138 | } | ||
139 | static inline u32 gmmu_new_dual_pde_aperture_big_sys_mem_ncoh_f(void) | ||
140 | { | ||
141 | return 0x6U; | ||
142 | } | ||
143 | static inline u32 gmmu_new_dual_pde_address_big_sys_f(u32 v) | ||
144 | { | ||
145 | return (v & 0xfffffffU) << 4U; | ||
146 | } | ||
147 | static inline u32 gmmu_new_dual_pde_address_big_sys_w(void) | ||
148 | { | ||
149 | return 0U; | ||
150 | } | ||
151 | static inline u32 gmmu_new_dual_pde_aperture_small_w(void) | ||
152 | { | ||
153 | return 2U; | ||
154 | } | ||
155 | static inline u32 gmmu_new_dual_pde_aperture_small_invalid_f(void) | ||
156 | { | ||
157 | return 0x0U; | ||
158 | } | ||
159 | static inline u32 gmmu_new_dual_pde_aperture_small_video_memory_f(void) | ||
160 | { | ||
161 | return 0x2U; | ||
162 | } | ||
163 | static inline u32 gmmu_new_dual_pde_aperture_small_sys_mem_coh_f(void) | ||
164 | { | ||
165 | return 0x4U; | ||
166 | } | ||
167 | static inline u32 gmmu_new_dual_pde_aperture_small_sys_mem_ncoh_f(void) | ||
168 | { | ||
169 | return 0x6U; | ||
170 | } | ||
171 | static inline u32 gmmu_new_dual_pde_vol_small_w(void) | ||
172 | { | ||
173 | return 2U; | ||
174 | } | ||
175 | static inline u32 gmmu_new_dual_pde_vol_small_true_f(void) | ||
176 | { | ||
177 | return 0x8U; | ||
178 | } | ||
179 | static inline u32 gmmu_new_dual_pde_vol_small_false_f(void) | ||
180 | { | ||
181 | return 0x0U; | ||
182 | } | ||
183 | static inline u32 gmmu_new_dual_pde_vol_big_w(void) | ||
184 | { | ||
185 | return 0U; | ||
186 | } | ||
187 | static inline u32 gmmu_new_dual_pde_vol_big_true_f(void) | ||
188 | { | ||
189 | return 0x8U; | ||
190 | } | ||
191 | static inline u32 gmmu_new_dual_pde_vol_big_false_f(void) | ||
192 | { | ||
193 | return 0x0U; | ||
194 | } | ||
195 | static inline u32 gmmu_new_dual_pde_address_small_sys_f(u32 v) | ||
196 | { | ||
197 | return (v & 0xffffffU) << 8U; | ||
198 | } | ||
199 | static inline u32 gmmu_new_dual_pde_address_small_sys_w(void) | ||
200 | { | ||
201 | return 2U; | ||
202 | } | ||
203 | static inline u32 gmmu_new_dual_pde_address_shift_v(void) | ||
204 | { | ||
205 | return 0x0000000cU; | ||
206 | } | ||
207 | static inline u32 gmmu_new_dual_pde_address_big_shift_v(void) | ||
208 | { | ||
209 | return 0x00000008U; | ||
210 | } | ||
211 | static inline u32 gmmu_new_dual_pde__size_v(void) | ||
212 | { | ||
213 | return 0x00000010U; | ||
214 | } | ||
215 | static inline u32 gmmu_new_pte__size_v(void) | ||
216 | { | ||
217 | return 0x00000008U; | ||
218 | } | ||
219 | static inline u32 gmmu_new_pte_valid_w(void) | ||
220 | { | ||
221 | return 0U; | ||
222 | } | ||
223 | static inline u32 gmmu_new_pte_valid_true_f(void) | ||
224 | { | ||
225 | return 0x1U; | ||
226 | } | ||
227 | static inline u32 gmmu_new_pte_valid_false_f(void) | ||
228 | { | ||
229 | return 0x0U; | ||
230 | } | ||
231 | static inline u32 gmmu_new_pte_privilege_w(void) | ||
232 | { | ||
233 | return 0U; | ||
234 | } | ||
235 | static inline u32 gmmu_new_pte_privilege_true_f(void) | ||
236 | { | ||
237 | return 0x20U; | ||
238 | } | ||
239 | static inline u32 gmmu_new_pte_privilege_false_f(void) | ||
240 | { | ||
241 | return 0x0U; | ||
242 | } | ||
243 | static inline u32 gmmu_new_pte_address_sys_f(u32 v) | ||
244 | { | ||
245 | return (v & 0xffffffU) << 8U; | ||
246 | } | ||
247 | static inline u32 gmmu_new_pte_address_sys_w(void) | ||
248 | { | ||
249 | return 0U; | ||
250 | } | ||
251 | static inline u32 gmmu_new_pte_address_vid_f(u32 v) | ||
252 | { | ||
253 | return (v & 0xffffffU) << 8U; | ||
254 | } | ||
255 | static inline u32 gmmu_new_pte_address_vid_w(void) | ||
256 | { | ||
257 | return 0U; | ||
258 | } | ||
259 | static inline u32 gmmu_new_pte_vol_w(void) | ||
260 | { | ||
261 | return 0U; | ||
262 | } | ||
263 | static inline u32 gmmu_new_pte_vol_true_f(void) | ||
264 | { | ||
265 | return 0x8U; | ||
266 | } | ||
267 | static inline u32 gmmu_new_pte_vol_false_f(void) | ||
268 | { | ||
269 | return 0x0U; | ||
270 | } | ||
271 | static inline u32 gmmu_new_pte_aperture_w(void) | ||
272 | { | ||
273 | return 0U; | ||
274 | } | ||
275 | static inline u32 gmmu_new_pte_aperture_video_memory_f(void) | ||
276 | { | ||
277 | return 0x0U; | ||
278 | } | ||
279 | static inline u32 gmmu_new_pte_aperture_sys_mem_coh_f(void) | ||
280 | { | ||
281 | return 0x4U; | ||
282 | } | ||
283 | static inline u32 gmmu_new_pte_aperture_sys_mem_ncoh_f(void) | ||
284 | { | ||
285 | return 0x6U; | ||
286 | } | ||
287 | static inline u32 gmmu_new_pte_read_only_w(void) | ||
288 | { | ||
289 | return 0U; | ||
290 | } | ||
291 | static inline u32 gmmu_new_pte_read_only_true_f(void) | ||
292 | { | ||
293 | return 0x40U; | ||
294 | } | ||
295 | static inline u32 gmmu_new_pte_comptagline_f(u32 v) | ||
296 | { | ||
297 | return (v & 0x3ffffU) << 4U; | ||
298 | } | ||
299 | static inline u32 gmmu_new_pte_comptagline_w(void) | ||
300 | { | ||
301 | return 1U; | ||
302 | } | ||
303 | static inline u32 gmmu_new_pte_kind_f(u32 v) | ||
304 | { | ||
305 | return (v & 0xffU) << 24U; | ||
306 | } | ||
307 | static inline u32 gmmu_new_pte_kind_w(void) | ||
308 | { | ||
309 | return 1U; | ||
310 | } | ||
311 | static inline u32 gmmu_new_pte_address_shift_v(void) | ||
312 | { | ||
313 | return 0x0000000cU; | ||
314 | } | ||
315 | static inline u32 gmmu_pte_kind_f(u32 v) | ||
316 | { | ||
317 | return (v & 0xffU) << 4U; | ||
318 | } | ||
319 | static inline u32 gmmu_pte_kind_w(void) | ||
320 | { | ||
321 | return 1U; | ||
322 | } | ||
323 | static inline u32 gmmu_pte_kind_invalid_v(void) | ||
324 | { | ||
325 | return 0x000000ffU; | ||
326 | } | ||
327 | static inline u32 gmmu_pte_kind_pitch_v(void) | ||
328 | { | ||
329 | return 0x00000000U; | ||
330 | } | ||
331 | static inline u32 gmmu_pte_kind_z16_v(void) | ||
332 | { | ||
333 | return 0x00000001U; | ||
334 | } | ||
335 | static inline u32 gmmu_pte_kind_z16_2c_v(void) | ||
336 | { | ||
337 | return 0x00000002U; | ||
338 | } | ||
339 | static inline u32 gmmu_pte_kind_z16_ms2_2c_v(void) | ||
340 | { | ||
341 | return 0x00000003U; | ||
342 | } | ||
343 | static inline u32 gmmu_pte_kind_z16_ms4_2c_v(void) | ||
344 | { | ||
345 | return 0x00000004U; | ||
346 | } | ||
347 | static inline u32 gmmu_pte_kind_z16_ms8_2c_v(void) | ||
348 | { | ||
349 | return 0x00000005U; | ||
350 | } | ||
351 | static inline u32 gmmu_pte_kind_z16_ms16_2c_v(void) | ||
352 | { | ||
353 | return 0x00000006U; | ||
354 | } | ||
355 | static inline u32 gmmu_pte_kind_z16_2z_v(void) | ||
356 | { | ||
357 | return 0x00000007U; | ||
358 | } | ||
359 | static inline u32 gmmu_pte_kind_z16_ms2_2z_v(void) | ||
360 | { | ||
361 | return 0x00000008U; | ||
362 | } | ||
363 | static inline u32 gmmu_pte_kind_z16_ms4_2z_v(void) | ||
364 | { | ||
365 | return 0x00000009U; | ||
366 | } | ||
367 | static inline u32 gmmu_pte_kind_z16_ms8_2z_v(void) | ||
368 | { | ||
369 | return 0x0000000aU; | ||
370 | } | ||
371 | static inline u32 gmmu_pte_kind_z16_ms16_2z_v(void) | ||
372 | { | ||
373 | return 0x0000000bU; | ||
374 | } | ||
375 | static inline u32 gmmu_pte_kind_z16_2cz_v(void) | ||
376 | { | ||
377 | return 0x00000036U; | ||
378 | } | ||
379 | static inline u32 gmmu_pte_kind_z16_ms2_2cz_v(void) | ||
380 | { | ||
381 | return 0x00000037U; | ||
382 | } | ||
383 | static inline u32 gmmu_pte_kind_z16_ms4_2cz_v(void) | ||
384 | { | ||
385 | return 0x00000038U; | ||
386 | } | ||
387 | static inline u32 gmmu_pte_kind_z16_ms8_2cz_v(void) | ||
388 | { | ||
389 | return 0x00000039U; | ||
390 | } | ||
391 | static inline u32 gmmu_pte_kind_z16_ms16_2cz_v(void) | ||
392 | { | ||
393 | return 0x0000005fU; | ||
394 | } | ||
395 | static inline u32 gmmu_pte_kind_z16_4cz_v(void) | ||
396 | { | ||
397 | return 0x0000000cU; | ||
398 | } | ||
399 | static inline u32 gmmu_pte_kind_z16_ms2_4cz_v(void) | ||
400 | { | ||
401 | return 0x0000000dU; | ||
402 | } | ||
403 | static inline u32 gmmu_pte_kind_z16_ms4_4cz_v(void) | ||
404 | { | ||
405 | return 0x0000000eU; | ||
406 | } | ||
407 | static inline u32 gmmu_pte_kind_z16_ms8_4cz_v(void) | ||
408 | { | ||
409 | return 0x0000000fU; | ||
410 | } | ||
411 | static inline u32 gmmu_pte_kind_z16_ms16_4cz_v(void) | ||
412 | { | ||
413 | return 0x00000010U; | ||
414 | } | ||
415 | static inline u32 gmmu_pte_kind_s8z24_v(void) | ||
416 | { | ||
417 | return 0x00000011U; | ||
418 | } | ||
419 | static inline u32 gmmu_pte_kind_s8z24_1z_v(void) | ||
420 | { | ||
421 | return 0x00000012U; | ||
422 | } | ||
423 | static inline u32 gmmu_pte_kind_s8z24_ms2_1z_v(void) | ||
424 | { | ||
425 | return 0x00000013U; | ||
426 | } | ||
427 | static inline u32 gmmu_pte_kind_s8z24_ms4_1z_v(void) | ||
428 | { | ||
429 | return 0x00000014U; | ||
430 | } | ||
431 | static inline u32 gmmu_pte_kind_s8z24_ms8_1z_v(void) | ||
432 | { | ||
433 | return 0x00000015U; | ||
434 | } | ||
435 | static inline u32 gmmu_pte_kind_s8z24_ms16_1z_v(void) | ||
436 | { | ||
437 | return 0x00000016U; | ||
438 | } | ||
439 | static inline u32 gmmu_pte_kind_s8z24_2cz_v(void) | ||
440 | { | ||
441 | return 0x00000017U; | ||
442 | } | ||
443 | static inline u32 gmmu_pte_kind_s8z24_ms2_2cz_v(void) | ||
444 | { | ||
445 | return 0x00000018U; | ||
446 | } | ||
447 | static inline u32 gmmu_pte_kind_s8z24_ms4_2cz_v(void) | ||
448 | { | ||
449 | return 0x00000019U; | ||
450 | } | ||
451 | static inline u32 gmmu_pte_kind_s8z24_ms8_2cz_v(void) | ||
452 | { | ||
453 | return 0x0000001aU; | ||
454 | } | ||
455 | static inline u32 gmmu_pte_kind_s8z24_ms16_2cz_v(void) | ||
456 | { | ||
457 | return 0x0000001bU; | ||
458 | } | ||
459 | static inline u32 gmmu_pte_kind_s8z24_2cs_v(void) | ||
460 | { | ||
461 | return 0x0000001cU; | ||
462 | } | ||
463 | static inline u32 gmmu_pte_kind_s8z24_ms2_2cs_v(void) | ||
464 | { | ||
465 | return 0x0000001dU; | ||
466 | } | ||
467 | static inline u32 gmmu_pte_kind_s8z24_ms4_2cs_v(void) | ||
468 | { | ||
469 | return 0x0000001eU; | ||
470 | } | ||
471 | static inline u32 gmmu_pte_kind_s8z24_ms8_2cs_v(void) | ||
472 | { | ||
473 | return 0x0000001fU; | ||
474 | } | ||
475 | static inline u32 gmmu_pte_kind_s8z24_ms16_2cs_v(void) | ||
476 | { | ||
477 | return 0x00000020U; | ||
478 | } | ||
479 | static inline u32 gmmu_pte_kind_s8z24_4cszv_v(void) | ||
480 | { | ||
481 | return 0x00000021U; | ||
482 | } | ||
483 | static inline u32 gmmu_pte_kind_s8z24_ms2_4cszv_v(void) | ||
484 | { | ||
485 | return 0x00000022U; | ||
486 | } | ||
487 | static inline u32 gmmu_pte_kind_s8z24_ms4_4cszv_v(void) | ||
488 | { | ||
489 | return 0x00000023U; | ||
490 | } | ||
491 | static inline u32 gmmu_pte_kind_s8z24_ms8_4cszv_v(void) | ||
492 | { | ||
493 | return 0x00000024U; | ||
494 | } | ||
495 | static inline u32 gmmu_pte_kind_s8z24_ms16_4cszv_v(void) | ||
496 | { | ||
497 | return 0x00000025U; | ||
498 | } | ||
499 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc12_v(void) | ||
500 | { | ||
501 | return 0x00000026U; | ||
502 | } | ||
503 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc4_v(void) | ||
504 | { | ||
505 | return 0x00000027U; | ||
506 | } | ||
507 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc8_v(void) | ||
508 | { | ||
509 | return 0x00000028U; | ||
510 | } | ||
511 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc24_v(void) | ||
512 | { | ||
513 | return 0x00000029U; | ||
514 | } | ||
515 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc12_1zv_v(void) | ||
516 | { | ||
517 | return 0x0000002eU; | ||
518 | } | ||
519 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc4_1zv_v(void) | ||
520 | { | ||
521 | return 0x0000002fU; | ||
522 | } | ||
523 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc8_1zv_v(void) | ||
524 | { | ||
525 | return 0x00000030U; | ||
526 | } | ||
527 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc24_1zv_v(void) | ||
528 | { | ||
529 | return 0x00000031U; | ||
530 | } | ||
531 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc12_2cs_v(void) | ||
532 | { | ||
533 | return 0x00000032U; | ||
534 | } | ||
535 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc4_2cs_v(void) | ||
536 | { | ||
537 | return 0x00000033U; | ||
538 | } | ||
539 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc8_2cs_v(void) | ||
540 | { | ||
541 | return 0x00000034U; | ||
542 | } | ||
543 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc24_2cs_v(void) | ||
544 | { | ||
545 | return 0x00000035U; | ||
546 | } | ||
547 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc12_2czv_v(void) | ||
548 | { | ||
549 | return 0x0000003aU; | ||
550 | } | ||
551 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc4_2czv_v(void) | ||
552 | { | ||
553 | return 0x0000003bU; | ||
554 | } | ||
555 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc8_2czv_v(void) | ||
556 | { | ||
557 | return 0x0000003cU; | ||
558 | } | ||
559 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc24_2czv_v(void) | ||
560 | { | ||
561 | return 0x0000003dU; | ||
562 | } | ||
563 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc12_2zv_v(void) | ||
564 | { | ||
565 | return 0x0000003eU; | ||
566 | } | ||
567 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc4_2zv_v(void) | ||
568 | { | ||
569 | return 0x0000003fU; | ||
570 | } | ||
571 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc8_2zv_v(void) | ||
572 | { | ||
573 | return 0x00000040U; | ||
574 | } | ||
575 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc24_2zv_v(void) | ||
576 | { | ||
577 | return 0x00000041U; | ||
578 | } | ||
579 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc12_4cszv_v(void) | ||
580 | { | ||
581 | return 0x00000042U; | ||
582 | } | ||
583 | static inline u32 gmmu_pte_kind_v8z24_ms4_vc4_4cszv_v(void) | ||
584 | { | ||
585 | return 0x00000043U; | ||
586 | } | ||
587 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc8_4cszv_v(void) | ||
588 | { | ||
589 | return 0x00000044U; | ||
590 | } | ||
591 | static inline u32 gmmu_pte_kind_v8z24_ms8_vc24_4cszv_v(void) | ||
592 | { | ||
593 | return 0x00000045U; | ||
594 | } | ||
595 | static inline u32 gmmu_pte_kind_z24s8_v(void) | ||
596 | { | ||
597 | return 0x00000046U; | ||
598 | } | ||
599 | static inline u32 gmmu_pte_kind_z24s8_1z_v(void) | ||
600 | { | ||
601 | return 0x00000047U; | ||
602 | } | ||
603 | static inline u32 gmmu_pte_kind_z24s8_ms2_1z_v(void) | ||
604 | { | ||
605 | return 0x00000048U; | ||
606 | } | ||
607 | static inline u32 gmmu_pte_kind_z24s8_ms4_1z_v(void) | ||
608 | { | ||
609 | return 0x00000049U; | ||
610 | } | ||
611 | static inline u32 gmmu_pte_kind_z24s8_ms8_1z_v(void) | ||
612 | { | ||
613 | return 0x0000004aU; | ||
614 | } | ||
615 | static inline u32 gmmu_pte_kind_z24s8_ms16_1z_v(void) | ||
616 | { | ||
617 | return 0x0000004bU; | ||
618 | } | ||
619 | static inline u32 gmmu_pte_kind_z24s8_2cs_v(void) | ||
620 | { | ||
621 | return 0x0000004cU; | ||
622 | } | ||
623 | static inline u32 gmmu_pte_kind_z24s8_ms2_2cs_v(void) | ||
624 | { | ||
625 | return 0x0000004dU; | ||
626 | } | ||
627 | static inline u32 gmmu_pte_kind_z24s8_ms4_2cs_v(void) | ||
628 | { | ||
629 | return 0x0000004eU; | ||
630 | } | ||
631 | static inline u32 gmmu_pte_kind_z24s8_ms8_2cs_v(void) | ||
632 | { | ||
633 | return 0x0000004fU; | ||
634 | } | ||
635 | static inline u32 gmmu_pte_kind_z24s8_ms16_2cs_v(void) | ||
636 | { | ||
637 | return 0x00000050U; | ||
638 | } | ||
639 | static inline u32 gmmu_pte_kind_z24s8_2cz_v(void) | ||
640 | { | ||
641 | return 0x00000051U; | ||
642 | } | ||
643 | static inline u32 gmmu_pte_kind_z24s8_ms2_2cz_v(void) | ||
644 | { | ||
645 | return 0x00000052U; | ||
646 | } | ||
647 | static inline u32 gmmu_pte_kind_z24s8_ms4_2cz_v(void) | ||
648 | { | ||
649 | return 0x00000053U; | ||
650 | } | ||
651 | static inline u32 gmmu_pte_kind_z24s8_ms8_2cz_v(void) | ||
652 | { | ||
653 | return 0x00000054U; | ||
654 | } | ||
655 | static inline u32 gmmu_pte_kind_z24s8_ms16_2cz_v(void) | ||
656 | { | ||
657 | return 0x00000055U; | ||
658 | } | ||
659 | static inline u32 gmmu_pte_kind_z24s8_4cszv_v(void) | ||
660 | { | ||
661 | return 0x00000056U; | ||
662 | } | ||
663 | static inline u32 gmmu_pte_kind_z24s8_ms2_4cszv_v(void) | ||
664 | { | ||
665 | return 0x00000057U; | ||
666 | } | ||
667 | static inline u32 gmmu_pte_kind_z24s8_ms4_4cszv_v(void) | ||
668 | { | ||
669 | return 0x00000058U; | ||
670 | } | ||
671 | static inline u32 gmmu_pte_kind_z24s8_ms8_4cszv_v(void) | ||
672 | { | ||
673 | return 0x00000059U; | ||
674 | } | ||
675 | static inline u32 gmmu_pte_kind_z24s8_ms16_4cszv_v(void) | ||
676 | { | ||
677 | return 0x0000005aU; | ||
678 | } | ||
679 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc12_v(void) | ||
680 | { | ||
681 | return 0x0000005bU; | ||
682 | } | ||
683 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc4_v(void) | ||
684 | { | ||
685 | return 0x0000005cU; | ||
686 | } | ||
687 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc8_v(void) | ||
688 | { | ||
689 | return 0x0000005dU; | ||
690 | } | ||
691 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc24_v(void) | ||
692 | { | ||
693 | return 0x0000005eU; | ||
694 | } | ||
695 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc12_1zv_v(void) | ||
696 | { | ||
697 | return 0x00000063U; | ||
698 | } | ||
699 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc4_1zv_v(void) | ||
700 | { | ||
701 | return 0x00000064U; | ||
702 | } | ||
703 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc8_1zv_v(void) | ||
704 | { | ||
705 | return 0x00000065U; | ||
706 | } | ||
707 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc24_1zv_v(void) | ||
708 | { | ||
709 | return 0x00000066U; | ||
710 | } | ||
711 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc12_2cs_v(void) | ||
712 | { | ||
713 | return 0x00000067U; | ||
714 | } | ||
715 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc4_2cs_v(void) | ||
716 | { | ||
717 | return 0x00000068U; | ||
718 | } | ||
719 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc8_2cs_v(void) | ||
720 | { | ||
721 | return 0x00000069U; | ||
722 | } | ||
723 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc24_2cs_v(void) | ||
724 | { | ||
725 | return 0x0000006aU; | ||
726 | } | ||
727 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc12_2czv_v(void) | ||
728 | { | ||
729 | return 0x0000006fU; | ||
730 | } | ||
731 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc4_2czv_v(void) | ||
732 | { | ||
733 | return 0x00000070U; | ||
734 | } | ||
735 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc8_2czv_v(void) | ||
736 | { | ||
737 | return 0x00000071U; | ||
738 | } | ||
739 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc24_2czv_v(void) | ||
740 | { | ||
741 | return 0x00000072U; | ||
742 | } | ||
743 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc12_2zv_v(void) | ||
744 | { | ||
745 | return 0x00000073U; | ||
746 | } | ||
747 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc4_2zv_v(void) | ||
748 | { | ||
749 | return 0x00000074U; | ||
750 | } | ||
751 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc8_2zv_v(void) | ||
752 | { | ||
753 | return 0x00000075U; | ||
754 | } | ||
755 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc24_2zv_v(void) | ||
756 | { | ||
757 | return 0x00000076U; | ||
758 | } | ||
759 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc12_4cszv_v(void) | ||
760 | { | ||
761 | return 0x00000077U; | ||
762 | } | ||
763 | static inline u32 gmmu_pte_kind_z24v8_ms4_vc4_4cszv_v(void) | ||
764 | { | ||
765 | return 0x00000078U; | ||
766 | } | ||
767 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc8_4cszv_v(void) | ||
768 | { | ||
769 | return 0x00000079U; | ||
770 | } | ||
771 | static inline u32 gmmu_pte_kind_z24v8_ms8_vc24_4cszv_v(void) | ||
772 | { | ||
773 | return 0x0000007aU; | ||
774 | } | ||
775 | static inline u32 gmmu_pte_kind_zf32_v(void) | ||
776 | { | ||
777 | return 0x0000007bU; | ||
778 | } | ||
779 | static inline u32 gmmu_pte_kind_zf32_1z_v(void) | ||
780 | { | ||
781 | return 0x0000007cU; | ||
782 | } | ||
783 | static inline u32 gmmu_pte_kind_zf32_ms2_1z_v(void) | ||
784 | { | ||
785 | return 0x0000007dU; | ||
786 | } | ||
787 | static inline u32 gmmu_pte_kind_zf32_ms4_1z_v(void) | ||
788 | { | ||
789 | return 0x0000007eU; | ||
790 | } | ||
791 | static inline u32 gmmu_pte_kind_zf32_ms8_1z_v(void) | ||
792 | { | ||
793 | return 0x0000007fU; | ||
794 | } | ||
795 | static inline u32 gmmu_pte_kind_zf32_ms16_1z_v(void) | ||
796 | { | ||
797 | return 0x00000080U; | ||
798 | } | ||
799 | static inline u32 gmmu_pte_kind_zf32_2cs_v(void) | ||
800 | { | ||
801 | return 0x00000081U; | ||
802 | } | ||
803 | static inline u32 gmmu_pte_kind_zf32_ms2_2cs_v(void) | ||
804 | { | ||
805 | return 0x00000082U; | ||
806 | } | ||
807 | static inline u32 gmmu_pte_kind_zf32_ms4_2cs_v(void) | ||
808 | { | ||
809 | return 0x00000083U; | ||
810 | } | ||
811 | static inline u32 gmmu_pte_kind_zf32_ms8_2cs_v(void) | ||
812 | { | ||
813 | return 0x00000084U; | ||
814 | } | ||
815 | static inline u32 gmmu_pte_kind_zf32_ms16_2cs_v(void) | ||
816 | { | ||
817 | return 0x00000085U; | ||
818 | } | ||
819 | static inline u32 gmmu_pte_kind_zf32_2cz_v(void) | ||
820 | { | ||
821 | return 0x00000086U; | ||
822 | } | ||
823 | static inline u32 gmmu_pte_kind_zf32_ms2_2cz_v(void) | ||
824 | { | ||
825 | return 0x00000087U; | ||
826 | } | ||
827 | static inline u32 gmmu_pte_kind_zf32_ms4_2cz_v(void) | ||
828 | { | ||
829 | return 0x00000088U; | ||
830 | } | ||
831 | static inline u32 gmmu_pte_kind_zf32_ms8_2cz_v(void) | ||
832 | { | ||
833 | return 0x00000089U; | ||
834 | } | ||
835 | static inline u32 gmmu_pte_kind_zf32_ms16_2cz_v(void) | ||
836 | { | ||
837 | return 0x0000008aU; | ||
838 | } | ||
839 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc12_v(void) | ||
840 | { | ||
841 | return 0x0000008bU; | ||
842 | } | ||
843 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc4_v(void) | ||
844 | { | ||
845 | return 0x0000008cU; | ||
846 | } | ||
847 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc8_v(void) | ||
848 | { | ||
849 | return 0x0000008dU; | ||
850 | } | ||
851 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc24_v(void) | ||
852 | { | ||
853 | return 0x0000008eU; | ||
854 | } | ||
855 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc12_1cs_v(void) | ||
856 | { | ||
857 | return 0x0000008fU; | ||
858 | } | ||
859 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc4_1cs_v(void) | ||
860 | { | ||
861 | return 0x00000090U; | ||
862 | } | ||
863 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc8_1cs_v(void) | ||
864 | { | ||
865 | return 0x00000091U; | ||
866 | } | ||
867 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc24_1cs_v(void) | ||
868 | { | ||
869 | return 0x00000092U; | ||
870 | } | ||
871 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc12_1zv_v(void) | ||
872 | { | ||
873 | return 0x00000097U; | ||
874 | } | ||
875 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc4_1zv_v(void) | ||
876 | { | ||
877 | return 0x00000098U; | ||
878 | } | ||
879 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc8_1zv_v(void) | ||
880 | { | ||
881 | return 0x00000099U; | ||
882 | } | ||
883 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc24_1zv_v(void) | ||
884 | { | ||
885 | return 0x0000009aU; | ||
886 | } | ||
887 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc12_1czv_v(void) | ||
888 | { | ||
889 | return 0x0000009bU; | ||
890 | } | ||
891 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc4_1czv_v(void) | ||
892 | { | ||
893 | return 0x0000009cU; | ||
894 | } | ||
895 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc8_1czv_v(void) | ||
896 | { | ||
897 | return 0x0000009dU; | ||
898 | } | ||
899 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc24_1czv_v(void) | ||
900 | { | ||
901 | return 0x0000009eU; | ||
902 | } | ||
903 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc12_2cs_v(void) | ||
904 | { | ||
905 | return 0x0000009fU; | ||
906 | } | ||
907 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc4_2cs_v(void) | ||
908 | { | ||
909 | return 0x000000a0U; | ||
910 | } | ||
911 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc8_2cs_v(void) | ||
912 | { | ||
913 | return 0x000000a1U; | ||
914 | } | ||
915 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc24_2cs_v(void) | ||
916 | { | ||
917 | return 0x000000a2U; | ||
918 | } | ||
919 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc12_2cszv_v(void) | ||
920 | { | ||
921 | return 0x000000a3U; | ||
922 | } | ||
923 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms4_vc4_2cszv_v(void) | ||
924 | { | ||
925 | return 0x000000a4U; | ||
926 | } | ||
927 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc8_2cszv_v(void) | ||
928 | { | ||
929 | return 0x000000a5U; | ||
930 | } | ||
931 | static inline u32 gmmu_pte_kind_x8z24_x16v8s8_ms8_vc24_2cszv_v(void) | ||
932 | { | ||
933 | return 0x000000a6U; | ||
934 | } | ||
935 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc12_v(void) | ||
936 | { | ||
937 | return 0x000000a7U; | ||
938 | } | ||
939 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc4_v(void) | ||
940 | { | ||
941 | return 0x000000a8U; | ||
942 | } | ||
943 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc8_v(void) | ||
944 | { | ||
945 | return 0x000000a9U; | ||
946 | } | ||
947 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc24_v(void) | ||
948 | { | ||
949 | return 0x000000aaU; | ||
950 | } | ||
951 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc12_1cs_v(void) | ||
952 | { | ||
953 | return 0x000000abU; | ||
954 | } | ||
955 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc4_1cs_v(void) | ||
956 | { | ||
957 | return 0x000000acU; | ||
958 | } | ||
959 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc8_1cs_v(void) | ||
960 | { | ||
961 | return 0x000000adU; | ||
962 | } | ||
963 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc24_1cs_v(void) | ||
964 | { | ||
965 | return 0x000000aeU; | ||
966 | } | ||
967 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc12_1zv_v(void) | ||
968 | { | ||
969 | return 0x000000b3U; | ||
970 | } | ||
971 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc4_1zv_v(void) | ||
972 | { | ||
973 | return 0x000000b4U; | ||
974 | } | ||
975 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc8_1zv_v(void) | ||
976 | { | ||
977 | return 0x000000b5U; | ||
978 | } | ||
979 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc24_1zv_v(void) | ||
980 | { | ||
981 | return 0x000000b6U; | ||
982 | } | ||
983 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc12_1czv_v(void) | ||
984 | { | ||
985 | return 0x000000b7U; | ||
986 | } | ||
987 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc4_1czv_v(void) | ||
988 | { | ||
989 | return 0x000000b8U; | ||
990 | } | ||
991 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc8_1czv_v(void) | ||
992 | { | ||
993 | return 0x000000b9U; | ||
994 | } | ||
995 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc24_1czv_v(void) | ||
996 | { | ||
997 | return 0x000000baU; | ||
998 | } | ||
999 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc12_2cs_v(void) | ||
1000 | { | ||
1001 | return 0x000000bbU; | ||
1002 | } | ||
1003 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc4_2cs_v(void) | ||
1004 | { | ||
1005 | return 0x000000bcU; | ||
1006 | } | ||
1007 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc8_2cs_v(void) | ||
1008 | { | ||
1009 | return 0x000000bdU; | ||
1010 | } | ||
1011 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc24_2cs_v(void) | ||
1012 | { | ||
1013 | return 0x000000beU; | ||
1014 | } | ||
1015 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc12_2cszv_v(void) | ||
1016 | { | ||
1017 | return 0x000000bfU; | ||
1018 | } | ||
1019 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms4_vc4_2cszv_v(void) | ||
1020 | { | ||
1021 | return 0x000000c0U; | ||
1022 | } | ||
1023 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc8_2cszv_v(void) | ||
1024 | { | ||
1025 | return 0x000000c1U; | ||
1026 | } | ||
1027 | static inline u32 gmmu_pte_kind_zf32_x16v8s8_ms8_vc24_2cszv_v(void) | ||
1028 | { | ||
1029 | return 0x000000c2U; | ||
1030 | } | ||
1031 | static inline u32 gmmu_pte_kind_zf32_x24s8_v(void) | ||
1032 | { | ||
1033 | return 0x000000c3U; | ||
1034 | } | ||
1035 | static inline u32 gmmu_pte_kind_zf32_x24s8_1cs_v(void) | ||
1036 | { | ||
1037 | return 0x000000c4U; | ||
1038 | } | ||
1039 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms2_1cs_v(void) | ||
1040 | { | ||
1041 | return 0x000000c5U; | ||
1042 | } | ||
1043 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms4_1cs_v(void) | ||
1044 | { | ||
1045 | return 0x000000c6U; | ||
1046 | } | ||
1047 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms8_1cs_v(void) | ||
1048 | { | ||
1049 | return 0x000000c7U; | ||
1050 | } | ||
1051 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms16_1cs_v(void) | ||
1052 | { | ||
1053 | return 0x000000c8U; | ||
1054 | } | ||
1055 | static inline u32 gmmu_pte_kind_zf32_x24s8_2cszv_v(void) | ||
1056 | { | ||
1057 | return 0x000000ceU; | ||
1058 | } | ||
1059 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms2_2cszv_v(void) | ||
1060 | { | ||
1061 | return 0x000000cfU; | ||
1062 | } | ||
1063 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms4_2cszv_v(void) | ||
1064 | { | ||
1065 | return 0x000000d0U; | ||
1066 | } | ||
1067 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms8_2cszv_v(void) | ||
1068 | { | ||
1069 | return 0x000000d1U; | ||
1070 | } | ||
1071 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms16_2cszv_v(void) | ||
1072 | { | ||
1073 | return 0x000000d2U; | ||
1074 | } | ||
1075 | static inline u32 gmmu_pte_kind_zf32_x24s8_2cs_v(void) | ||
1076 | { | ||
1077 | return 0x000000d3U; | ||
1078 | } | ||
1079 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms2_2cs_v(void) | ||
1080 | { | ||
1081 | return 0x000000d4U; | ||
1082 | } | ||
1083 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms4_2cs_v(void) | ||
1084 | { | ||
1085 | return 0x000000d5U; | ||
1086 | } | ||
1087 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms8_2cs_v(void) | ||
1088 | { | ||
1089 | return 0x000000d6U; | ||
1090 | } | ||
1091 | static inline u32 gmmu_pte_kind_zf32_x24s8_ms16_2cs_v(void) | ||
1092 | { | ||
1093 | return 0x000000d7U; | ||
1094 | } | ||
1095 | static inline u32 gmmu_pte_kind_generic_16bx2_v(void) | ||
1096 | { | ||
1097 | return 0x000000feU; | ||
1098 | } | ||
1099 | static inline u32 gmmu_pte_kind_c32_2c_v(void) | ||
1100 | { | ||
1101 | return 0x000000d8U; | ||
1102 | } | ||
1103 | static inline u32 gmmu_pte_kind_c32_2cbr_v(void) | ||
1104 | { | ||
1105 | return 0x000000d9U; | ||
1106 | } | ||
1107 | static inline u32 gmmu_pte_kind_c32_2cba_v(void) | ||
1108 | { | ||
1109 | return 0x000000daU; | ||
1110 | } | ||
1111 | static inline u32 gmmu_pte_kind_c32_2cra_v(void) | ||
1112 | { | ||
1113 | return 0x000000dbU; | ||
1114 | } | ||
1115 | static inline u32 gmmu_pte_kind_c32_2bra_v(void) | ||
1116 | { | ||
1117 | return 0x000000dcU; | ||
1118 | } | ||
1119 | static inline u32 gmmu_pte_kind_c32_ms2_2c_v(void) | ||
1120 | { | ||
1121 | return 0x000000ddU; | ||
1122 | } | ||
1123 | static inline u32 gmmu_pte_kind_c32_ms2_2cbr_v(void) | ||
1124 | { | ||
1125 | return 0x000000deU; | ||
1126 | } | ||
1127 | static inline u32 gmmu_pte_kind_c32_ms4_2c_v(void) | ||
1128 | { | ||
1129 | return 0x000000dfU; | ||
1130 | } | ||
1131 | static inline u32 gmmu_pte_kind_c32_ms4_2cbr_v(void) | ||
1132 | { | ||
1133 | return 0x000000e0U; | ||
1134 | } | ||
1135 | static inline u32 gmmu_pte_kind_c32_ms4_2cba_v(void) | ||
1136 | { | ||
1137 | return 0x000000e1U; | ||
1138 | } | ||
1139 | static inline u32 gmmu_pte_kind_c32_ms4_2cra_v(void) | ||
1140 | { | ||
1141 | return 0x000000e2U; | ||
1142 | } | ||
1143 | static inline u32 gmmu_pte_kind_c32_ms4_2bra_v(void) | ||
1144 | { | ||
1145 | return 0x000000e3U; | ||
1146 | } | ||
1147 | static inline u32 gmmu_pte_kind_c32_ms4_4cbra_v(void) | ||
1148 | { | ||
1149 | return 0x0000002cU; | ||
1150 | } | ||
1151 | static inline u32 gmmu_pte_kind_c32_ms8_ms16_2c_v(void) | ||
1152 | { | ||
1153 | return 0x000000e4U; | ||
1154 | } | ||
1155 | static inline u32 gmmu_pte_kind_c32_ms8_ms16_2cra_v(void) | ||
1156 | { | ||
1157 | return 0x000000e5U; | ||
1158 | } | ||
1159 | static inline u32 gmmu_pte_kind_c64_2c_v(void) | ||
1160 | { | ||
1161 | return 0x000000e6U; | ||
1162 | } | ||
1163 | static inline u32 gmmu_pte_kind_c64_2cbr_v(void) | ||
1164 | { | ||
1165 | return 0x000000e7U; | ||
1166 | } | ||
1167 | static inline u32 gmmu_pte_kind_c64_2cba_v(void) | ||
1168 | { | ||
1169 | return 0x000000e8U; | ||
1170 | } | ||
1171 | static inline u32 gmmu_pte_kind_c64_2cra_v(void) | ||
1172 | { | ||
1173 | return 0x000000e9U; | ||
1174 | } | ||
1175 | static inline u32 gmmu_pte_kind_c64_2bra_v(void) | ||
1176 | { | ||
1177 | return 0x000000eaU; | ||
1178 | } | ||
1179 | static inline u32 gmmu_pte_kind_c64_ms2_2c_v(void) | ||
1180 | { | ||
1181 | return 0x000000ebU; | ||
1182 | } | ||
1183 | static inline u32 gmmu_pte_kind_c64_ms2_2cbr_v(void) | ||
1184 | { | ||
1185 | return 0x000000ecU; | ||
1186 | } | ||
1187 | static inline u32 gmmu_pte_kind_c64_ms4_2c_v(void) | ||
1188 | { | ||
1189 | return 0x000000edU; | ||
1190 | } | ||
1191 | static inline u32 gmmu_pte_kind_c64_ms4_2cbr_v(void) | ||
1192 | { | ||
1193 | return 0x000000eeU; | ||
1194 | } | ||
1195 | static inline u32 gmmu_pte_kind_c64_ms4_2cba_v(void) | ||
1196 | { | ||
1197 | return 0x000000efU; | ||
1198 | } | ||
1199 | static inline u32 gmmu_pte_kind_c64_ms4_2cra_v(void) | ||
1200 | { | ||
1201 | return 0x000000f0U; | ||
1202 | } | ||
1203 | static inline u32 gmmu_pte_kind_c64_ms4_2bra_v(void) | ||
1204 | { | ||
1205 | return 0x000000f1U; | ||
1206 | } | ||
1207 | static inline u32 gmmu_pte_kind_c64_ms4_4cbra_v(void) | ||
1208 | { | ||
1209 | return 0x0000002dU; | ||
1210 | } | ||
1211 | static inline u32 gmmu_pte_kind_c64_ms8_ms16_2c_v(void) | ||
1212 | { | ||
1213 | return 0x000000f2U; | ||
1214 | } | ||
1215 | static inline u32 gmmu_pte_kind_c64_ms8_ms16_2cra_v(void) | ||
1216 | { | ||
1217 | return 0x000000f3U; | ||
1218 | } | ||
1219 | static inline u32 gmmu_pte_kind_c128_2c_v(void) | ||
1220 | { | ||
1221 | return 0x000000f4U; | ||
1222 | } | ||
1223 | static inline u32 gmmu_pte_kind_c128_2cr_v(void) | ||
1224 | { | ||
1225 | return 0x000000f5U; | ||
1226 | } | ||
1227 | static inline u32 gmmu_pte_kind_c128_ms2_2c_v(void) | ||
1228 | { | ||
1229 | return 0x000000f6U; | ||
1230 | } | ||
1231 | static inline u32 gmmu_pte_kind_c128_ms2_2cr_v(void) | ||
1232 | { | ||
1233 | return 0x000000f7U; | ||
1234 | } | ||
1235 | static inline u32 gmmu_pte_kind_c128_ms4_2c_v(void) | ||
1236 | { | ||
1237 | return 0x000000f8U; | ||
1238 | } | ||
1239 | static inline u32 gmmu_pte_kind_c128_ms4_2cr_v(void) | ||
1240 | { | ||
1241 | return 0x000000f9U; | ||
1242 | } | ||
1243 | static inline u32 gmmu_pte_kind_c128_ms8_ms16_2c_v(void) | ||
1244 | { | ||
1245 | return 0x000000faU; | ||
1246 | } | ||
1247 | static inline u32 gmmu_pte_kind_c128_ms8_ms16_2cr_v(void) | ||
1248 | { | ||
1249 | return 0x000000fbU; | ||
1250 | } | ||
1251 | static inline u32 gmmu_pte_kind_x8c24_v(void) | ||
1252 | { | ||
1253 | return 0x000000fcU; | ||
1254 | } | ||
1255 | static inline u32 gmmu_pte_kind_pitch_no_swizzle_v(void) | ||
1256 | { | ||
1257 | return 0x000000fdU; | ||
1258 | } | ||
1259 | static inline u32 gmmu_pte_kind_smsked_message_v(void) | ||
1260 | { | ||
1261 | return 0x000000caU; | ||
1262 | } | ||
1263 | static inline u32 gmmu_pte_kind_smhost_message_v(void) | ||
1264 | { | ||
1265 | return 0x000000cbU; | ||
1266 | } | ||
1267 | static inline u32 gmmu_pte_kind_s8_v(void) | ||
1268 | { | ||
1269 | return 0x0000002aU; | ||
1270 | } | ||
1271 | static inline u32 gmmu_pte_kind_s8_2s_v(void) | ||
1272 | { | ||
1273 | return 0x0000002bU; | ||
1274 | } | ||
1275 | #endif | ||