1 /* 2 * Copyright (c) 2015-2019, Renesas Electronics Corporation 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #if RCAR_QOS_TYPE == RCAR_QOS_TYPE_DEFAULT 9 static const uint64_t mstat_fix[] = { 10 /* 0x0000, */ 0x000000000000FFFFUL, 11 /* 0x0008, */ 0x000000000000FFFFUL, 12 /* 0x0010, */ 0x000000000000FFFFUL, 13 /* 0x0018, */ 0x000000000000FFFFUL, 14 /* 0x0020, */ 0x001414090000FFFFUL, 15 /* 0x0028, */ 0x000C00000000FFFFUL, 16 /* 0x0030, */ 0x001008040000FFFFUL, 17 /* 0x0038, */ 0x001004040000FFFFUL, 18 /* 0x0040, */ 0x001004040000FFFFUL, 19 /* 0x0048, */ 0x000000000000FFFFUL, 20 /* 0x0050, */ 0x001004040000FFFFUL, 21 /* 0x0058, */ 0x001004040000FFFFUL, 22 /* 0x0060, */ 0x000000000000FFFFUL, 23 /* 0x0068, */ 0x001404040000FFFFUL, 24 /* 0x0070, */ 0x001008030000FFFFUL, 25 /* 0x0078, */ 0x001004030000FFFFUL, 26 /* 0x0080, */ 0x001004030000FFFFUL, 27 /* 0x0088, */ 0x000000000000FFFFUL, 28 /* 0x0090, */ 0x001004040000FFFFUL, 29 /* 0x0098, */ 0x001004040000FFFFUL, 30 /* 0x00A0, */ 0x000000000000FFFFUL, 31 /* 0x00A8, */ 0x000000000000FFFFUL, 32 /* 0x00B0, */ 0x000000000000FFFFUL, 33 /* 0x00B8, */ 0x000000000000FFFFUL, 34 /* 0x00C0, */ 0x000000000000FFFFUL, 35 /* 0x00C8, */ 0x000000000000FFFFUL, 36 /* 0x00D0, */ 0x000000000000FFFFUL, 37 /* 0x00D8, */ 0x000000000000FFFFUL, 38 /* 0x00E0, */ 0x001404020000FFFFUL, 39 /* 0x00E8, */ 0x000000000000FFFFUL, 40 /* 0x00F0, */ 0x000000000000FFFFUL, 41 /* 0x00F8, */ 0x000000000000FFFFUL, 42 /* 0x0100, */ 0x000000000000FFFFUL, 43 /* 0x0108, */ 0x000C04020000FFFFUL, 44 /* 0x0110, */ 0x000000000000FFFFUL, 45 /* 0x0118, */ 0x001404020000FFFFUL, 46 /* 0x0120, */ 0x000000000000FFFFUL, 47 /* 0x0128, */ 0x000000000000FFFFUL, 48 /* 0x0130, */ 0x000000000000FFFFUL, 49 /* 0x0138, */ 0x000000000000FFFFUL, 50 /* 0x0140, */ 0x000000000000FFFFUL, 51 /* 0x0148, */ 0x000000000000FFFFUL, 52 }; 53 54 static const uint64_t mstat_be[] = { 55 /* 0x0000, */ 0x00100020447FFC01UL, 56 /* 0x0008, */ 0x00100020447FFC01UL, 57 /* 0x0010, */ 0x00100040447FFC01UL, 58 /* 0x0018, */ 0x00100040447FFC01UL, 59 /* 0x0020, */ 0x0000000000000000UL, 60 /* 0x0028, */ 0x0000000000000000UL, 61 /* 0x0030, */ 0x0000000000000000UL, 62 /* 0x0038, */ 0x0000000000000000UL, 63 /* 0x0040, */ 0x0000000000000000UL, 64 /* 0x0048, */ 0x0000000000000000UL, 65 /* 0x0050, */ 0x0000000000000000UL, 66 /* 0x0058, */ 0x0000000000000000UL, 67 /* 0x0060, */ 0x0000000000000000UL, 68 /* 0x0068, */ 0x0000000000000000UL, 69 /* 0x0070, */ 0x0000000000000000UL, 70 /* 0x0078, */ 0x0000000000000000UL, 71 /* 0x0080, */ 0x0000000000000000UL, 72 /* 0x0088, */ 0x0000000000000000UL, 73 /* 0x0090, */ 0x0000000000000000UL, 74 /* 0x0098, */ 0x0000000000000000UL, 75 /* 0x00A0, */ 0x00100010447FFC01UL, 76 /* 0x00A8, */ 0x00100010447FFC01UL, 77 /* 0x00B0, */ 0x00100010447FFC01UL, 78 /* 0x00B8, */ 0x00100010447FFC01UL, 79 /* 0x00C0, */ 0x00100010447FFC01UL, 80 /* 0x00C8, */ 0x00100010447FFC01UL, 81 /* 0x00D0, */ 0x0000000000000000UL, 82 /* 0x00D8, */ 0x00100010447FFC01UL, 83 /* 0x00E0, */ 0x0000000000000000UL, 84 /* 0x00E8, */ 0x00100010447FFC01UL, 85 /* 0x00F0, */ 0x00100010447FFC01UL, 86 /* 0x00F8, */ 0x00100010447FFC01UL, 87 /* 0x0100, */ 0x00100010447FFC01UL, 88 /* 0x0108, */ 0x0000000000000000UL, 89 /* 0x0110, */ 0x00100010447FFC01UL, 90 /* 0x0118, */ 0x0000000000000000UL, 91 /* 0x0120, */ 0x00100010447FFC01UL, 92 /* 0x0128, */ 0x00100010447FFC01UL, 93 /* 0x0130, */ 0x00100010447FFC01UL, 94 /* 0x0138, */ 0x00100010447FFC01UL, 95 /* 0x0140, */ 0x00100020447FFC01UL, 96 /* 0x0148, */ 0x00100020447FFC01UL, 97 }; 98 #endif 99