cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

dma0_qm_masks.h (43561B)


      1/* SPDX-License-Identifier: GPL-2.0
      2 *
      3 * Copyright 2016-2018 HabanaLabs, Ltd.
      4 * All Rights Reserved.
      5 *
      6 */
      7
      8/************************************
      9 ** This is an auto-generated file **
     10 **       DO NOT EDIT BELOW        **
     11 ************************************/
     12
     13#ifndef ASIC_REG_DMA0_QM_MASKS_H_
     14#define ASIC_REG_DMA0_QM_MASKS_H_
     15
     16/*
     17 *****************************************
     18 *   DMA0_QM (Prototype: QMAN)
     19 *****************************************
     20 */
     21
     22/* DMA0_QM_GLBL_CFG0 */
     23#define DMA0_QM_GLBL_CFG0_PQF_EN_SHIFT                               0
     24#define DMA0_QM_GLBL_CFG0_PQF_EN_MASK                                0xF
     25#define DMA0_QM_GLBL_CFG0_CQF_EN_SHIFT                               4
     26#define DMA0_QM_GLBL_CFG0_CQF_EN_MASK                                0x1F0
     27#define DMA0_QM_GLBL_CFG0_CP_EN_SHIFT                                9
     28#define DMA0_QM_GLBL_CFG0_CP_EN_MASK                                 0x3E00
     29
     30/* DMA0_QM_GLBL_CFG1 */
     31#define DMA0_QM_GLBL_CFG1_PQF_STOP_SHIFT                             0
     32#define DMA0_QM_GLBL_CFG1_PQF_STOP_MASK                              0xF
     33#define DMA0_QM_GLBL_CFG1_CQF_STOP_SHIFT                             4
     34#define DMA0_QM_GLBL_CFG1_CQF_STOP_MASK                              0x1F0
     35#define DMA0_QM_GLBL_CFG1_CP_STOP_SHIFT                              9
     36#define DMA0_QM_GLBL_CFG1_CP_STOP_MASK                               0x3E00
     37#define DMA0_QM_GLBL_CFG1_PQF_FLUSH_SHIFT                            16
     38#define DMA0_QM_GLBL_CFG1_PQF_FLUSH_MASK                             0xF0000
     39#define DMA0_QM_GLBL_CFG1_CQF_FLUSH_SHIFT                            20
     40#define DMA0_QM_GLBL_CFG1_CQF_FLUSH_MASK                             0x1F00000
     41#define DMA0_QM_GLBL_CFG1_CP_FLUSH_SHIFT                             25
     42#define DMA0_QM_GLBL_CFG1_CP_FLUSH_MASK                              0x3E000000
     43
     44/* DMA0_QM_GLBL_PROT */
     45#define DMA0_QM_GLBL_PROT_PQF_SHIFT                                  0
     46#define DMA0_QM_GLBL_PROT_PQF_MASK                                   0xF
     47#define DMA0_QM_GLBL_PROT_CQF_SHIFT                                  4
     48#define DMA0_QM_GLBL_PROT_CQF_MASK                                   0x1F0
     49#define DMA0_QM_GLBL_PROT_CP_SHIFT                                   9
     50#define DMA0_QM_GLBL_PROT_CP_MASK                                    0x3E00
     51#define DMA0_QM_GLBL_PROT_ERR_SHIFT                                  14
     52#define DMA0_QM_GLBL_PROT_ERR_MASK                                   0x4000
     53#define DMA0_QM_GLBL_PROT_ARB_SHIFT                                  15
     54#define DMA0_QM_GLBL_PROT_ARB_MASK                                   0x8000
     55
     56/* DMA0_QM_GLBL_ERR_CFG */
     57#define DMA0_QM_GLBL_ERR_CFG_PQF_ERR_MSG_EN_SHIFT                    0
     58#define DMA0_QM_GLBL_ERR_CFG_PQF_ERR_MSG_EN_MASK                     0xF
     59#define DMA0_QM_GLBL_ERR_CFG_CQF_ERR_MSG_EN_SHIFT                    4
     60#define DMA0_QM_GLBL_ERR_CFG_CQF_ERR_MSG_EN_MASK                     0x1F0
     61#define DMA0_QM_GLBL_ERR_CFG_CP_ERR_MSG_EN_SHIFT                     9
     62#define DMA0_QM_GLBL_ERR_CFG_CP_ERR_MSG_EN_MASK                      0x3E00
     63#define DMA0_QM_GLBL_ERR_CFG_PQF_STOP_ON_ERR_SHIFT                   16
     64#define DMA0_QM_GLBL_ERR_CFG_PQF_STOP_ON_ERR_MASK                    0xF0000
     65#define DMA0_QM_GLBL_ERR_CFG_CQF_STOP_ON_ERR_SHIFT                   20
     66#define DMA0_QM_GLBL_ERR_CFG_CQF_STOP_ON_ERR_MASK                    0x1F00000
     67#define DMA0_QM_GLBL_ERR_CFG_CP_STOP_ON_ERR_SHIFT                    25
     68#define DMA0_QM_GLBL_ERR_CFG_CP_STOP_ON_ERR_MASK                     0x3E000000
     69#define DMA0_QM_GLBL_ERR_CFG_ARB_STOP_ON_ERR_SHIFT                   31
     70#define DMA0_QM_GLBL_ERR_CFG_ARB_STOP_ON_ERR_MASK                    0x80000000
     71
     72/* DMA0_QM_GLBL_SECURE_PROPS */
     73#define DMA0_QM_GLBL_SECURE_PROPS_0_ASID_SHIFT                       0
     74#define DMA0_QM_GLBL_SECURE_PROPS_0_ASID_MASK                        0x3FF
     75#define DMA0_QM_GLBL_SECURE_PROPS_1_ASID_SHIFT                       0
     76#define DMA0_QM_GLBL_SECURE_PROPS_1_ASID_MASK                        0x3FF
     77#define DMA0_QM_GLBL_SECURE_PROPS_2_ASID_SHIFT                       0
     78#define DMA0_QM_GLBL_SECURE_PROPS_2_ASID_MASK                        0x3FF
     79#define DMA0_QM_GLBL_SECURE_PROPS_3_ASID_SHIFT                       0
     80#define DMA0_QM_GLBL_SECURE_PROPS_3_ASID_MASK                        0x3FF
     81#define DMA0_QM_GLBL_SECURE_PROPS_4_ASID_SHIFT                       0
     82#define DMA0_QM_GLBL_SECURE_PROPS_4_ASID_MASK                        0x3FF
     83#define DMA0_QM_GLBL_SECURE_PROPS_0_MMBP_SHIFT                       10
     84#define DMA0_QM_GLBL_SECURE_PROPS_0_MMBP_MASK                        0x400
     85#define DMA0_QM_GLBL_SECURE_PROPS_1_MMBP_SHIFT                       10
     86#define DMA0_QM_GLBL_SECURE_PROPS_1_MMBP_MASK                        0x400
     87#define DMA0_QM_GLBL_SECURE_PROPS_2_MMBP_SHIFT                       10
     88#define DMA0_QM_GLBL_SECURE_PROPS_2_MMBP_MASK                        0x400
     89#define DMA0_QM_GLBL_SECURE_PROPS_3_MMBP_SHIFT                       10
     90#define DMA0_QM_GLBL_SECURE_PROPS_3_MMBP_MASK                        0x400
     91#define DMA0_QM_GLBL_SECURE_PROPS_4_MMBP_SHIFT                       10
     92#define DMA0_QM_GLBL_SECURE_PROPS_4_MMBP_MASK                        0x400
     93
     94/* DMA0_QM_GLBL_NON_SECURE_PROPS */
     95#define DMA0_QM_GLBL_NON_SECURE_PROPS_0_ASID_SHIFT                   0
     96#define DMA0_QM_GLBL_NON_SECURE_PROPS_0_ASID_MASK                    0x3FF
     97#define DMA0_QM_GLBL_NON_SECURE_PROPS_1_ASID_SHIFT                   0
     98#define DMA0_QM_GLBL_NON_SECURE_PROPS_1_ASID_MASK                    0x3FF
     99#define DMA0_QM_GLBL_NON_SECURE_PROPS_2_ASID_SHIFT                   0
    100#define DMA0_QM_GLBL_NON_SECURE_PROPS_2_ASID_MASK                    0x3FF
    101#define DMA0_QM_GLBL_NON_SECURE_PROPS_3_ASID_SHIFT                   0
    102#define DMA0_QM_GLBL_NON_SECURE_PROPS_3_ASID_MASK                    0x3FF
    103#define DMA0_QM_GLBL_NON_SECURE_PROPS_4_ASID_SHIFT                   0
    104#define DMA0_QM_GLBL_NON_SECURE_PROPS_4_ASID_MASK                    0x3FF
    105#define DMA0_QM_GLBL_NON_SECURE_PROPS_0_MMBP_SHIFT                   10
    106#define DMA0_QM_GLBL_NON_SECURE_PROPS_0_MMBP_MASK                    0x400
    107#define DMA0_QM_GLBL_NON_SECURE_PROPS_1_MMBP_SHIFT                   10
    108#define DMA0_QM_GLBL_NON_SECURE_PROPS_1_MMBP_MASK                    0x400
    109#define DMA0_QM_GLBL_NON_SECURE_PROPS_2_MMBP_SHIFT                   10
    110#define DMA0_QM_GLBL_NON_SECURE_PROPS_2_MMBP_MASK                    0x400
    111#define DMA0_QM_GLBL_NON_SECURE_PROPS_3_MMBP_SHIFT                   10
    112#define DMA0_QM_GLBL_NON_SECURE_PROPS_3_MMBP_MASK                    0x400
    113#define DMA0_QM_GLBL_NON_SECURE_PROPS_4_MMBP_SHIFT                   10
    114#define DMA0_QM_GLBL_NON_SECURE_PROPS_4_MMBP_MASK                    0x400
    115
    116/* DMA0_QM_GLBL_STS0 */
    117#define DMA0_QM_GLBL_STS0_PQF_IDLE_SHIFT                             0
    118#define DMA0_QM_GLBL_STS0_PQF_IDLE_MASK                              0xF
    119#define DMA0_QM_GLBL_STS0_CQF_IDLE_SHIFT                             4
    120#define DMA0_QM_GLBL_STS0_CQF_IDLE_MASK                              0x1F0
    121#define DMA0_QM_GLBL_STS0_CP_IDLE_SHIFT                              9
    122#define DMA0_QM_GLBL_STS0_CP_IDLE_MASK                               0x3E00
    123#define DMA0_QM_GLBL_STS0_PQF_IS_STOP_SHIFT                          16
    124#define DMA0_QM_GLBL_STS0_PQF_IS_STOP_MASK                           0xF0000
    125#define DMA0_QM_GLBL_STS0_CQF_IS_STOP_SHIFT                          20
    126#define DMA0_QM_GLBL_STS0_CQF_IS_STOP_MASK                           0x1F00000
    127#define DMA0_QM_GLBL_STS0_CP_IS_STOP_SHIFT                           25
    128#define DMA0_QM_GLBL_STS0_CP_IS_STOP_MASK                            0x3E000000
    129#define DMA0_QM_GLBL_STS0_ARB_IS_STOP_SHIFT                          31
    130#define DMA0_QM_GLBL_STS0_ARB_IS_STOP_MASK                           0x80000000
    131
    132/* DMA0_QM_GLBL_STS1 */
    133#define DMA0_QM_GLBL_STS1_PQF_RD_ERR_SHIFT                           0
    134#define DMA0_QM_GLBL_STS1_PQF_RD_ERR_MASK                            0x1
    135#define DMA0_QM_GLBL_STS1_CQF_RD_ERR_SHIFT                           1
    136#define DMA0_QM_GLBL_STS1_CQF_RD_ERR_MASK                            0x2
    137#define DMA0_QM_GLBL_STS1_CP_RD_ERR_SHIFT                            2
    138#define DMA0_QM_GLBL_STS1_CP_RD_ERR_MASK                             0x4
    139#define DMA0_QM_GLBL_STS1_CP_UNDEF_CMD_ERR_SHIFT                     3
    140#define DMA0_QM_GLBL_STS1_CP_UNDEF_CMD_ERR_MASK                      0x8
    141#define DMA0_QM_GLBL_STS1_CP_STOP_OP_SHIFT                           4
    142#define DMA0_QM_GLBL_STS1_CP_STOP_OP_MASK                            0x10
    143#define DMA0_QM_GLBL_STS1_CP_MSG_WR_ERR_SHIFT                        5
    144#define DMA0_QM_GLBL_STS1_CP_MSG_WR_ERR_MASK                         0x20
    145#define DMA0_QM_GLBL_STS1_CP_WREG_ERR_SHIFT                          6
    146#define DMA0_QM_GLBL_STS1_CP_WREG_ERR_MASK                           0x40
    147#define DMA0_QM_GLBL_STS1_CP_FENCE0_OVF_ERR_SHIFT                    8
    148#define DMA0_QM_GLBL_STS1_CP_FENCE0_OVF_ERR_MASK                     0x100
    149#define DMA0_QM_GLBL_STS1_CP_FENCE1_OVF_ERR_SHIFT                    9
    150#define DMA0_QM_GLBL_STS1_CP_FENCE1_OVF_ERR_MASK                     0x200
    151#define DMA0_QM_GLBL_STS1_CP_FENCE2_OVF_ERR_SHIFT                    10
    152#define DMA0_QM_GLBL_STS1_CP_FENCE2_OVF_ERR_MASK                     0x400
    153#define DMA0_QM_GLBL_STS1_CP_FENCE3_OVF_ERR_SHIFT                    11
    154#define DMA0_QM_GLBL_STS1_CP_FENCE3_OVF_ERR_MASK                     0x800
    155#define DMA0_QM_GLBL_STS1_CP_FENCE0_UDF_ERR_SHIFT                    12
    156#define DMA0_QM_GLBL_STS1_CP_FENCE0_UDF_ERR_MASK                     0x1000
    157#define DMA0_QM_GLBL_STS1_CP_FENCE1_UDF_ERR_SHIFT                    13
    158#define DMA0_QM_GLBL_STS1_CP_FENCE1_UDF_ERR_MASK                     0x2000
    159#define DMA0_QM_GLBL_STS1_CP_FENCE2_UDF_ERR_SHIFT                    14
    160#define DMA0_QM_GLBL_STS1_CP_FENCE2_UDF_ERR_MASK                     0x4000
    161#define DMA0_QM_GLBL_STS1_CP_FENCE3_UDF_ERR_SHIFT                    15
    162#define DMA0_QM_GLBL_STS1_CP_FENCE3_UDF_ERR_MASK                     0x8000
    163
    164/* DMA0_QM_GLBL_STS1_4 */
    165#define DMA0_QM_GLBL_STS1_4_CQF_RD_ERR_SHIFT                         1
    166#define DMA0_QM_GLBL_STS1_4_CQF_RD_ERR_MASK                          0x2
    167#define DMA0_QM_GLBL_STS1_4_CP_RD_ERR_SHIFT                          2
    168#define DMA0_QM_GLBL_STS1_4_CP_RD_ERR_MASK                           0x4
    169#define DMA0_QM_GLBL_STS1_4_CP_UNDEF_CMD_ERR_SHIFT                   3
    170#define DMA0_QM_GLBL_STS1_4_CP_UNDEF_CMD_ERR_MASK                    0x8
    171#define DMA0_QM_GLBL_STS1_4_CP_STOP_OP_SHIFT                         4
    172#define DMA0_QM_GLBL_STS1_4_CP_STOP_OP_MASK                          0x10
    173#define DMA0_QM_GLBL_STS1_4_CP_MSG_WR_ERR_SHIFT                      5
    174#define DMA0_QM_GLBL_STS1_4_CP_MSG_WR_ERR_MASK                       0x20
    175#define DMA0_QM_GLBL_STS1_4_CP_WREG_ERR_SHIFT                        6
    176#define DMA0_QM_GLBL_STS1_4_CP_WREG_ERR_MASK                         0x40
    177#define DMA0_QM_GLBL_STS1_4_CP_FENCE0_OVF_ERR_SHIFT                  8
    178#define DMA0_QM_GLBL_STS1_4_CP_FENCE0_OVF_ERR_MASK                   0x100
    179#define DMA0_QM_GLBL_STS1_4_CP_FENCE1_OVF_ERR_SHIFT                  9
    180#define DMA0_QM_GLBL_STS1_4_CP_FENCE1_OVF_ERR_MASK                   0x200
    181#define DMA0_QM_GLBL_STS1_4_CP_FENCE2_OVF_ERR_SHIFT                  10
    182#define DMA0_QM_GLBL_STS1_4_CP_FENCE2_OVF_ERR_MASK                   0x400
    183#define DMA0_QM_GLBL_STS1_4_CP_FENCE3_OVF_ERR_SHIFT                  11
    184#define DMA0_QM_GLBL_STS1_4_CP_FENCE3_OVF_ERR_MASK                   0x800
    185#define DMA0_QM_GLBL_STS1_4_CP_FENCE0_UDF_ERR_SHIFT                  12
    186#define DMA0_QM_GLBL_STS1_4_CP_FENCE0_UDF_ERR_MASK                   0x1000
    187#define DMA0_QM_GLBL_STS1_4_CP_FENCE1_UDF_ERR_SHIFT                  13
    188#define DMA0_QM_GLBL_STS1_4_CP_FENCE1_UDF_ERR_MASK                   0x2000
    189#define DMA0_QM_GLBL_STS1_4_CP_FENCE2_UDF_ERR_SHIFT                  14
    190#define DMA0_QM_GLBL_STS1_4_CP_FENCE2_UDF_ERR_MASK                   0x4000
    191#define DMA0_QM_GLBL_STS1_4_CP_FENCE3_UDF_ERR_SHIFT                  15
    192#define DMA0_QM_GLBL_STS1_4_CP_FENCE3_UDF_ERR_MASK                   0x8000
    193
    194/* DMA0_QM_GLBL_MSG_EN */
    195#define DMA0_QM_GLBL_MSG_EN_PQF_RD_ERR_SHIFT                         0
    196#define DMA0_QM_GLBL_MSG_EN_PQF_RD_ERR_MASK                          0x1
    197#define DMA0_QM_GLBL_MSG_EN_CQF_RD_ERR_SHIFT                         1
    198#define DMA0_QM_GLBL_MSG_EN_CQF_RD_ERR_MASK                          0x2
    199#define DMA0_QM_GLBL_MSG_EN_CP_RD_ERR_SHIFT                          2
    200#define DMA0_QM_GLBL_MSG_EN_CP_RD_ERR_MASK                           0x4
    201#define DMA0_QM_GLBL_MSG_EN_CP_UNDEF_CMD_ERR_SHIFT                   3
    202#define DMA0_QM_GLBL_MSG_EN_CP_UNDEF_CMD_ERR_MASK                    0x8
    203#define DMA0_QM_GLBL_MSG_EN_CP_STOP_OP_SHIFT                         4
    204#define DMA0_QM_GLBL_MSG_EN_CP_STOP_OP_MASK                          0x10
    205#define DMA0_QM_GLBL_MSG_EN_CP_MSG_WR_ERR_SHIFT                      5
    206#define DMA0_QM_GLBL_MSG_EN_CP_MSG_WR_ERR_MASK                       0x20
    207#define DMA0_QM_GLBL_MSG_EN_CP_WREG_ERR_SHIFT                        6
    208#define DMA0_QM_GLBL_MSG_EN_CP_WREG_ERR_MASK                         0x40
    209#define DMA0_QM_GLBL_MSG_EN_CP_FENCE0_OVF_ERR_SHIFT                  8
    210#define DMA0_QM_GLBL_MSG_EN_CP_FENCE0_OVF_ERR_MASK                   0x100
    211#define DMA0_QM_GLBL_MSG_EN_CP_FENCE1_OVF_ERR_SHIFT                  9
    212#define DMA0_QM_GLBL_MSG_EN_CP_FENCE1_OVF_ERR_MASK                   0x200
    213#define DMA0_QM_GLBL_MSG_EN_CP_FENCE2_OVF_ERR_SHIFT                  10
    214#define DMA0_QM_GLBL_MSG_EN_CP_FENCE2_OVF_ERR_MASK                   0x400
    215#define DMA0_QM_GLBL_MSG_EN_CP_FENCE3_OVF_ERR_SHIFT                  11
    216#define DMA0_QM_GLBL_MSG_EN_CP_FENCE3_OVF_ERR_MASK                   0x800
    217#define DMA0_QM_GLBL_MSG_EN_CP_FENCE0_UDF_ERR_SHIFT                  12
    218#define DMA0_QM_GLBL_MSG_EN_CP_FENCE0_UDF_ERR_MASK                   0x1000
    219#define DMA0_QM_GLBL_MSG_EN_CP_FENCE1_UDF_ERR_SHIFT                  13
    220#define DMA0_QM_GLBL_MSG_EN_CP_FENCE1_UDF_ERR_MASK                   0x2000
    221#define DMA0_QM_GLBL_MSG_EN_CP_FENCE2_UDF_ERR_SHIFT                  14
    222#define DMA0_QM_GLBL_MSG_EN_CP_FENCE2_UDF_ERR_MASK                   0x4000
    223#define DMA0_QM_GLBL_MSG_EN_CP_FENCE3_UDF_ERR_SHIFT                  15
    224#define DMA0_QM_GLBL_MSG_EN_CP_FENCE3_UDF_ERR_MASK                   0x8000
    225
    226/* DMA0_QM_GLBL_MSG_EN_4 */
    227#define DMA0_QM_GLBL_MSG_EN_4_CQF_RD_ERR_SHIFT                       1
    228#define DMA0_QM_GLBL_MSG_EN_4_CQF_RD_ERR_MASK                        0x2
    229#define DMA0_QM_GLBL_MSG_EN_4_CP_RD_ERR_SHIFT                        2
    230#define DMA0_QM_GLBL_MSG_EN_4_CP_RD_ERR_MASK                         0x4
    231#define DMA0_QM_GLBL_MSG_EN_4_CP_UNDEF_CMD_ERR_SHIFT                 3
    232#define DMA0_QM_GLBL_MSG_EN_4_CP_UNDEF_CMD_ERR_MASK                  0x8
    233#define DMA0_QM_GLBL_MSG_EN_4_CP_STOP_OP_SHIFT                       4
    234#define DMA0_QM_GLBL_MSG_EN_4_CP_STOP_OP_MASK                        0x10
    235#define DMA0_QM_GLBL_MSG_EN_4_CP_MSG_WR_ERR_SHIFT                    5
    236#define DMA0_QM_GLBL_MSG_EN_4_CP_MSG_WR_ERR_MASK                     0x20
    237#define DMA0_QM_GLBL_MSG_EN_4_CP_WREG_ERR_SHIFT                      6
    238#define DMA0_QM_GLBL_MSG_EN_4_CP_WREG_ERR_MASK                       0x40
    239#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE0_OVF_ERR_SHIFT                8
    240#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE0_OVF_ERR_MASK                 0x100
    241#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE1_OVF_ERR_SHIFT                9
    242#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE1_OVF_ERR_MASK                 0x200
    243#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE2_OVF_ERR_SHIFT                10
    244#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE2_OVF_ERR_MASK                 0x400
    245#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE3_OVF_ERR_SHIFT                11
    246#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE3_OVF_ERR_MASK                 0x800
    247#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE0_UDF_ERR_SHIFT                12
    248#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE0_UDF_ERR_MASK                 0x1000
    249#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE1_UDF_ERR_SHIFT                13
    250#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE1_UDF_ERR_MASK                 0x2000
    251#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE2_UDF_ERR_SHIFT                14
    252#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE2_UDF_ERR_MASK                 0x4000
    253#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE3_UDF_ERR_SHIFT                15
    254#define DMA0_QM_GLBL_MSG_EN_4_CP_FENCE3_UDF_ERR_MASK                 0x8000
    255
    256/* DMA0_QM_PQ_BASE_LO */
    257#define DMA0_QM_PQ_BASE_LO_VAL_SHIFT                                 0
    258#define DMA0_QM_PQ_BASE_LO_VAL_MASK                                  0xFFFFFFFF
    259
    260/* DMA0_QM_PQ_BASE_HI */
    261#define DMA0_QM_PQ_BASE_HI_VAL_SHIFT                                 0
    262#define DMA0_QM_PQ_BASE_HI_VAL_MASK                                  0xFFFFFFFF
    263
    264/* DMA0_QM_PQ_SIZE */
    265#define DMA0_QM_PQ_SIZE_VAL_SHIFT                                    0
    266#define DMA0_QM_PQ_SIZE_VAL_MASK                                     0xFFFFFFFF
    267
    268/* DMA0_QM_PQ_PI */
    269#define DMA0_QM_PQ_PI_VAL_SHIFT                                      0
    270#define DMA0_QM_PQ_PI_VAL_MASK                                       0xFFFFFFFF
    271
    272/* DMA0_QM_PQ_CI */
    273#define DMA0_QM_PQ_CI_VAL_SHIFT                                      0
    274#define DMA0_QM_PQ_CI_VAL_MASK                                       0xFFFFFFFF
    275
    276/* DMA0_QM_PQ_CFG0 */
    277#define DMA0_QM_PQ_CFG0_RESERVED_SHIFT                               0
    278#define DMA0_QM_PQ_CFG0_RESERVED_MASK                                0x1
    279
    280/* DMA0_QM_PQ_CFG1 */
    281#define DMA0_QM_PQ_CFG1_CREDIT_LIM_SHIFT                             0
    282#define DMA0_QM_PQ_CFG1_CREDIT_LIM_MASK                              0xFFFF
    283#define DMA0_QM_PQ_CFG1_MAX_INFLIGHT_SHIFT                           16
    284#define DMA0_QM_PQ_CFG1_MAX_INFLIGHT_MASK                            0xFFFF0000
    285
    286/* DMA0_QM_PQ_ARUSER_31_11 */
    287#define DMA0_QM_PQ_ARUSER_31_11_VAL_SHIFT                            0
    288#define DMA0_QM_PQ_ARUSER_31_11_VAL_MASK                             0x1FFFFF
    289
    290/* DMA0_QM_PQ_STS0 */
    291#define DMA0_QM_PQ_STS0_PQ_CREDIT_CNT_SHIFT                          0
    292#define DMA0_QM_PQ_STS0_PQ_CREDIT_CNT_MASK                           0xFFFF
    293#define DMA0_QM_PQ_STS0_PQ_FREE_CNT_SHIFT                            16
    294#define DMA0_QM_PQ_STS0_PQ_FREE_CNT_MASK                             0xFFFF0000
    295
    296/* DMA0_QM_PQ_STS1 */
    297#define DMA0_QM_PQ_STS1_PQ_INFLIGHT_CNT_SHIFT                        0
    298#define DMA0_QM_PQ_STS1_PQ_INFLIGHT_CNT_MASK                         0xFFFF
    299#define DMA0_QM_PQ_STS1_PQ_BUF_EMPTY_SHIFT                           30
    300#define DMA0_QM_PQ_STS1_PQ_BUF_EMPTY_MASK                            0x40000000
    301#define DMA0_QM_PQ_STS1_PQ_BUSY_SHIFT                                31
    302#define DMA0_QM_PQ_STS1_PQ_BUSY_MASK                                 0x80000000
    303
    304/* DMA0_QM_CQ_CFG0 */
    305#define DMA0_QM_CQ_CFG0_RESERVED_SHIFT                               0
    306#define DMA0_QM_CQ_CFG0_RESERVED_MASK                                0x1
    307
    308/* DMA0_QM_CQ_CFG1 */
    309#define DMA0_QM_CQ_CFG1_CREDIT_LIM_SHIFT                             0
    310#define DMA0_QM_CQ_CFG1_CREDIT_LIM_MASK                              0xFFFF
    311#define DMA0_QM_CQ_CFG1_MAX_INFLIGHT_SHIFT                           16
    312#define DMA0_QM_CQ_CFG1_MAX_INFLIGHT_MASK                            0xFFFF0000
    313
    314/* DMA0_QM_CQ_ARUSER_31_11 */
    315#define DMA0_QM_CQ_ARUSER_31_11_VAL_SHIFT                            0
    316#define DMA0_QM_CQ_ARUSER_31_11_VAL_MASK                             0x1FFFFF
    317
    318/* DMA0_QM_CQ_STS0 */
    319#define DMA0_QM_CQ_STS0_CQ_CREDIT_CNT_SHIFT                          0
    320#define DMA0_QM_CQ_STS0_CQ_CREDIT_CNT_MASK                           0xFFFF
    321#define DMA0_QM_CQ_STS0_CQ_FREE_CNT_SHIFT                            16
    322#define DMA0_QM_CQ_STS0_CQ_FREE_CNT_MASK                             0xFFFF0000
    323
    324/* DMA0_QM_CQ_STS1 */
    325#define DMA0_QM_CQ_STS1_CQ_INFLIGHT_CNT_SHIFT                        0
    326#define DMA0_QM_CQ_STS1_CQ_INFLIGHT_CNT_MASK                         0xFFFF
    327#define DMA0_QM_CQ_STS1_CQ_BUF_EMPTY_SHIFT                           30
    328#define DMA0_QM_CQ_STS1_CQ_BUF_EMPTY_MASK                            0x40000000
    329#define DMA0_QM_CQ_STS1_CQ_BUSY_SHIFT                                31
    330#define DMA0_QM_CQ_STS1_CQ_BUSY_MASK                                 0x80000000
    331
    332/* DMA0_QM_CQ_PTR_LO_0 */
    333#define DMA0_QM_CQ_PTR_LO_0_VAL_SHIFT                                0
    334#define DMA0_QM_CQ_PTR_LO_0_VAL_MASK                                 0xFFFFFFFF
    335
    336/* DMA0_QM_CQ_PTR_HI_0 */
    337#define DMA0_QM_CQ_PTR_HI_0_VAL_SHIFT                                0
    338#define DMA0_QM_CQ_PTR_HI_0_VAL_MASK                                 0xFFFFFFFF
    339
    340/* DMA0_QM_CQ_TSIZE_0 */
    341#define DMA0_QM_CQ_TSIZE_0_VAL_SHIFT                                 0
    342#define DMA0_QM_CQ_TSIZE_0_VAL_MASK                                  0xFFFFFFFF
    343
    344/* DMA0_QM_CQ_CTL_0 */
    345#define DMA0_QM_CQ_CTL_0_RPT_SHIFT                                   0
    346#define DMA0_QM_CQ_CTL_0_RPT_MASK                                    0xFFFF
    347#define DMA0_QM_CQ_CTL_0_CTL_SHIFT                                   16
    348#define DMA0_QM_CQ_CTL_0_CTL_MASK                                    0xFFFF0000
    349
    350/* DMA0_QM_CQ_PTR_LO_1 */
    351#define DMA0_QM_CQ_PTR_LO_1_VAL_SHIFT                                0
    352#define DMA0_QM_CQ_PTR_LO_1_VAL_MASK                                 0xFFFFFFFF
    353
    354/* DMA0_QM_CQ_PTR_HI_1 */
    355#define DMA0_QM_CQ_PTR_HI_1_VAL_SHIFT                                0
    356#define DMA0_QM_CQ_PTR_HI_1_VAL_MASK                                 0xFFFFFFFF
    357
    358/* DMA0_QM_CQ_TSIZE_1 */
    359#define DMA0_QM_CQ_TSIZE_1_VAL_SHIFT                                 0
    360#define DMA0_QM_CQ_TSIZE_1_VAL_MASK                                  0xFFFFFFFF
    361
    362/* DMA0_QM_CQ_CTL_1 */
    363#define DMA0_QM_CQ_CTL_1_RPT_SHIFT                                   0
    364#define DMA0_QM_CQ_CTL_1_RPT_MASK                                    0xFFFF
    365#define DMA0_QM_CQ_CTL_1_CTL_SHIFT                                   16
    366#define DMA0_QM_CQ_CTL_1_CTL_MASK                                    0xFFFF0000
    367
    368/* DMA0_QM_CQ_PTR_LO_2 */
    369#define DMA0_QM_CQ_PTR_LO_2_VAL_SHIFT                                0
    370#define DMA0_QM_CQ_PTR_LO_2_VAL_MASK                                 0xFFFFFFFF
    371
    372/* DMA0_QM_CQ_PTR_HI_2 */
    373#define DMA0_QM_CQ_PTR_HI_2_VAL_SHIFT                                0
    374#define DMA0_QM_CQ_PTR_HI_2_VAL_MASK                                 0xFFFFFFFF
    375
    376/* DMA0_QM_CQ_TSIZE_2 */
    377#define DMA0_QM_CQ_TSIZE_2_VAL_SHIFT                                 0
    378#define DMA0_QM_CQ_TSIZE_2_VAL_MASK                                  0xFFFFFFFF
    379
    380/* DMA0_QM_CQ_CTL_2 */
    381#define DMA0_QM_CQ_CTL_2_RPT_SHIFT                                   0
    382#define DMA0_QM_CQ_CTL_2_RPT_MASK                                    0xFFFF
    383#define DMA0_QM_CQ_CTL_2_CTL_SHIFT                                   16
    384#define DMA0_QM_CQ_CTL_2_CTL_MASK                                    0xFFFF0000
    385
    386/* DMA0_QM_CQ_PTR_LO_3 */
    387#define DMA0_QM_CQ_PTR_LO_3_VAL_SHIFT                                0
    388#define DMA0_QM_CQ_PTR_LO_3_VAL_MASK                                 0xFFFFFFFF
    389
    390/* DMA0_QM_CQ_PTR_HI_3 */
    391#define DMA0_QM_CQ_PTR_HI_3_VAL_SHIFT                                0
    392#define DMA0_QM_CQ_PTR_HI_3_VAL_MASK                                 0xFFFFFFFF
    393
    394/* DMA0_QM_CQ_TSIZE_3 */
    395#define DMA0_QM_CQ_TSIZE_3_VAL_SHIFT                                 0
    396#define DMA0_QM_CQ_TSIZE_3_VAL_MASK                                  0xFFFFFFFF
    397
    398/* DMA0_QM_CQ_CTL_3 */
    399#define DMA0_QM_CQ_CTL_3_RPT_SHIFT                                   0
    400#define DMA0_QM_CQ_CTL_3_RPT_MASK                                    0xFFFF
    401#define DMA0_QM_CQ_CTL_3_CTL_SHIFT                                   16
    402#define DMA0_QM_CQ_CTL_3_CTL_MASK                                    0xFFFF0000
    403
    404/* DMA0_QM_CQ_PTR_LO_4 */
    405#define DMA0_QM_CQ_PTR_LO_4_VAL_SHIFT                                0
    406#define DMA0_QM_CQ_PTR_LO_4_VAL_MASK                                 0xFFFFFFFF
    407
    408/* DMA0_QM_CQ_PTR_HI_4 */
    409#define DMA0_QM_CQ_PTR_HI_4_VAL_SHIFT                                0
    410#define DMA0_QM_CQ_PTR_HI_4_VAL_MASK                                 0xFFFFFFFF
    411
    412/* DMA0_QM_CQ_TSIZE_4 */
    413#define DMA0_QM_CQ_TSIZE_4_VAL_SHIFT                                 0
    414#define DMA0_QM_CQ_TSIZE_4_VAL_MASK                                  0xFFFFFFFF
    415
    416/* DMA0_QM_CQ_CTL_4 */
    417#define DMA0_QM_CQ_CTL_4_RPT_SHIFT                                   0
    418#define DMA0_QM_CQ_CTL_4_RPT_MASK                                    0xFFFF
    419#define DMA0_QM_CQ_CTL_4_CTL_SHIFT                                   16
    420#define DMA0_QM_CQ_CTL_4_CTL_MASK                                    0xFFFF0000
    421
    422/* DMA0_QM_CQ_PTR_LO_STS */
    423#define DMA0_QM_CQ_PTR_LO_STS_VAL_SHIFT                              0
    424#define DMA0_QM_CQ_PTR_LO_STS_VAL_MASK                               0xFFFFFFFF
    425
    426/* DMA0_QM_CQ_PTR_HI_STS */
    427#define DMA0_QM_CQ_PTR_HI_STS_VAL_SHIFT                              0
    428#define DMA0_QM_CQ_PTR_HI_STS_VAL_MASK                               0xFFFFFFFF
    429
    430/* DMA0_QM_CQ_TSIZE_STS */
    431#define DMA0_QM_CQ_TSIZE_STS_VAL_SHIFT                               0
    432#define DMA0_QM_CQ_TSIZE_STS_VAL_MASK                                0xFFFFFFFF
    433
    434/* DMA0_QM_CQ_CTL_STS */
    435#define DMA0_QM_CQ_CTL_STS_RPT_SHIFT                                 0
    436#define DMA0_QM_CQ_CTL_STS_RPT_MASK                                  0xFFFF
    437#define DMA0_QM_CQ_CTL_STS_CTL_SHIFT                                 16
    438#define DMA0_QM_CQ_CTL_STS_CTL_MASK                                  0xFFFF0000
    439
    440/* DMA0_QM_CQ_IFIFO_CNT */
    441#define DMA0_QM_CQ_IFIFO_CNT_VAL_SHIFT                               0
    442#define DMA0_QM_CQ_IFIFO_CNT_VAL_MASK                                0x3
    443
    444/* DMA0_QM_CP_MSG_BASE0_ADDR_LO */
    445#define DMA0_QM_CP_MSG_BASE0_ADDR_LO_VAL_SHIFT                       0
    446#define DMA0_QM_CP_MSG_BASE0_ADDR_LO_VAL_MASK                        0xFFFFFFFF
    447
    448/* DMA0_QM_CP_MSG_BASE0_ADDR_HI */
    449#define DMA0_QM_CP_MSG_BASE0_ADDR_HI_VAL_SHIFT                       0
    450#define DMA0_QM_CP_MSG_BASE0_ADDR_HI_VAL_MASK                        0xFFFFFFFF
    451
    452/* DMA0_QM_CP_MSG_BASE1_ADDR_LO */
    453#define DMA0_QM_CP_MSG_BASE1_ADDR_LO_VAL_SHIFT                       0
    454#define DMA0_QM_CP_MSG_BASE1_ADDR_LO_VAL_MASK                        0xFFFFFFFF
    455
    456/* DMA0_QM_CP_MSG_BASE1_ADDR_HI */
    457#define DMA0_QM_CP_MSG_BASE1_ADDR_HI_VAL_SHIFT                       0
    458#define DMA0_QM_CP_MSG_BASE1_ADDR_HI_VAL_MASK                        0xFFFFFFFF
    459
    460/* DMA0_QM_CP_MSG_BASE2_ADDR_LO */
    461#define DMA0_QM_CP_MSG_BASE2_ADDR_LO_VAL_SHIFT                       0
    462#define DMA0_QM_CP_MSG_BASE2_ADDR_LO_VAL_MASK                        0xFFFFFFFF
    463
    464/* DMA0_QM_CP_MSG_BASE2_ADDR_HI */
    465#define DMA0_QM_CP_MSG_BASE2_ADDR_HI_VAL_SHIFT                       0
    466#define DMA0_QM_CP_MSG_BASE2_ADDR_HI_VAL_MASK                        0xFFFFFFFF
    467
    468/* DMA0_QM_CP_MSG_BASE3_ADDR_LO */
    469#define DMA0_QM_CP_MSG_BASE3_ADDR_LO_VAL_SHIFT                       0
    470#define DMA0_QM_CP_MSG_BASE3_ADDR_LO_VAL_MASK                        0xFFFFFFFF
    471
    472/* DMA0_QM_CP_MSG_BASE3_ADDR_HI */
    473#define DMA0_QM_CP_MSG_BASE3_ADDR_HI_VAL_SHIFT                       0
    474#define DMA0_QM_CP_MSG_BASE3_ADDR_HI_VAL_MASK                        0xFFFFFFFF
    475
    476/* DMA0_QM_CP_LDMA_TSIZE_OFFSET */
    477#define DMA0_QM_CP_LDMA_TSIZE_OFFSET_VAL_SHIFT                       0
    478#define DMA0_QM_CP_LDMA_TSIZE_OFFSET_VAL_MASK                        0xFFFFFFFF
    479
    480/* DMA0_QM_CP_LDMA_SRC_BASE_LO_OFFSET */
    481#define DMA0_QM_CP_LDMA_SRC_BASE_LO_OFFSET_VAL_SHIFT                 0
    482#define DMA0_QM_CP_LDMA_SRC_BASE_LO_OFFSET_VAL_MASK                  0xFFFFFFFF
    483
    484/* DMA0_QM_CP_LDMA_DST_BASE_LO_OFFSET */
    485#define DMA0_QM_CP_LDMA_DST_BASE_LO_OFFSET_VAL_SHIFT                 0
    486#define DMA0_QM_CP_LDMA_DST_BASE_LO_OFFSET_VAL_MASK                  0xFFFFFFFF
    487
    488/* DMA0_QM_CP_FENCE0_RDATA */
    489#define DMA0_QM_CP_FENCE0_RDATA_INC_VAL_SHIFT                        0
    490#define DMA0_QM_CP_FENCE0_RDATA_INC_VAL_MASK                         0xF
    491
    492/* DMA0_QM_CP_FENCE1_RDATA */
    493#define DMA0_QM_CP_FENCE1_RDATA_INC_VAL_SHIFT                        0
    494#define DMA0_QM_CP_FENCE1_RDATA_INC_VAL_MASK                         0xF
    495
    496/* DMA0_QM_CP_FENCE2_RDATA */
    497#define DMA0_QM_CP_FENCE2_RDATA_INC_VAL_SHIFT                        0
    498#define DMA0_QM_CP_FENCE2_RDATA_INC_VAL_MASK                         0xF
    499
    500/* DMA0_QM_CP_FENCE3_RDATA */
    501#define DMA0_QM_CP_FENCE3_RDATA_INC_VAL_SHIFT                        0
    502#define DMA0_QM_CP_FENCE3_RDATA_INC_VAL_MASK                         0xF
    503
    504/* DMA0_QM_CP_FENCE0_CNT */
    505#define DMA0_QM_CP_FENCE0_CNT_VAL_SHIFT                              0
    506#define DMA0_QM_CP_FENCE0_CNT_VAL_MASK                               0x3FFF
    507
    508/* DMA0_QM_CP_FENCE1_CNT */
    509#define DMA0_QM_CP_FENCE1_CNT_VAL_SHIFT                              0
    510#define DMA0_QM_CP_FENCE1_CNT_VAL_MASK                               0x3FFF
    511
    512/* DMA0_QM_CP_FENCE2_CNT */
    513#define DMA0_QM_CP_FENCE2_CNT_VAL_SHIFT                              0
    514#define DMA0_QM_CP_FENCE2_CNT_VAL_MASK                               0x3FFF
    515
    516/* DMA0_QM_CP_FENCE3_CNT */
    517#define DMA0_QM_CP_FENCE3_CNT_VAL_SHIFT                              0
    518#define DMA0_QM_CP_FENCE3_CNT_VAL_MASK                               0x3FFF
    519
    520/* DMA0_QM_CP_STS */
    521#define DMA0_QM_CP_STS_MSG_INFLIGHT_CNT_SHIFT                        0
    522#define DMA0_QM_CP_STS_MSG_INFLIGHT_CNT_MASK                         0xFFFF
    523#define DMA0_QM_CP_STS_ERDY_SHIFT                                    16
    524#define DMA0_QM_CP_STS_ERDY_MASK                                     0x10000
    525#define DMA0_QM_CP_STS_RRDY_SHIFT                                    17
    526#define DMA0_QM_CP_STS_RRDY_MASK                                     0x20000
    527#define DMA0_QM_CP_STS_MRDY_SHIFT                                    18
    528#define DMA0_QM_CP_STS_MRDY_MASK                                     0x40000
    529#define DMA0_QM_CP_STS_SW_STOP_SHIFT                                 19
    530#define DMA0_QM_CP_STS_SW_STOP_MASK                                  0x80000
    531#define DMA0_QM_CP_STS_FENCE_ID_SHIFT                                20
    532#define DMA0_QM_CP_STS_FENCE_ID_MASK                                 0x300000
    533#define DMA0_QM_CP_STS_FENCE_IN_PROGRESS_SHIFT                       22
    534#define DMA0_QM_CP_STS_FENCE_IN_PROGRESS_MASK                        0x400000
    535
    536/* DMA0_QM_CP_CURRENT_INST_LO */
    537#define DMA0_QM_CP_CURRENT_INST_LO_VAL_SHIFT                         0
    538#define DMA0_QM_CP_CURRENT_INST_LO_VAL_MASK                          0xFFFFFFFF
    539
    540/* DMA0_QM_CP_CURRENT_INST_HI */
    541#define DMA0_QM_CP_CURRENT_INST_HI_VAL_SHIFT                         0
    542#define DMA0_QM_CP_CURRENT_INST_HI_VAL_MASK                          0xFFFFFFFF
    543
    544/* DMA0_QM_CP_BARRIER_CFG */
    545#define DMA0_QM_CP_BARRIER_CFG_EBGUARD_SHIFT                         0
    546#define DMA0_QM_CP_BARRIER_CFG_EBGUARD_MASK                          0xFFF
    547#define DMA0_QM_CP_BARRIER_CFG_RBGUARD_SHIFT                         16
    548#define DMA0_QM_CP_BARRIER_CFG_RBGUARD_MASK                          0xF0000
    549
    550/* DMA0_QM_CP_DBG_0 */
    551#define DMA0_QM_CP_DBG_0_CS_SHIFT                                    0
    552#define DMA0_QM_CP_DBG_0_CS_MASK                                     0xF
    553#define DMA0_QM_CP_DBG_0_EB_CNT_NOT_ZERO_SHIFT                       4
    554#define DMA0_QM_CP_DBG_0_EB_CNT_NOT_ZERO_MASK                        0x10
    555#define DMA0_QM_CP_DBG_0_BULK_CNT_NOT_ZERO_SHIFT                     5
    556#define DMA0_QM_CP_DBG_0_BULK_CNT_NOT_ZERO_MASK                      0x20
    557#define DMA0_QM_CP_DBG_0_MREB_STALL_SHIFT                            6
    558#define DMA0_QM_CP_DBG_0_MREB_STALL_MASK                             0x40
    559#define DMA0_QM_CP_DBG_0_STALL_SHIFT                                 7
    560#define DMA0_QM_CP_DBG_0_STALL_MASK                                  0x80
    561
    562/* DMA0_QM_CP_ARUSER_31_11 */
    563#define DMA0_QM_CP_ARUSER_31_11_VAL_SHIFT                            0
    564#define DMA0_QM_CP_ARUSER_31_11_VAL_MASK                             0x1FFFFF
    565
    566/* DMA0_QM_CP_AWUSER_31_11 */
    567#define DMA0_QM_CP_AWUSER_31_11_VAL_SHIFT                            0
    568#define DMA0_QM_CP_AWUSER_31_11_VAL_MASK                             0x1FFFFF
    569
    570/* DMA0_QM_ARB_CFG_0 */
    571#define DMA0_QM_ARB_CFG_0_TYPE_SHIFT                                 0
    572#define DMA0_QM_ARB_CFG_0_TYPE_MASK                                  0x1
    573#define DMA0_QM_ARB_CFG_0_IS_MASTER_SHIFT                            4
    574#define DMA0_QM_ARB_CFG_0_IS_MASTER_MASK                             0x10
    575#define DMA0_QM_ARB_CFG_0_EN_SHIFT                                   8
    576#define DMA0_QM_ARB_CFG_0_EN_MASK                                    0x100
    577#define DMA0_QM_ARB_CFG_0_MASK_SHIFT                                 12
    578#define DMA0_QM_ARB_CFG_0_MASK_MASK                                  0xF000
    579#define DMA0_QM_ARB_CFG_0_MST_MSG_NOSTALL_SHIFT                      16
    580#define DMA0_QM_ARB_CFG_0_MST_MSG_NOSTALL_MASK                       0x10000
    581
    582/* DMA0_QM_ARB_CHOISE_Q_PUSH */
    583#define DMA0_QM_ARB_CHOISE_Q_PUSH_VAL_SHIFT                          0
    584#define DMA0_QM_ARB_CHOISE_Q_PUSH_VAL_MASK                           0x3
    585
    586/* DMA0_QM_ARB_WRR_WEIGHT */
    587#define DMA0_QM_ARB_WRR_WEIGHT_VAL_SHIFT                             0
    588#define DMA0_QM_ARB_WRR_WEIGHT_VAL_MASK                              0xFFFFFFFF
    589
    590/* DMA0_QM_ARB_CFG_1 */
    591#define DMA0_QM_ARB_CFG_1_CLR_SHIFT                                  0
    592#define DMA0_QM_ARB_CFG_1_CLR_MASK                                   0x1
    593
    594/* DMA0_QM_ARB_MST_AVAIL_CRED */
    595#define DMA0_QM_ARB_MST_AVAIL_CRED_VAL_SHIFT                         0
    596#define DMA0_QM_ARB_MST_AVAIL_CRED_VAL_MASK                          0x7F
    597
    598/* DMA0_QM_ARB_MST_CRED_INC */
    599#define DMA0_QM_ARB_MST_CRED_INC_VAL_SHIFT                           0
    600#define DMA0_QM_ARB_MST_CRED_INC_VAL_MASK                            0xFFFFFFFF
    601
    602/* DMA0_QM_ARB_MST_CHOISE_PUSH_OFST */
    603#define DMA0_QM_ARB_MST_CHOISE_PUSH_OFST_VAL_SHIFT                   0
    604#define DMA0_QM_ARB_MST_CHOISE_PUSH_OFST_VAL_MASK                    0xFFFFFFFF
    605
    606/* DMA0_QM_ARB_SLV_MASTER_INC_CRED_OFST */
    607#define DMA0_QM_ARB_SLV_MASTER_INC_CRED_OFST_VAL_SHIFT               0
    608#define DMA0_QM_ARB_SLV_MASTER_INC_CRED_OFST_VAL_MASK                0xFFFFFFFF
    609
    610/* DMA0_QM_ARB_MST_SLAVE_EN */
    611#define DMA0_QM_ARB_MST_SLAVE_EN_VAL_SHIFT                           0
    612#define DMA0_QM_ARB_MST_SLAVE_EN_VAL_MASK                            0xFFFFFFFF
    613
    614/* DMA0_QM_ARB_MST_QUIET_PER */
    615#define DMA0_QM_ARB_MST_QUIET_PER_VAL_SHIFT                          0
    616#define DMA0_QM_ARB_MST_QUIET_PER_VAL_MASK                           0xFFFFFFFF
    617
    618/* DMA0_QM_ARB_SLV_CHOISE_WDT */
    619#define DMA0_QM_ARB_SLV_CHOISE_WDT_VAL_SHIFT                         0
    620#define DMA0_QM_ARB_SLV_CHOISE_WDT_VAL_MASK                          0xFFFFFFFF
    621
    622/* DMA0_QM_ARB_SLV_ID */
    623#define DMA0_QM_ARB_SLV_ID_VAL_SHIFT                                 0
    624#define DMA0_QM_ARB_SLV_ID_VAL_MASK                                  0x1F
    625
    626/* DMA0_QM_ARB_MSG_MAX_INFLIGHT */
    627#define DMA0_QM_ARB_MSG_MAX_INFLIGHT_VAL_SHIFT                       0
    628#define DMA0_QM_ARB_MSG_MAX_INFLIGHT_VAL_MASK                        0x3F
    629
    630/* DMA0_QM_ARB_MSG_AWUSER_31_11 */
    631#define DMA0_QM_ARB_MSG_AWUSER_31_11_VAL_SHIFT                       0
    632#define DMA0_QM_ARB_MSG_AWUSER_31_11_VAL_MASK                        0x1FFFFF
    633
    634/* DMA0_QM_ARB_MSG_AWUSER_SEC_PROP */
    635#define DMA0_QM_ARB_MSG_AWUSER_SEC_PROP_ASID_SHIFT                   0
    636#define DMA0_QM_ARB_MSG_AWUSER_SEC_PROP_ASID_MASK                    0x3FF
    637#define DMA0_QM_ARB_MSG_AWUSER_SEC_PROP_MMBP_SHIFT                   10
    638#define DMA0_QM_ARB_MSG_AWUSER_SEC_PROP_MMBP_MASK                    0x400
    639
    640/* DMA0_QM_ARB_MSG_AWUSER_NON_SEC_PROP */
    641#define DMA0_QM_ARB_MSG_AWUSER_NON_SEC_PROP_ASID_SHIFT               0
    642#define DMA0_QM_ARB_MSG_AWUSER_NON_SEC_PROP_ASID_MASK                0x3FF
    643#define DMA0_QM_ARB_MSG_AWUSER_NON_SEC_PROP_MMBP_SHIFT               10
    644#define DMA0_QM_ARB_MSG_AWUSER_NON_SEC_PROP_MMBP_MASK                0x400
    645
    646/* DMA0_QM_ARB_BASE_LO */
    647#define DMA0_QM_ARB_BASE_LO_VAL_SHIFT                                0
    648#define DMA0_QM_ARB_BASE_LO_VAL_MASK                                 0xFFFFFFFF
    649
    650/* DMA0_QM_ARB_BASE_HI */
    651#define DMA0_QM_ARB_BASE_HI_VAL_SHIFT                                0
    652#define DMA0_QM_ARB_BASE_HI_VAL_MASK                                 0xFFFFFFFF
    653
    654/* DMA0_QM_ARB_STATE_STS */
    655#define DMA0_QM_ARB_STATE_STS_VAL_SHIFT                              0
    656#define DMA0_QM_ARB_STATE_STS_VAL_MASK                               0xFFFFFFFF
    657
    658/* DMA0_QM_ARB_CHOISE_FULLNESS_STS */
    659#define DMA0_QM_ARB_CHOISE_FULLNESS_STS_VAL_SHIFT                    0
    660#define DMA0_QM_ARB_CHOISE_FULLNESS_STS_VAL_MASK                     0x7F
    661
    662/* DMA0_QM_ARB_MSG_STS */
    663#define DMA0_QM_ARB_MSG_STS_FULL_SHIFT                               0
    664#define DMA0_QM_ARB_MSG_STS_FULL_MASK                                0x1
    665#define DMA0_QM_ARB_MSG_STS_NO_INFLIGHT_SHIFT                        1
    666#define DMA0_QM_ARB_MSG_STS_NO_INFLIGHT_MASK                         0x2
    667
    668/* DMA0_QM_ARB_SLV_CHOISE_Q_HEAD */
    669#define DMA0_QM_ARB_SLV_CHOISE_Q_HEAD_VAL_SHIFT                      0
    670#define DMA0_QM_ARB_SLV_CHOISE_Q_HEAD_VAL_MASK                       0x3
    671
    672/* DMA0_QM_ARB_ERR_CAUSE */
    673#define DMA0_QM_ARB_ERR_CAUSE_CHOISE_OVF_SHIFT                       0
    674#define DMA0_QM_ARB_ERR_CAUSE_CHOISE_OVF_MASK                        0x1
    675#define DMA0_QM_ARB_ERR_CAUSE_CHOISE_WDT_SHIFT                       1
    676#define DMA0_QM_ARB_ERR_CAUSE_CHOISE_WDT_MASK                        0x2
    677#define DMA0_QM_ARB_ERR_CAUSE_AXI_LBW_ERR_SHIFT                      2
    678#define DMA0_QM_ARB_ERR_CAUSE_AXI_LBW_ERR_MASK                       0x4
    679
    680/* DMA0_QM_ARB_ERR_MSG_EN */
    681#define DMA0_QM_ARB_ERR_MSG_EN_CHOISE_OVF_SHIFT                      0
    682#define DMA0_QM_ARB_ERR_MSG_EN_CHOISE_OVF_MASK                       0x1
    683#define DMA0_QM_ARB_ERR_MSG_EN_CHOISE_WDT_SHIFT                      1
    684#define DMA0_QM_ARB_ERR_MSG_EN_CHOISE_WDT_MASK                       0x2
    685#define DMA0_QM_ARB_ERR_MSG_EN_AXI_LBW_ERR_SHIFT                     2
    686#define DMA0_QM_ARB_ERR_MSG_EN_AXI_LBW_ERR_MASK                      0x4
    687
    688/* DMA0_QM_ARB_ERR_STS_DRP */
    689#define DMA0_QM_ARB_ERR_STS_DRP_VAL_SHIFT                            0
    690#define DMA0_QM_ARB_ERR_STS_DRP_VAL_MASK                             0x3
    691
    692/* DMA0_QM_ARB_MST_CRED_STS */
    693#define DMA0_QM_ARB_MST_CRED_STS_VAL_SHIFT                           0
    694#define DMA0_QM_ARB_MST_CRED_STS_VAL_MASK                            0x7F
    695
    696/* DMA0_QM_CGM_CFG */
    697#define DMA0_QM_CGM_CFG_IDLE_TH_SHIFT                                0
    698#define DMA0_QM_CGM_CFG_IDLE_TH_MASK                                 0xFFF
    699#define DMA0_QM_CGM_CFG_G2F_TH_SHIFT                                 16
    700#define DMA0_QM_CGM_CFG_G2F_TH_MASK                                  0xFF0000
    701#define DMA0_QM_CGM_CFG_CP_IDLE_MASK_SHIFT                           24
    702#define DMA0_QM_CGM_CFG_CP_IDLE_MASK_MASK                            0x1F000000
    703#define DMA0_QM_CGM_CFG_EN_SHIFT                                     31
    704#define DMA0_QM_CGM_CFG_EN_MASK                                      0x80000000
    705
    706/* DMA0_QM_CGM_STS */
    707#define DMA0_QM_CGM_STS_ST_SHIFT                                     0
    708#define DMA0_QM_CGM_STS_ST_MASK                                      0x3
    709#define DMA0_QM_CGM_STS_CG_SHIFT                                     4
    710#define DMA0_QM_CGM_STS_CG_MASK                                      0x10
    711#define DMA0_QM_CGM_STS_AGENT_IDLE_SHIFT                             8
    712#define DMA0_QM_CGM_STS_AGENT_IDLE_MASK                              0x100
    713#define DMA0_QM_CGM_STS_AXI_IDLE_SHIFT                               9
    714#define DMA0_QM_CGM_STS_AXI_IDLE_MASK                                0x200
    715#define DMA0_QM_CGM_STS_CP_IDLE_SHIFT                                10
    716#define DMA0_QM_CGM_STS_CP_IDLE_MASK                                 0x400
    717
    718/* DMA0_QM_CGM_CFG1 */
    719#define DMA0_QM_CGM_CFG1_MASK_TH_SHIFT                               0
    720#define DMA0_QM_CGM_CFG1_MASK_TH_MASK                                0xFF
    721
    722/* DMA0_QM_LOCAL_RANGE_BASE */
    723#define DMA0_QM_LOCAL_RANGE_BASE_VAL_SHIFT                           0
    724#define DMA0_QM_LOCAL_RANGE_BASE_VAL_MASK                            0xFFFF
    725
    726/* DMA0_QM_LOCAL_RANGE_SIZE */
    727#define DMA0_QM_LOCAL_RANGE_SIZE_VAL_SHIFT                           0
    728#define DMA0_QM_LOCAL_RANGE_SIZE_VAL_MASK                            0xFFFF
    729
    730/* DMA0_QM_CSMR_STRICT_PRIO_CFG */
    731#define DMA0_QM_CSMR_STRICT_PRIO_CFG_TYPE_SHIFT                      0
    732#define DMA0_QM_CSMR_STRICT_PRIO_CFG_TYPE_MASK                       0x1
    733
    734/* DMA0_QM_HBW_RD_RATE_LIM_CFG_1 */
    735#define DMA0_QM_HBW_RD_RATE_LIM_CFG_1_TOUT_SHIFT                     0
    736#define DMA0_QM_HBW_RD_RATE_LIM_CFG_1_TOUT_MASK                      0xFF
    737#define DMA0_QM_HBW_RD_RATE_LIM_CFG_1_EN_SHIFT                       31
    738#define DMA0_QM_HBW_RD_RATE_LIM_CFG_1_EN_MASK                        0x80000000
    739
    740/* DMA0_QM_LBW_WR_RATE_LIM_CFG_0 */
    741#define DMA0_QM_LBW_WR_RATE_LIM_CFG_0_RST_TOKEN_SHIFT                0
    742#define DMA0_QM_LBW_WR_RATE_LIM_CFG_0_RST_TOKEN_MASK                 0xFF
    743#define DMA0_QM_LBW_WR_RATE_LIM_CFG_0_SAT_SHIFT                      16
    744#define DMA0_QM_LBW_WR_RATE_LIM_CFG_0_SAT_MASK                       0xFF0000
    745
    746/* DMA0_QM_LBW_WR_RATE_LIM_CFG_1 */
    747#define DMA0_QM_LBW_WR_RATE_LIM_CFG_1_TOUT_SHIFT                     0
    748#define DMA0_QM_LBW_WR_RATE_LIM_CFG_1_TOUT_MASK                      0xFF
    749#define DMA0_QM_LBW_WR_RATE_LIM_CFG_1_EN_SHIFT                       31
    750#define DMA0_QM_LBW_WR_RATE_LIM_CFG_1_EN_MASK                        0x80000000
    751
    752/* DMA0_QM_HBW_RD_RATE_LIM_CFG_0 */
    753#define DMA0_QM_HBW_RD_RATE_LIM_CFG_0_RST_TOKEN_SHIFT                0
    754#define DMA0_QM_HBW_RD_RATE_LIM_CFG_0_RST_TOKEN_MASK                 0xFF
    755#define DMA0_QM_HBW_RD_RATE_LIM_CFG_0_SAT_SHIFT                      16
    756#define DMA0_QM_HBW_RD_RATE_LIM_CFG_0_SAT_MASK                       0xFF0000
    757
    758/* DMA0_QM_GLBL_AXCACHE */
    759#define DMA0_QM_GLBL_AXCACHE_AR_SHIFT                                0
    760#define DMA0_QM_GLBL_AXCACHE_AR_MASK                                 0xF
    761#define DMA0_QM_GLBL_AXCACHE_AW_SHIFT                                16
    762#define DMA0_QM_GLBL_AXCACHE_AW_MASK                                 0xF0000
    763
    764/* DMA0_QM_IND_GW_APB_CFG */
    765#define DMA0_QM_IND_GW_APB_CFG_ADDR_SHIFT                            0
    766#define DMA0_QM_IND_GW_APB_CFG_ADDR_MASK                             0x7FFFFFFF
    767#define DMA0_QM_IND_GW_APB_CFG_CMD_SHIFT                             31
    768#define DMA0_QM_IND_GW_APB_CFG_CMD_MASK                              0x80000000
    769
    770/* DMA0_QM_IND_GW_APB_WDATA */
    771#define DMA0_QM_IND_GW_APB_WDATA_VAL_SHIFT                           0
    772#define DMA0_QM_IND_GW_APB_WDATA_VAL_MASK                            0xFFFFFFFF
    773
    774/* DMA0_QM_IND_GW_APB_RDATA */
    775#define DMA0_QM_IND_GW_APB_RDATA_VAL_SHIFT                           0
    776#define DMA0_QM_IND_GW_APB_RDATA_VAL_MASK                            0xFFFFFFFF
    777
    778/* DMA0_QM_IND_GW_APB_STATUS */
    779#define DMA0_QM_IND_GW_APB_STATUS_RDY_SHIFT                          0
    780#define DMA0_QM_IND_GW_APB_STATUS_RDY_MASK                           0x1
    781#define DMA0_QM_IND_GW_APB_STATUS_ERR_SHIFT                          1
    782#define DMA0_QM_IND_GW_APB_STATUS_ERR_MASK                           0x2
    783
    784/* DMA0_QM_GLBL_ERR_ADDR_LO */
    785#define DMA0_QM_GLBL_ERR_ADDR_LO_VAL_SHIFT                           0
    786#define DMA0_QM_GLBL_ERR_ADDR_LO_VAL_MASK                            0xFFFFFFFF
    787
    788/* DMA0_QM_GLBL_ERR_ADDR_HI */
    789#define DMA0_QM_GLBL_ERR_ADDR_HI_VAL_SHIFT                           0
    790#define DMA0_QM_GLBL_ERR_ADDR_HI_VAL_MASK                            0xFFFFFFFF
    791
    792/* DMA0_QM_GLBL_ERR_WDATA */
    793#define DMA0_QM_GLBL_ERR_WDATA_VAL_SHIFT                             0
    794#define DMA0_QM_GLBL_ERR_WDATA_VAL_MASK                              0xFFFFFFFF
    795
    796/* DMA0_QM_GLBL_MEM_INIT_BUSY */
    797#define DMA0_QM_GLBL_MEM_INIT_BUSY_RBUF_SHIFT                        0
    798#define DMA0_QM_GLBL_MEM_INIT_BUSY_RBUF_MASK                         0xF
    799
    800#endif /* ASIC_REG_DMA0_QM_MASKS_H_ */