#define RCAR_QOS_VERSION "rev.0.05"
-#if RCAR_QOS_TYPE == RCAR_QOS_TYPE_DEFAULT
-static const mstat_slot_t mstat_fix[] = {
- {0x0000U, 0x0000000000000000U},
- {0x0008U, 0x0000000000000000U},
- {0x0010U, 0x0000000000000000U},
- {0x0018U, 0x0000000000000000U},
- {0x0020U, 0x0000000000000000U},
- {0x0028U, 0x0000000000000000U},
- {0x0030U, 0x001004340000FFFFU},
- {0x0038U, 0x001004140000FFFFU},
- {0x0040U, 0x0000000000000000U},
- {0x0048U, 0x0000000000000000U},
- {0x0050U, 0x0000000000000000U},
- {0x0058U, 0x00140B030000FFFFU},
- {0x0060U, 0x001408610000FFFFU},
- {0x0068U, 0x0000000000000000U},
- {0x0070U, 0x0000000000000000U},
- {0x0078U, 0x0000000000000000U},
- {0x0080U, 0x0000000000000000U},
- {0x0088U, 0x001410620000FFFFU},
- {0x0090U, 0x0000000000000000U},
- {0x0098U, 0x0000000000000000U},
- {0x00A0U, 0x000C041C0000FFFFU},
- {0x00A8U, 0x000C04090000FFFFU},
- {0x00B0U, 0x000C04110000FFFFU},
- {0x00B8U, 0x0000000000000000U},
- {0x00C0U, 0x000C041C0000FFFFU},
- {0x00C8U, 0x000C04090000FFFFU},
- {0x00D0U, 0x000C04110000FFFFU},
- {0x00D8U, 0x0000000000000000U},
- {0x00E0U, 0x0000000000000000U},
- {0x00E8U, 0x0000000000000000U},
- {0x00F0U, 0x001018570000FFFFU},
- {0x00F8U, 0x0000000000000000U},
- {0x0100U, 0x0000000000000000U},
- {0x0108U, 0x0000000000000000U},
- {0x0110U, 0x001008570000FFFFU},
- {0x0118U, 0x0000000000000000U},
- {0x0120U, 0x0000000000000000U},
- {0x0128U, 0x0000000000000000U},
- {0x0130U, 0x0000000000000000U},
- {0x0138U, 0x0000000000000000U},
- {0x0140U, 0x0000000000000000U},
- {0x0148U, 0x0000000000000000U},
- {0x0150U, 0x001008520000FFFFU},
- {0x0158U, 0x0000000000000000U},
- {0x0160U, 0x0000000000000000U},
- {0x0168U, 0x0000000000000000U},
- {0x0170U, 0x0000000000000000U},
- {0x0178U, 0x0000000000000000U},
- {0x0180U, 0x0000000000000000U},
- {0x0188U, 0x0000000000000000U},
- {0x0190U, 0x00100CA30000FFFFU},
- {0x0198U, 0x0000000000000000U},
- {0x01A0U, 0x0000000000000000U},
- {0x01A8U, 0x0000000000000000U},
- {0x01B0U, 0x0000000000000000U},
- {0x01B8U, 0x0000000000000000U},
- {0x01C0U, 0x0000000000000000U},
- {0x01C8U, 0x0000000000000000U},
- {0x01D0U, 0x0000000000000000U},
- {0x01D8U, 0x0000000000000000U},
- {0x01E0U, 0x0000000000000000U},
- {0x01E8U, 0x000C04020000FFFFU},
- {0x01F0U, 0x0000000000000000U},
- {0x01F8U, 0x0000000000000000U},
- {0x0200U, 0x0000000000000000U},
- {0x0208U, 0x000C04090000FFFFU},
- {0x0210U, 0x0000000000000000U},
- {0x0218U, 0x0000000000000000U},
- {0x0220U, 0x0000000000000000U},
- {0x0228U, 0x0000000000000000U},
- {0x0230U, 0x0000000000000000U},
- {0x0238U, 0x0000000000000000U},
- {0x0240U, 0x0000000000000000U},
- {0x0248U, 0x0000000000000000U},
- {0x0250U, 0x0000000000000000U},
- {0x0258U, 0x0000000000000000U},
- {0x0260U, 0x0000000000000000U},
- {0x0268U, 0x001410040000FFFFU},
- {0x0270U, 0x001404020000FFFFU},
- {0x0278U, 0x0000000000000000U},
- {0x0280U, 0x0000000000000000U},
- {0x0288U, 0x0000000000000000U},
- {0x0290U, 0x001410040000FFFFU},
- {0x0298U, 0x001404020000FFFFU},
- {0x02A0U, 0x000C04050000FFFFU},
- {0x02A8U, 0x000C04050000FFFFU},
- {0x02B0U, 0x0000000000000000U},
- {0x02B8U, 0x0000000000000000U},
- {0x02C0U, 0x0000000000000000U},
- {0x02C8U, 0x0000000000000000U},
- {0x02D0U, 0x000C04050000FFFFU},
- {0x02D8U, 0x000C04050000FFFFU},
- {0x02E0U, 0x0000000000000000U},
- {0x02E8U, 0x0000000000000000U},
- {0x02F0U, 0x0000000000000000U},
- {0x02F8U, 0x0000000000000000U},
- {0x0300U, 0x0000000000000000U},
- {0x0308U, 0x0000000000000000U},
- {0x0310U, 0x0000000000000000U},
- {0x0318U, 0x0000000000000000U},
- {0x0320U, 0x0000000000000000U},
- {0x0328U, 0x0000000000000000U},
- {0x0330U, 0x0000000000000000U},
- {0x0338U, 0x0000000000000000U},
- {0x0340U, 0x0000000000000000U},
- {0x0348U, 0x0000000000000000U},
- {0x0350U, 0x0000000000000000U},
- {0x0358U, 0x0000000000000000U},
- {0x0360U, 0x0000000000000000U},
- {0x0368U, 0x0000000000000000U},
- {0x0370U, 0x000C04020000FFFFU},
- {0x0378U, 0x000C04020000FFFFU},
- {0x0380U, 0x000C04090000FFFFU},
- {0x0388U, 0x000C04090000FFFFU},
- {0x0390U, 0x0000000000000000U},
-};
-
-static const mstat_slot_t mstat_be[] = {
- {0x0000U, 0x0000000000000000U},
- {0x0008U, 0x0000000000000000U},
- {0x0010U, 0x0000000000000000U},
- {0x0018U, 0x0000000000000000U},
- {0x0020U, 0x0000000000000000U},
- {0x0028U, 0x0000000000000000U},
- {0x0030U, 0x0000000000000000U},
- {0x0038U, 0x0000000000000000U},
- {0x0040U, 0x0000000000000000U},
- {0x0048U, 0x0000000000000000U},
- {0x0050U, 0x0000000000000000U},
- {0x0058U, 0x0000000000000000U},
- {0x0060U, 0x0000000000000000U},
- {0x0068U, 0x0000000000000000U},
- {0x0070U, 0x0000000000000000U},
- {0x0078U, 0x0000000000000000U},
- {0x0080U, 0x0000000000000000U},
- {0x0088U, 0x0000000000000000U},
- {0x0090U, 0x0000000000000000U},
- {0x0098U, 0x0000000000000000U},
- {0x00A0U, 0x0000000000000000U},
- {0x00A8U, 0x0000000000000000U},
- {0x00B0U, 0x0000000000000000U},
- {0x00B8U, 0x0000000000000000U},
- {0x00C0U, 0x0000000000000000U},
- {0x00C8U, 0x0000000000000000U},
- {0x00D0U, 0x0000000000000000U},
- {0x00D8U, 0x0000000000000000U},
- {0x00E0U, 0x0000000000000000U},
- {0x00E8U, 0x0000000000000000U},
- {0x00F0U, 0x0000000000000000U},
- {0x00F8U, 0x0000000000000000U},
- {0x0100U, 0x0000000000000000U},
- {0x0108U, 0x0000000000000000U},
- {0x0110U, 0x0000000000000000U},
- {0x0118U, 0x0000000000000000U},
- {0x0120U, 0x0000000000000000U},
- {0x0128U, 0x0000000000000000U},
- {0x0130U, 0x0000000000000000U},
- {0x0138U, 0x0000000000000000U},
- {0x0140U, 0x0000000000000000U},
- {0x0148U, 0x0000000000000000U},
- {0x0150U, 0x0000000000000000U},
- {0x0158U, 0x0000000000000000U},
- {0x0160U, 0x0000000000000000U},
- {0x0168U, 0x0000000000000000U},
- {0x0170U, 0x0000000000000000U},
- {0x0178U, 0x0000000000000000U},
- {0x0180U, 0x0000000000000000U},
- {0x0188U, 0x0000000000000000U},
- {0x0190U, 0x0000000000000000U},
- {0x0198U, 0x0000000000000000U},
- {0x01A0U, 0x0000000000000000U},
- {0x01A8U, 0x0000000000000000U},
- {0x01B0U, 0x0000000000000000U},
- {0x01B8U, 0x0000000000000000U},
- {0x01C0U, 0x00110090060FA001U},
- {0x01C8U, 0x00110090060FA001U},
- {0x01D0U, 0x0000000000000000U},
- {0x01D8U, 0x0000000000000000U},
- {0x01E0U, 0x0000000000000000U},
- {0x01E8U, 0x0000000000000000U},
- {0x01F0U, 0x0011001006004401U},
- {0x01F8U, 0x0000000000000000U},
- {0x0200U, 0x0000000000000000U},
- {0x0208U, 0x0000000000000000U},
- {0x0210U, 0x0011001006004401U},
- {0x0218U, 0x0011001006009801U},
- {0x0220U, 0x0011001006009801U},
- {0x0228U, 0x0000000000000000U},
- {0x0230U, 0x0011001006009801U},
- {0x0238U, 0x0011001006009801U},
- {0x0240U, 0x0000000000000000U},
- {0x0248U, 0x0000000000000000U},
- {0x0250U, 0x0000000000000000U},
- {0x0258U, 0x0000000000000000U},
- {0x0260U, 0x0000000000000000U},
- {0x0268U, 0x0000000000000000U},
- {0x0270U, 0x0000000000000000U},
- {0x0278U, 0x0000000000000000U},
- {0x0280U, 0x0000000000000000U},
- {0x0288U, 0x0000000000000000U},
- {0x0290U, 0x0000000000000000U},
- {0x0298U, 0x0000000000000000U},
- {0x02A0U, 0x0000000000000000U},
- {0x02A8U, 0x0000000000000000U},
- {0x02B0U, 0x0000000000000000U},
- {0x02B8U, 0x0011001006003401U},
- {0x02C0U, 0x0000000000000000U},
- {0x02C8U, 0x0000000000000000U},
- {0x02D0U, 0x0000000000000000U},
- {0x02D8U, 0x0000000000000000U},
- {0x02E0U, 0x0000000000000000U},
- {0x02E8U, 0x0011001006003401U},
- {0x02F0U, 0x00110090060FA001U},
- {0x02F8U, 0x00110090060FA001U},
- {0x0300U, 0x0000000000000000U},
- {0x0308U, 0x0000000000000000U},
- {0x0310U, 0x0000000000000000U},
- {0x0318U, 0x0012001006003401U},
- {0x0320U, 0x0000000000000000U},
- {0x0328U, 0x0000000000000000U},
- {0x0330U, 0x0000000000000000U},
- {0x0338U, 0x0000000000000000U},
- {0x0340U, 0x0000000000000000U},
- {0x0348U, 0x0000000000000000U},
- {0x0350U, 0x0000000000000000U},
- {0x0358U, 0x00120090060FA001U},
- {0x0360U, 0x00120090060FA001U},
- {0x0368U, 0x0012001006003401U},
- {0x0370U, 0x0000000000000000U},
- {0x0378U, 0x0000000000000000U},
- {0x0380U, 0x0000000000000000U},
- {0x0388U, 0x0000000000000000U},
- {0x0390U, 0x0012001006003401U},
-};
-#endif
+#include "qos_init_d3_mstat.h"
static void dbsc_setting(void)
{
--- /dev/null
+/*
+ * Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#if RCAR_QOS_TYPE == RCAR_QOS_TYPE_DEFAULT
+static const mstat_slot_t mstat_fix[] = {
+ {0x0000U, 0x0000000000000000U},
+ {0x0008U, 0x0000000000000000U},
+ {0x0010U, 0x0000000000000000U},
+ {0x0018U, 0x0000000000000000U},
+ {0x0020U, 0x0000000000000000U},
+ {0x0028U, 0x0000000000000000U},
+ {0x0030U, 0x001004340000FFFFU},
+ {0x0038U, 0x001004140000FFFFU},
+ {0x0040U, 0x0000000000000000U},
+ {0x0048U, 0x0000000000000000U},
+ {0x0050U, 0x0000000000000000U},
+ {0x0058U, 0x00140B030000FFFFU},
+ {0x0060U, 0x001408610000FFFFU},
+ {0x0068U, 0x0000000000000000U},
+ {0x0070U, 0x0000000000000000U},
+ {0x0078U, 0x0000000000000000U},
+ {0x0080U, 0x0000000000000000U},
+ {0x0088U, 0x001410620000FFFFU},
+ {0x0090U, 0x0000000000000000U},
+ {0x0098U, 0x0000000000000000U},
+ {0x00A0U, 0x000C041C0000FFFFU},
+ {0x00A8U, 0x000C04090000FFFFU},
+ {0x00B0U, 0x000C04110000FFFFU},
+ {0x00B8U, 0x0000000000000000U},
+ {0x00C0U, 0x000C041C0000FFFFU},
+ {0x00C8U, 0x000C04090000FFFFU},
+ {0x00D0U, 0x000C04110000FFFFU},
+ {0x00D8U, 0x0000000000000000U},
+ {0x00E0U, 0x0000000000000000U},
+ {0x00E8U, 0x0000000000000000U},
+ {0x00F0U, 0x001018570000FFFFU},
+ {0x00F8U, 0x0000000000000000U},
+ {0x0100U, 0x0000000000000000U},
+ {0x0108U, 0x0000000000000000U},
+ {0x0110U, 0x001008570000FFFFU},
+ {0x0118U, 0x0000000000000000U},
+ {0x0120U, 0x0000000000000000U},
+ {0x0128U, 0x0000000000000000U},
+ {0x0130U, 0x0000000000000000U},
+ {0x0138U, 0x0000000000000000U},
+ {0x0140U, 0x0000000000000000U},
+ {0x0148U, 0x0000000000000000U},
+ {0x0150U, 0x001008520000FFFFU},
+ {0x0158U, 0x0000000000000000U},
+ {0x0160U, 0x0000000000000000U},
+ {0x0168U, 0x0000000000000000U},
+ {0x0170U, 0x0000000000000000U},
+ {0x0178U, 0x0000000000000000U},
+ {0x0180U, 0x0000000000000000U},
+ {0x0188U, 0x0000000000000000U},
+ {0x0190U, 0x00100CA30000FFFFU},
+ {0x0198U, 0x0000000000000000U},
+ {0x01A0U, 0x0000000000000000U},
+ {0x01A8U, 0x0000000000000000U},
+ {0x01B0U, 0x0000000000000000U},
+ {0x01B8U, 0x0000000000000000U},
+ {0x01C0U, 0x0000000000000000U},
+ {0x01C8U, 0x0000000000000000U},
+ {0x01D0U, 0x0000000000000000U},
+ {0x01D8U, 0x0000000000000000U},
+ {0x01E0U, 0x0000000000000000U},
+ {0x01E8U, 0x000C04020000FFFFU},
+ {0x01F0U, 0x0000000000000000U},
+ {0x01F8U, 0x0000000000000000U},
+ {0x0200U, 0x0000000000000000U},
+ {0x0208U, 0x000C04090000FFFFU},
+ {0x0210U, 0x0000000000000000U},
+ {0x0218U, 0x0000000000000000U},
+ {0x0220U, 0x0000000000000000U},
+ {0x0228U, 0x0000000000000000U},
+ {0x0230U, 0x0000000000000000U},
+ {0x0238U, 0x0000000000000000U},
+ {0x0240U, 0x0000000000000000U},
+ {0x0248U, 0x0000000000000000U},
+ {0x0250U, 0x0000000000000000U},
+ {0x0258U, 0x0000000000000000U},
+ {0x0260U, 0x0000000000000000U},
+ {0x0268U, 0x001410040000FFFFU},
+ {0x0270U, 0x001404020000FFFFU},
+ {0x0278U, 0x0000000000000000U},
+ {0x0280U, 0x0000000000000000U},
+ {0x0288U, 0x0000000000000000U},
+ {0x0290U, 0x001410040000FFFFU},
+ {0x0298U, 0x001404020000FFFFU},
+ {0x02A0U, 0x000C04050000FFFFU},
+ {0x02A8U, 0x000C04050000FFFFU},
+ {0x02B0U, 0x0000000000000000U},
+ {0x02B8U, 0x0000000000000000U},
+ {0x02C0U, 0x0000000000000000U},
+ {0x02C8U, 0x0000000000000000U},
+ {0x02D0U, 0x000C04050000FFFFU},
+ {0x02D8U, 0x000C04050000FFFFU},
+ {0x02E0U, 0x0000000000000000U},
+ {0x02E8U, 0x0000000000000000U},
+ {0x02F0U, 0x0000000000000000U},
+ {0x02F8U, 0x0000000000000000U},
+ {0x0300U, 0x0000000000000000U},
+ {0x0308U, 0x0000000000000000U},
+ {0x0310U, 0x0000000000000000U},
+ {0x0318U, 0x0000000000000000U},
+ {0x0320U, 0x0000000000000000U},
+ {0x0328U, 0x0000000000000000U},
+ {0x0330U, 0x0000000000000000U},
+ {0x0338U, 0x0000000000000000U},
+ {0x0340U, 0x0000000000000000U},
+ {0x0348U, 0x0000000000000000U},
+ {0x0350U, 0x0000000000000000U},
+ {0x0358U, 0x0000000000000000U},
+ {0x0360U, 0x0000000000000000U},
+ {0x0368U, 0x0000000000000000U},
+ {0x0370U, 0x000C04020000FFFFU},
+ {0x0378U, 0x000C04020000FFFFU},
+ {0x0380U, 0x000C04090000FFFFU},
+ {0x0388U, 0x000C04090000FFFFU},
+ {0x0390U, 0x0000000000000000U},
+};
+
+static const mstat_slot_t mstat_be[] = {
+ {0x0000U, 0x0000000000000000U},
+ {0x0008U, 0x0000000000000000U},
+ {0x0010U, 0x0000000000000000U},
+ {0x0018U, 0x0000000000000000U},
+ {0x0020U, 0x0000000000000000U},
+ {0x0028U, 0x0000000000000000U},
+ {0x0030U, 0x0000000000000000U},
+ {0x0038U, 0x0000000000000000U},
+ {0x0040U, 0x0000000000000000U},
+ {0x0048U, 0x0000000000000000U},
+ {0x0050U, 0x0000000000000000U},
+ {0x0058U, 0x0000000000000000U},
+ {0x0060U, 0x0000000000000000U},
+ {0x0068U, 0x0000000000000000U},
+ {0x0070U, 0x0000000000000000U},
+ {0x0078U, 0x0000000000000000U},
+ {0x0080U, 0x0000000000000000U},
+ {0x0088U, 0x0000000000000000U},
+ {0x0090U, 0x0000000000000000U},
+ {0x0098U, 0x0000000000000000U},
+ {0x00A0U, 0x0000000000000000U},
+ {0x00A8U, 0x0000000000000000U},
+ {0x00B0U, 0x0000000000000000U},
+ {0x00B8U, 0x0000000000000000U},
+ {0x00C0U, 0x0000000000000000U},
+ {0x00C8U, 0x0000000000000000U},
+ {0x00D0U, 0x0000000000000000U},
+ {0x00D8U, 0x0000000000000000U},
+ {0x00E0U, 0x0000000000000000U},
+ {0x00E8U, 0x0000000000000000U},
+ {0x00F0U, 0x0000000000000000U},
+ {0x00F8U, 0x0000000000000000U},
+ {0x0100U, 0x0000000000000000U},
+ {0x0108U, 0x0000000000000000U},
+ {0x0110U, 0x0000000000000000U},
+ {0x0118U, 0x0000000000000000U},
+ {0x0120U, 0x0000000000000000U},
+ {0x0128U, 0x0000000000000000U},
+ {0x0130U, 0x0000000000000000U},
+ {0x0138U, 0x0000000000000000U},
+ {0x0140U, 0x0000000000000000U},
+ {0x0148U, 0x0000000000000000U},
+ {0x0150U, 0x0000000000000000U},
+ {0x0158U, 0x0000000000000000U},
+ {0x0160U, 0x0000000000000000U},
+ {0x0168U, 0x0000000000000000U},
+ {0x0170U, 0x0000000000000000U},
+ {0x0178U, 0x0000000000000000U},
+ {0x0180U, 0x0000000000000000U},
+ {0x0188U, 0x0000000000000000U},
+ {0x0190U, 0x0000000000000000U},
+ {0x0198U, 0x0000000000000000U},
+ {0x01A0U, 0x0000000000000000U},
+ {0x01A8U, 0x0000000000000000U},
+ {0x01B0U, 0x0000000000000000U},
+ {0x01B8U, 0x0000000000000000U},
+ {0x01C0U, 0x00110090060FA001U},
+ {0x01C8U, 0x00110090060FA001U},
+ {0x01D0U, 0x0000000000000000U},
+ {0x01D8U, 0x0000000000000000U},
+ {0x01E0U, 0x0000000000000000U},
+ {0x01E8U, 0x0000000000000000U},
+ {0x01F0U, 0x0011001006004401U},
+ {0x01F8U, 0x0000000000000000U},
+ {0x0200U, 0x0000000000000000U},
+ {0x0208U, 0x0000000000000000U},
+ {0x0210U, 0x0011001006004401U},
+ {0x0218U, 0x0011001006009801U},
+ {0x0220U, 0x0011001006009801U},
+ {0x0228U, 0x0000000000000000U},
+ {0x0230U, 0x0011001006009801U},
+ {0x0238U, 0x0011001006009801U},
+ {0x0240U, 0x0000000000000000U},
+ {0x0248U, 0x0000000000000000U},
+ {0x0250U, 0x0000000000000000U},
+ {0x0258U, 0x0000000000000000U},
+ {0x0260U, 0x0000000000000000U},
+ {0x0268U, 0x0000000000000000U},
+ {0x0270U, 0x0000000000000000U},
+ {0x0278U, 0x0000000000000000U},
+ {0x0280U, 0x0000000000000000U},
+ {0x0288U, 0x0000000000000000U},
+ {0x0290U, 0x0000000000000000U},
+ {0x0298U, 0x0000000000000000U},
+ {0x02A0U, 0x0000000000000000U},
+ {0x02A8U, 0x0000000000000000U},
+ {0x02B0U, 0x0000000000000000U},
+ {0x02B8U, 0x0011001006003401U},
+ {0x02C0U, 0x0000000000000000U},
+ {0x02C8U, 0x0000000000000000U},
+ {0x02D0U, 0x0000000000000000U},
+ {0x02D8U, 0x0000000000000000U},
+ {0x02E0U, 0x0000000000000000U},
+ {0x02E8U, 0x0011001006003401U},
+ {0x02F0U, 0x00110090060FA001U},
+ {0x02F8U, 0x00110090060FA001U},
+ {0x0300U, 0x0000000000000000U},
+ {0x0308U, 0x0000000000000000U},
+ {0x0310U, 0x0000000000000000U},
+ {0x0318U, 0x0012001006003401U},
+ {0x0320U, 0x0000000000000000U},
+ {0x0328U, 0x0000000000000000U},
+ {0x0330U, 0x0000000000000000U},
+ {0x0338U, 0x0000000000000000U},
+ {0x0340U, 0x0000000000000000U},
+ {0x0348U, 0x0000000000000000U},
+ {0x0350U, 0x0000000000000000U},
+ {0x0358U, 0x00120090060FA001U},
+ {0x0360U, 0x00120090060FA001U},
+ {0x0368U, 0x0012001006003401U},
+ {0x0370U, 0x0000000000000000U},
+ {0x0378U, 0x0000000000000000U},
+ {0x0380U, 0x0000000000000000U},
+ {0x0388U, 0x0000000000000000U},
+ {0x0390U, 0x0012001006003401U},
+};
+#endif
+