Marek Vasut | 436bd7a | 2019-06-14 01:25:01 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #if RCAR_QOS_TYPE == RCAR_QOS_TYPE_DEFAULT |
| 8 | static const mstat_slot_t mstat_fix[] = { |
| 9 | {0x0000U, 0x0000000000000000UL}, |
| 10 | {0x0008U, 0x0000000000000000UL}, |
| 11 | {0x0010U, 0x0000000000000000UL}, |
| 12 | {0x0018U, 0x0000000000000000UL}, |
| 13 | {0x0020U, 0x0000000000000000UL}, |
| 14 | {0x0028U, 0x0000000000000000UL}, |
| 15 | {0x0030U, 0x0000000000000000UL}, |
| 16 | {0x0038U, 0x0000000000000000UL}, |
| 17 | {0x0040U, 0x00140C050000FFFFUL}, |
| 18 | {0x0048U, 0x0000000000000000UL}, |
| 19 | {0x0050U, 0x0000000000000000UL}, |
| 20 | {0x0058U, 0x001404030000FFFFUL}, |
| 21 | {0x0060U, 0x001408060000FFFFUL}, |
| 22 | {0x0068U, 0x0000000000000000UL}, |
| 23 | {0x0070U, 0x0000000000000000UL}, |
| 24 | {0x0078U, 0x0000000000000000UL}, |
| 25 | {0x0080U, 0x0000000000000000UL}, |
| 26 | {0x0088U, 0x00140C050000FFFFUL}, |
| 27 | {0x0090U, 0x001408060000FFFFUL}, |
| 28 | {0x0098U, 0x001404020000FFFFUL}, |
| 29 | {0x00A0U, 0x0000000000000000UL}, |
| 30 | {0x00A8U, 0x0000000000000000UL}, |
| 31 | {0x00B0U, 0x0000000000000000UL}, |
| 32 | {0x00B8U, 0x0000000000000000UL}, |
| 33 | {0x00C0U, 0x0000000000000000UL}, |
| 34 | {0x00C8U, 0x0000000000000000UL}, |
| 35 | {0x00D0U, 0x0000000000000000UL}, |
| 36 | {0x00D8U, 0x0000000000000000UL}, |
| 37 | {0x00E0U, 0x0000000000000000UL}, |
| 38 | {0x00E8U, 0x0000000000000000UL}, |
| 39 | {0x00F0U, 0x0000000000000000UL}, |
| 40 | {0x00F8U, 0x0000000000000000UL}, |
| 41 | {0x0100U, 0x0000000000000000UL}, |
| 42 | {0x0108U, 0x0000000000000000UL}, |
| 43 | {0x0110U, 0x0000000000000000UL}, |
| 44 | {0x0118U, 0x0000000000000000UL}, |
| 45 | {0x0120U, 0x0000000000000000UL}, |
| 46 | {0x0128U, 0x0000000000000000UL}, |
| 47 | {0x0130U, 0x0000000000000000UL}, |
| 48 | {0x0138U, 0x001004020000FFFFUL}, |
| 49 | {0x0140U, 0x001004020000FFFFUL}, |
| 50 | {0x0148U, 0x001004020000FFFFUL}, |
| 51 | {0x0150U, 0x001008050000FFFFUL}, |
| 52 | {0x0158U, 0x001008050000FFFFUL}, |
| 53 | {0x0160U, 0x001008050000FFFFUL}, |
| 54 | {0x0168U, 0x001008050000FFFFUL}, |
| 55 | {0x0170U, 0x001008050000FFFFUL}, |
| 56 | {0x0178U, 0x001004030000FFFFUL}, |
| 57 | {0x0180U, 0x001004030000FFFFUL}, |
| 58 | {0x0188U, 0x001004030000FFFFUL}, |
| 59 | {0x0190U, 0x001014140000FFFFUL}, |
| 60 | {0x0198U, 0x001014140000FFFFUL}, |
| 61 | {0x01A0U, 0x001008060000FFFFUL}, |
| 62 | {0x01A8U, 0x001008060000FFFFUL}, |
| 63 | {0x01B0U, 0x001008060000FFFFUL}, |
| 64 | {0x01B8U, 0x0000000000000000UL}, |
| 65 | {0x01C0U, 0x0000000000000000UL}, |
| 66 | {0x01C8U, 0x0000000000000000UL}, |
| 67 | {0x01D0U, 0x0000000000000000UL}, |
| 68 | {0x01D8U, 0x0000000000000000UL}, |
| 69 | {0x01E0U, 0x0000000000000000UL}, |
| 70 | {0x01E8U, 0x0000000000000000UL}, |
| 71 | {0x01F0U, 0x0000000000000000UL}, |
| 72 | {0x01F8U, 0x0000000000000000UL}, |
| 73 | {0x0200U, 0x0000000000000000UL}, |
| 74 | {0x0208U, 0x0000000000000000UL}, |
| 75 | {0x0210U, 0x0000000000000000UL}, |
| 76 | {0x0218U, 0x0000000000000000UL}, |
| 77 | {0x0220U, 0x0000000000000000UL}, |
| 78 | {0x0228U, 0x0000000000000000UL}, |
| 79 | {0x0230U, 0x0000000000000000UL}, |
| 80 | {0x0238U, 0x0000000000000000UL}, |
| 81 | {0x0240U, 0x0000000000000000UL}, |
| 82 | {0x0248U, 0x0000000000000000UL}, |
| 83 | {0x0250U, 0x0000000000000000UL}, |
| 84 | {0x0258U, 0x0000000000000000UL}, |
| 85 | {0x0260U, 0x0000000000000000UL}, |
| 86 | {0x0268U, 0x0000000000000000UL}, |
| 87 | {0x0270U, 0x0000000000000000UL}, |
| 88 | {0x0278U, 0x0000000000000000UL}, |
| 89 | {0x0280U, 0x0000000000000000UL}, |
| 90 | {0x0288U, 0x0000000000000000UL}, |
| 91 | {0x0290U, 0x0000000000000000UL}, |
| 92 | {0x0298U, 0x0000000000000000UL}, |
| 93 | {0x02A0U, 0x0000000000000000UL}, |
| 94 | {0x02A8U, 0x0000000000000000UL}, |
| 95 | {0x02B0U, 0x0000000000000000UL}, |
| 96 | {0x02B8U, 0x0000000000000000UL}, |
| 97 | {0x02C0U, 0x0000000000000000UL}, |
| 98 | {0x02C8U, 0x0000000000000000UL}, |
| 99 | {0x02D0U, 0x0000000000000000UL}, |
| 100 | {0x02D8U, 0x0000000000000000UL}, |
| 101 | {0x02E0U, 0x0000000000000000UL}, |
| 102 | {0x02E8U, 0x0000000000000000UL}, |
| 103 | {0x02F0U, 0x0000000000000000UL}, |
| 104 | {0x02F8U, 0x0000000000000000UL}, |
| 105 | {0x0300U, 0x0000000000000000UL}, |
| 106 | {0x0308U, 0x0000000000000000UL}, |
| 107 | {0x0310U, 0x0000000000000000UL}, |
| 108 | {0x0318U, 0x0000000000000000UL}, |
| 109 | {0x0320U, 0x0000000000000000UL}, |
| 110 | {0x0328U, 0x0000000000000000UL}, |
| 111 | {0x0330U, 0x0000000000000000UL}, |
| 112 | {0x0338U, 0x0000000000000000UL}, |
| 113 | }; |
| 114 | |
| 115 | static const mstat_slot_t mstat_be[] = { |
| 116 | {0x0000U, 0x001000100C8FFC01UL}, |
| 117 | {0x0008U, 0x001000100C8FFC01UL}, |
| 118 | {0x0010U, 0x001000100C8FFC01UL}, |
| 119 | {0x0018U, 0x001000100C8FFC01UL}, |
| 120 | {0x0020U, 0x001000100C8FFC01UL}, |
| 121 | {0x0028U, 0x001000100C8FFC01UL}, |
| 122 | {0x0030U, 0x001000100C8FFC01UL}, |
| 123 | {0x0038U, 0x001000100C8FFC01UL}, |
| 124 | {0x0040U, 0x0000000000000000UL}, |
| 125 | {0x0048U, 0x0000000000000000UL}, |
| 126 | {0x0050U, 0x001000100C8FFC01UL}, |
| 127 | {0x0058U, 0x0000000000000000UL}, |
| 128 | {0x0060U, 0x0000000000000000UL}, |
| 129 | {0x0068U, 0x001000100C8FFC01UL}, |
| 130 | {0x0070U, 0x001000100C8FFC01UL}, |
| 131 | {0x0078U, 0x001000100C8FFC01UL}, |
| 132 | {0x0080U, 0x001000100C8FFC01UL}, |
| 133 | {0x0088U, 0x0000000000000000UL}, |
| 134 | {0x0090U, 0x0000000000000000UL}, |
| 135 | {0x0098U, 0x0000000000000000UL}, |
| 136 | {0x00A0U, 0x001000100C8FFC01UL}, |
| 137 | {0x00A8U, 0x001000100C8FFC01UL}, |
| 138 | {0x00B0U, 0x001000100C8FFC01UL}, |
| 139 | {0x00B8U, 0x001000100C8FFC01UL}, |
| 140 | {0x00C0U, 0x001000100C8FFC01UL}, |
| 141 | {0x00C8U, 0x001000100C8FFC01UL}, |
| 142 | {0x00D0U, 0x001000100C8FFC01UL}, |
| 143 | {0x00D8U, 0x002000200C8FFC01UL}, |
| 144 | {0x00E0U, 0x002000200C8FFC01UL}, |
| 145 | {0x00E8U, 0x001000100C8FFC01UL}, |
| 146 | {0x00F0U, 0x001000100C8FFC01UL}, |
| 147 | {0x00F8U, 0x001000100C8FFC01UL}, |
| 148 | {0x0100U, 0x0000000000000000UL}, |
| 149 | {0x0108U, 0x002000200C8FFC01UL}, |
| 150 | {0x0110U, 0x001000100C8FFC01UL}, |
| 151 | {0x0118U, 0x001000100C8FFC01UL}, |
| 152 | {0x0120U, 0x0000000000000000UL}, |
| 153 | {0x0128U, 0x002000200C8FFC01UL}, |
| 154 | {0x0130U, 0x001000100C8FFC01UL}, |
| 155 | {0x0138U, 0x0000000000000000UL}, |
| 156 | {0x0140U, 0x0000000000000000UL}, |
| 157 | {0x0148U, 0x0000000000000000UL}, |
| 158 | {0x0150U, 0x0000000000000000UL}, |
| 159 | {0x0158U, 0x0000000000000000UL}, |
| 160 | {0x0160U, 0x0000000000000000UL}, |
| 161 | {0x0168U, 0x0000000000000000UL}, |
| 162 | {0x0170U, 0x0000000000000000UL}, |
| 163 | {0x0178U, 0x0000000000000000UL}, |
| 164 | {0x0180U, 0x0000000000000000UL}, |
| 165 | {0x0188U, 0x0000000000000000UL}, |
| 166 | {0x0190U, 0x0000000000000000UL}, |
| 167 | {0x0198U, 0x0000000000000000UL}, |
| 168 | {0x01A0U, 0x0000000000000000UL}, |
| 169 | {0x01A8U, 0x0000000000000000UL}, |
| 170 | {0x01B0U, 0x0000000000000000UL}, |
| 171 | {0x01B8U, 0x001000100C8FFC01UL}, |
| 172 | {0x01C0U, 0x001000200C8FFC01UL}, |
| 173 | {0x01C8U, 0x001000200C8FFC01UL}, |
| 174 | {0x01D0U, 0x001000200C8FFC01UL}, |
| 175 | {0x01D8U, 0x001000200C8FFC01UL}, |
| 176 | {0x01E0U, 0x001000100C8FFC01UL}, |
| 177 | {0x01E8U, 0x001000100C8FFC01UL}, |
| 178 | {0x01F0U, 0x001000100C8FFC01UL}, |
| 179 | {0x01F8U, 0x001000100C8FFC01UL}, |
| 180 | {0x0200U, 0x001000100C8FFC01UL}, |
| 181 | {0x0208U, 0x001000100C8FFC01UL}, |
| 182 | {0x0210U, 0x001000100C8FFC01UL}, |
| 183 | {0x0218U, 0x001000100C8FFC01UL}, |
| 184 | {0x0220U, 0x001000100C8FFC01UL}, |
| 185 | {0x0228U, 0x001000100C8FFC01UL}, |
| 186 | {0x0230U, 0x001000100C8FFC01UL}, |
| 187 | {0x0238U, 0x001000100C8FFC01UL}, |
| 188 | {0x0240U, 0x001000100C8FFC01UL}, |
| 189 | {0x0248U, 0x001000100C8FFC01UL}, |
| 190 | {0x0250U, 0x001000100C8FFC01UL}, |
| 191 | {0x0258U, 0x001000100C8FFC01UL}, |
| 192 | {0x0260U, 0x001000100C8FFC01UL}, |
| 193 | {0x0268U, 0x001000100C8FFC01UL}, |
| 194 | {0x0270U, 0x001000100C8FFC01UL}, |
| 195 | {0x0278U, 0x001000100C8FFC01UL}, |
| 196 | {0x0280U, 0x001000100C8FFC01UL}, |
| 197 | {0x0288U, 0x001000100C8FFC01UL}, |
| 198 | {0x0290U, 0x001000100C8FFC01UL}, |
| 199 | {0x0298U, 0x001000100C8FFC01UL}, |
| 200 | {0x02A0U, 0x001000100C8FFC01UL}, |
| 201 | {0x02A8U, 0x001000100C8FFC01UL}, |
| 202 | {0x02B0U, 0x001000100C8FFC01UL}, |
| 203 | {0x02B8U, 0x001000100C8FFC01UL}, |
| 204 | {0x02C0U, 0x001000100C8FFC01UL}, |
| 205 | {0x02C8U, 0x001000100C8FFC01UL}, |
| 206 | {0x02D0U, 0x001000100C8FFC01UL}, |
| 207 | {0x02D8U, 0x001000100C8FFC01UL}, |
| 208 | {0x02E0U, 0x001000100C8FFC01UL}, |
| 209 | {0x02E8U, 0x001000100C8FFC01UL}, |
| 210 | {0x02F0U, 0x001000200C8FFC01UL}, |
| 211 | {0x02F8U, 0x001000300C8FFC01UL}, |
| 212 | {0x0300U, 0x0000000000000000UL}, |
| 213 | {0x0308U, 0x001000200C8FFC01UL}, |
| 214 | {0x0310U, 0x001000300C8FFC01UL}, |
| 215 | {0x0318U, 0x0000000000000000UL}, |
| 216 | {0x0320U, 0x001000200C8FFC01UL}, |
| 217 | {0x0328U, 0x001000300C8FFC01UL}, |
| 218 | {0x0330U, 0x001000200C8FFC01UL}, |
| 219 | {0x0338U, 0x001000300C8FFC01UL}, |
| 220 | }; |
| 221 | #endif |
| 222 | |
| 223 | |