Contributors: 1
Author Tokens Token Proportion Commits Commit Proportion
Oded Gabbay 1111 100.00% 1 100.00%
Total 1111 1


/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright 2016-2020 HabanaLabs, Ltd.
 * All Rights Reserved.
 *
 */

/************************************
 ** This is an auto-generated file **
 **       DO NOT EDIT BELOW        **
 ************************************/

#ifndef ASIC_REG_ARC_FARM_KDMA_MASKS_H_
#define ASIC_REG_ARC_FARM_KDMA_MASKS_H_

/*
 *****************************************
 *   ARC_FARM_KDMA
 *   (Prototype: DMA_CORE)
 *****************************************
 */

/* ARC_FARM_KDMA_CFG_0 */
#define ARC_FARM_KDMA_CFG_0_EN_SHIFT 0
#define ARC_FARM_KDMA_CFG_0_EN_MASK 0x1

/* ARC_FARM_KDMA_CFG_1 */
#define ARC_FARM_KDMA_CFG_1_HALT_SHIFT 0
#define ARC_FARM_KDMA_CFG_1_HALT_MASK 0x1
#define ARC_FARM_KDMA_CFG_1_FLUSH_SHIFT 1
#define ARC_FARM_KDMA_CFG_1_FLUSH_MASK 0x2

/* ARC_FARM_KDMA_PROT */
#define ARC_FARM_KDMA_PROT_VAL_SHIFT 0
#define ARC_FARM_KDMA_PROT_VAL_MASK 0x1
#define ARC_FARM_KDMA_PROT_ERR_VAL_SHIFT 1
#define ARC_FARM_KDMA_PROT_ERR_VAL_MASK 0x2

/* ARC_FARM_KDMA_CKG */
#define ARC_FARM_KDMA_CKG_HBW_RBUF_SHIFT 0
#define ARC_FARM_KDMA_CKG_HBW_RBUF_MASK 0x1
#define ARC_FARM_KDMA_CKG_LBW_RBUF_KDMA_SHIFT 1
#define ARC_FARM_KDMA_CKG_LBW_RBUF_KDMA_MASK 0x2
#define ARC_FARM_KDMA_CKG_TE_SHIFT 2
#define ARC_FARM_KDMA_CKG_TE_MASK 0x4

/* ARC_FARM_KDMA_RD_GLBL */
#define ARC_FARM_KDMA_RD_GLBL_LBW_VIA_HBW_SHIFT 0
#define ARC_FARM_KDMA_RD_GLBL_LBW_VIA_HBW_MASK 0x1
#define ARC_FARM_KDMA_RD_GLBL_HBW_FORCE_MISS_SHIFT 4
#define ARC_FARM_KDMA_RD_GLBL_HBW_FORCE_MISS_MASK 0x10
#define ARC_FARM_KDMA_RD_GLBL_LBW_FORCE_MISS_SHIFT 5
#define ARC_FARM_KDMA_RD_GLBL_LBW_FORCE_MISS_MASK 0x20

/* ARC_FARM_KDMA_RD_HBW_MAX_OUTSTAND */
#define ARC_FARM_KDMA_RD_HBW_MAX_OUTSTAND_VAL_SHIFT 0
#define ARC_FARM_KDMA_RD_HBW_MAX_OUTSTAND_VAL_MASK 0xFFF

/* ARC_FARM_KDMA_RD_HBW_MAX_SIZE */
#define ARC_FARM_KDMA_RD_HBW_MAX_SIZE_DATA_SHIFT 0
#define ARC_FARM_KDMA_RD_HBW_MAX_SIZE_DATA_MASK 0xFFF
#define ARC_FARM_KDMA_RD_HBW_MAX_SIZE_MD_SHIFT 16
#define ARC_FARM_KDMA_RD_HBW_MAX_SIZE_MD_MASK 0xFFF0000

/* ARC_FARM_KDMA_RD_HBW_ARCACHE */
#define ARC_FARM_KDMA_RD_HBW_ARCACHE_VAL_SHIFT 0
#define ARC_FARM_KDMA_RD_HBW_ARCACHE_VAL_MASK 0xF

/* ARC_FARM_KDMA_RD_HBW_INFLIGHTS */
#define ARC_FARM_KDMA_RD_HBW_INFLIGHTS_VAL_SHIFT 0
#define ARC_FARM_KDMA_RD_HBW_INFLIGHTS_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_RD_HBW_RATE_LIM_CFG */
#define ARC_FARM_KDMA_RD_HBW_RATE_LIM_CFG_TOUT_SHIFT 0
#define ARC_FARM_KDMA_RD_HBW_RATE_LIM_CFG_TOUT_MASK 0xFF
#define ARC_FARM_KDMA_RD_HBW_RATE_LIM_CFG_SAT_SHIFT 16
#define ARC_FARM_KDMA_RD_HBW_RATE_LIM_CFG_SAT_MASK 0xFF0000
#define ARC_FARM_KDMA_RD_HBW_RATE_LIM_CFG_EN_SHIFT 31
#define ARC_FARM_KDMA_RD_HBW_RATE_LIM_CFG_EN_MASK 0x80000000

/* ARC_FARM_KDMA_RD_LBW_MAX_OUTSTAND */
#define ARC_FARM_KDMA_RD_LBW_MAX_OUTSTAND_VAL_SHIFT 0
#define ARC_FARM_KDMA_RD_LBW_MAX_OUTSTAND_VAL_MASK 0xFFF

/* ARC_FARM_KDMA_RD_LBW_MAX_SIZE */
#define ARC_FARM_KDMA_RD_LBW_MAX_SIZE_DATA_SHIFT 0
#define ARC_FARM_KDMA_RD_LBW_MAX_SIZE_DATA_MASK 0xFFF
#define ARC_FARM_KDMA_RD_LBW_MAX_SIZE_MD_SHIFT 16
#define ARC_FARM_KDMA_RD_LBW_MAX_SIZE_MD_MASK 0xFFF0000

/* ARC_FARM_KDMA_RD_LBW_ARCACHE */
#define ARC_FARM_KDMA_RD_LBW_ARCACHE_VAL_SHIFT 0
#define ARC_FARM_KDMA_RD_LBW_ARCACHE_VAL_MASK 0xF

/* ARC_FARM_KDMA_RD_LBW_INFLIGHTS */
#define ARC_FARM_KDMA_RD_LBW_INFLIGHTS_VAL_SHIFT 0
#define ARC_FARM_KDMA_RD_LBW_INFLIGHTS_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_RD_LBW_RATE_LIM_CFG */
#define ARC_FARM_KDMA_RD_LBW_RATE_LIM_CFG_TOUT_SHIFT 0
#define ARC_FARM_KDMA_RD_LBW_RATE_LIM_CFG_TOUT_MASK 0xFF
#define ARC_FARM_KDMA_RD_LBW_RATE_LIM_CFG_SAT_SHIFT 16
#define ARC_FARM_KDMA_RD_LBW_RATE_LIM_CFG_SAT_MASK 0xFF0000
#define ARC_FARM_KDMA_RD_LBW_RATE_LIM_CFG_EN_SHIFT 31
#define ARC_FARM_KDMA_RD_LBW_RATE_LIM_CFG_EN_MASK 0x80000000

/* ARC_FARM_KDMA_WR_HBW_MAX_OUTSTAND */
#define ARC_FARM_KDMA_WR_HBW_MAX_OUTSTAND_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_HBW_MAX_OUTSTAND_VAL_MASK 0xFFFF

/* ARC_FARM_KDMA_WR_HBW_MAX_AWID */
#define ARC_FARM_KDMA_WR_HBW_MAX_AWID_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_HBW_MAX_AWID_VAL_MASK 0x3FFF

/* ARC_FARM_KDMA_WR_HBW_AWCACHE */
#define ARC_FARM_KDMA_WR_HBW_AWCACHE_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_HBW_AWCACHE_VAL_MASK 0xF

/* ARC_FARM_KDMA_WR_HBW_INFLIGHTS */
#define ARC_FARM_KDMA_WR_HBW_INFLIGHTS_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_HBW_INFLIGHTS_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_WR_HBW_RATE_LIM_CFG */
#define ARC_FARM_KDMA_WR_HBW_RATE_LIM_CFG_TOUT_SHIFT 0
#define ARC_FARM_KDMA_WR_HBW_RATE_LIM_CFG_TOUT_MASK 0xFF
#define ARC_FARM_KDMA_WR_HBW_RATE_LIM_CFG_SAT_SHIFT 16
#define ARC_FARM_KDMA_WR_HBW_RATE_LIM_CFG_SAT_MASK 0xFF0000
#define ARC_FARM_KDMA_WR_HBW_RATE_LIM_CFG_EN_SHIFT 31
#define ARC_FARM_KDMA_WR_HBW_RATE_LIM_CFG_EN_MASK 0x80000000

/* ARC_FARM_KDMA_WR_LBW_MAX_OUTSTAND */
#define ARC_FARM_KDMA_WR_LBW_MAX_OUTSTAND_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_LBW_MAX_OUTSTAND_VAL_MASK 0xFFFF

/* ARC_FARM_KDMA_WR_LBW_MAX_AWID */
#define ARC_FARM_KDMA_WR_LBW_MAX_AWID_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_LBW_MAX_AWID_VAL_MASK 0x7F

/* ARC_FARM_KDMA_WR_LBW_AWCACHE */
#define ARC_FARM_KDMA_WR_LBW_AWCACHE_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_LBW_AWCACHE_VAL_MASK 0xF

/* ARC_FARM_KDMA_WR_LBW_INFLIGHTS */
#define ARC_FARM_KDMA_WR_LBW_INFLIGHTS_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_LBW_INFLIGHTS_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_WR_LBW_RATE_LIM_CFG */
#define ARC_FARM_KDMA_WR_LBW_RATE_LIM_CFG_TOUT_SHIFT 0
#define ARC_FARM_KDMA_WR_LBW_RATE_LIM_CFG_TOUT_MASK 0xFF
#define ARC_FARM_KDMA_WR_LBW_RATE_LIM_CFG_SAT_SHIFT 16
#define ARC_FARM_KDMA_WR_LBW_RATE_LIM_CFG_SAT_MASK 0xFF0000
#define ARC_FARM_KDMA_WR_LBW_RATE_LIM_CFG_EN_SHIFT 31
#define ARC_FARM_KDMA_WR_LBW_RATE_LIM_CFG_EN_MASK 0x80000000

/* ARC_FARM_KDMA_WR_COMP_MAX_OUTSTAND */
#define ARC_FARM_KDMA_WR_COMP_MAX_OUTSTAND_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_COMP_MAX_OUTSTAND_VAL_MASK 0x1F

/* ARC_FARM_KDMA_WR_COMP_AWUSER */
#define ARC_FARM_KDMA_WR_COMP_AWUSER_VAL_SHIFT 0
#define ARC_FARM_KDMA_WR_COMP_AWUSER_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_ERR_CFG */
#define ARC_FARM_KDMA_ERR_CFG_ERR_MSG_EN_SHIFT 0
#define ARC_FARM_KDMA_ERR_CFG_ERR_MSG_EN_MASK 0x1
#define ARC_FARM_KDMA_ERR_CFG_STOP_ON_ERR_SHIFT 1
#define ARC_FARM_KDMA_ERR_CFG_STOP_ON_ERR_MASK 0x2

/* ARC_FARM_KDMA_ERR_CAUSE */
#define ARC_FARM_KDMA_ERR_CAUSE_HBW_RD_ERR_SHIFT 0
#define ARC_FARM_KDMA_ERR_CAUSE_HBW_RD_ERR_MASK 0x1
#define ARC_FARM_KDMA_ERR_CAUSE_HBW_WR_ERR_SHIFT 1
#define ARC_FARM_KDMA_ERR_CAUSE_HBW_WR_ERR_MASK 0x2
#define ARC_FARM_KDMA_ERR_CAUSE_LBW_MSG_WR_ERR_SHIFT 2
#define ARC_FARM_KDMA_ERR_CAUSE_LBW_MSG_WR_ERR_MASK 0x4
#define ARC_FARM_KDMA_ERR_CAUSE_DESC_OVF_SHIFT 3
#define ARC_FARM_KDMA_ERR_CAUSE_DESC_OVF_MASK 0x8
#define ARC_FARM_KDMA_ERR_CAUSE_LBW_RD_ERR_SHIFT 4
#define ARC_FARM_KDMA_ERR_CAUSE_LBW_RD_ERR_MASK 0x10
#define ARC_FARM_KDMA_ERR_CAUSE_LBW_WR_ERR_SHIFT 5
#define ARC_FARM_KDMA_ERR_CAUSE_LBW_WR_ERR_MASK 0x20
#define ARC_FARM_KDMA_ERR_CAUSE_TE_DESC_FIFO_OVFL_SHIFT 6
#define ARC_FARM_KDMA_ERR_CAUSE_TE_DESC_FIFO_OVFL_MASK 0x40
#define ARC_FARM_KDMA_ERR_CAUSE_LIN_DMA_COMMIT_CFG_ERR_SHIFT 7
#define ARC_FARM_KDMA_ERR_CAUSE_LIN_DMA_COMMIT_CFG_ERR_MASK 0x80

/* ARC_FARM_KDMA_ERRMSG_ADDR_LO */
#define ARC_FARM_KDMA_ERRMSG_ADDR_LO_VAL_SHIFT 0
#define ARC_FARM_KDMA_ERRMSG_ADDR_LO_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_ERRMSG_ADDR_HI */
#define ARC_FARM_KDMA_ERRMSG_ADDR_HI_VAL_SHIFT 0
#define ARC_FARM_KDMA_ERRMSG_ADDR_HI_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_ERRMSG_WDATA */
#define ARC_FARM_KDMA_ERRMSG_WDATA_VAL_SHIFT 0
#define ARC_FARM_KDMA_ERRMSG_WDATA_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS0 */
#define ARC_FARM_KDMA_STS0_RD_REQ_CNT_SHIFT 0
#define ARC_FARM_KDMA_STS0_RD_REQ_CNT_MASK 0x7FFF
#define ARC_FARM_KDMA_STS0_WR_REQ_CNT_SHIFT 16
#define ARC_FARM_KDMA_STS0_WR_REQ_CNT_MASK 0x7FFF0000
#define ARC_FARM_KDMA_STS0_BUSY_SHIFT 31
#define ARC_FARM_KDMA_STS0_BUSY_MASK 0x80000000

/* ARC_FARM_KDMA_STS1 */
#define ARC_FARM_KDMA_STS1_IS_HALT_SHIFT 0
#define ARC_FARM_KDMA_STS1_IS_HALT_MASK 0x1

/* ARC_FARM_KDMA_STS_RD_CTX_SEL */
#define ARC_FARM_KDMA_STS_RD_CTX_SEL_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_CTX_SEL_VAL_MASK 0x7
#define ARC_FARM_KDMA_STS_RD_CTX_SEL_STRIDE_SHIFT 8
#define ARC_FARM_KDMA_STS_RD_CTX_SEL_STRIDE_MASK 0x100

/* ARC_FARM_KDMA_STS_RD_CTX_SIZE */
#define ARC_FARM_KDMA_STS_RD_CTX_SIZE_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_CTX_SIZE_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_RD_CTX_BASE_LO */
#define ARC_FARM_KDMA_STS_RD_CTX_BASE_LO_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_CTX_BASE_LO_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_RD_CTX_BASE_HI */
#define ARC_FARM_KDMA_STS_RD_CTX_BASE_HI_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_CTX_BASE_HI_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_RD_CTX_ID */
#define ARC_FARM_KDMA_STS_RD_CTX_ID_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_CTX_ID_VAL_MASK 0xFFFF

/* ARC_FARM_KDMA_STS_RD_HB_AXI_ADDR_LO */
#define ARC_FARM_KDMA_STS_RD_HB_AXI_ADDR_LO_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_HB_AXI_ADDR_LO_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_RD_HB_AXI_ADDR_HI */
#define ARC_FARM_KDMA_STS_RD_HB_AXI_ADDR_HI_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_HB_AXI_ADDR_HI_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_RD_LB_AXI_ADDR */
#define ARC_FARM_KDMA_STS_RD_LB_AXI_ADDR_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_RD_LB_AXI_ADDR_VAL_MASK 0x3FFFFFF
#define ARC_FARM_KDMA_STS_RD_LB_AXI_ADDR_RDY_SHIFT 30
#define ARC_FARM_KDMA_STS_RD_LB_AXI_ADDR_RDY_MASK 0x40000000
#define ARC_FARM_KDMA_STS_RD_LB_AXI_ADDR_VLD_SHIFT 31
#define ARC_FARM_KDMA_STS_RD_LB_AXI_ADDR_VLD_MASK 0x80000000

/* ARC_FARM_KDMA_STS_WR_CTX_SEL */
#define ARC_FARM_KDMA_STS_WR_CTX_SEL_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_CTX_SEL_VAL_MASK 0x7
#define ARC_FARM_KDMA_STS_WR_CTX_SEL_STRIDE_SHIFT 8
#define ARC_FARM_KDMA_STS_WR_CTX_SEL_STRIDE_MASK 0x100

/* ARC_FARM_KDMA_STS_WR_CTX_SIZE */
#define ARC_FARM_KDMA_STS_WR_CTX_SIZE_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_CTX_SIZE_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_WR_CTX_BASE_LO */
#define ARC_FARM_KDMA_STS_WR_CTX_BASE_LO_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_CTX_BASE_LO_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_WR_CTX_BASE_HI */
#define ARC_FARM_KDMA_STS_WR_CTX_BASE_HI_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_CTX_BASE_HI_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_WR_CTX_ID */
#define ARC_FARM_KDMA_STS_WR_CTX_ID_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_CTX_ID_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_LO */
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_LO_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_LO_VAL_MASK 0x3FFFF
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_LO_RDY_SHIFT 30
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_LO_RDY_MASK 0x40000000
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_LO_VLD_SHIFT 31
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_LO_VLD_MASK 0x80000000

/* ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_HI */
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_HI_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_HI_VAL_MASK 0x3FFFF
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_HI_RDY_SHIFT 30
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_HI_RDY_MASK 0x40000000
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_HI_VLD_SHIFT 31
#define ARC_FARM_KDMA_STS_WR_HB_AXI_ADDR_HI_VLD_MASK 0x80000000

/* ARC_FARM_KDMA_STS_WR_LB_AXI_ADDR */
#define ARC_FARM_KDMA_STS_WR_LB_AXI_ADDR_VAL_SHIFT 0
#define ARC_FARM_KDMA_STS_WR_LB_AXI_ADDR_VAL_MASK 0x3FFFFFF
#define ARC_FARM_KDMA_STS_WR_LB_AXI_ADDR_RDY_SHIFT 30
#define ARC_FARM_KDMA_STS_WR_LB_AXI_ADDR_RDY_MASK 0x40000000
#define ARC_FARM_KDMA_STS_WR_LB_AXI_ADDR_VLD_SHIFT 31
#define ARC_FARM_KDMA_STS_WR_LB_AXI_ADDR_VLD_MASK 0x80000000

/* ARC_FARM_KDMA_PWRLP_CFG */
#define ARC_FARM_KDMA_PWRLP_CFG_GLBL_EN_SHIFT 0
#define ARC_FARM_KDMA_PWRLP_CFG_GLBL_EN_MASK 0x1
#define ARC_FARM_KDMA_PWRLP_CFG_CLR_SHIFT 4
#define ARC_FARM_KDMA_PWRLP_CFG_CLR_MASK 0x10

/* ARC_FARM_KDMA_PWRLP_STS */
#define ARC_FARM_KDMA_PWRLP_STS_RLVL_SHIFT 0
#define ARC_FARM_KDMA_PWRLP_STS_RLVL_MASK 0x7F
#define ARC_FARM_KDMA_PWRLP_STS_WLVL_SHIFT 8
#define ARC_FARM_KDMA_PWRLP_STS_WLVL_MASK 0x7F00
#define ARC_FARM_KDMA_PWRLP_STS_RCNT_SHIFT 16
#define ARC_FARM_KDMA_PWRLP_STS_RCNT_MASK 0x7F0000
#define ARC_FARM_KDMA_PWRLP_STS_WCNT_SHIFT 23
#define ARC_FARM_KDMA_PWRLP_STS_WCNT_MASK 0x3F800000
#define ARC_FARM_KDMA_PWRLP_STS_RFULL_SHIFT 30
#define ARC_FARM_KDMA_PWRLP_STS_RFULL_MASK 0x40000000
#define ARC_FARM_KDMA_PWRLP_STS_WFULL_SHIFT 31
#define ARC_FARM_KDMA_PWRLP_STS_WFULL_MASK 0x80000000

/* ARC_FARM_KDMA_DBG_DESC_CNT */
#define ARC_FARM_KDMA_DBG_DESC_CNT_VAL_SHIFT 0
#define ARC_FARM_KDMA_DBG_DESC_CNT_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_DBG_STS */
#define ARC_FARM_KDMA_DBG_STS_RD_CTX_FULL_SHIFT 0
#define ARC_FARM_KDMA_DBG_STS_RD_CTX_FULL_MASK 0x1
#define ARC_FARM_KDMA_DBG_STS_WR_CTX_FULL_SHIFT 1
#define ARC_FARM_KDMA_DBG_STS_WR_CTX_FULL_MASK 0x2
#define ARC_FARM_KDMA_DBG_STS_WR_COMP_FULL_SHIFT 2
#define ARC_FARM_KDMA_DBG_STS_WR_COMP_FULL_MASK 0x4
#define ARC_FARM_KDMA_DBG_STS_RD_CTX_EMPTY_SHIFT 3
#define ARC_FARM_KDMA_DBG_STS_RD_CTX_EMPTY_MASK 0x8
#define ARC_FARM_KDMA_DBG_STS_WR_CTX_EMPTY_SHIFT 4
#define ARC_FARM_KDMA_DBG_STS_WR_CTX_EMPTY_MASK 0x10
#define ARC_FARM_KDMA_DBG_STS_WR_COMP_EMPTY_SHIFT 5
#define ARC_FARM_KDMA_DBG_STS_WR_COMP_EMPTY_MASK 0x20
#define ARC_FARM_KDMA_DBG_STS_TE_EMPTY_SHIFT 6
#define ARC_FARM_KDMA_DBG_STS_TE_EMPTY_MASK 0x40
#define ARC_FARM_KDMA_DBG_STS_TE_BUSY_SHIFT 7
#define ARC_FARM_KDMA_DBG_STS_TE_BUSY_MASK 0x80
#define ARC_FARM_KDMA_DBG_STS_GSKT_EMPTY_SHIFT 8
#define ARC_FARM_KDMA_DBG_STS_GSKT_EMPTY_MASK 0x100
#define ARC_FARM_KDMA_DBG_STS_GSKT_FULL_SHIFT 9
#define ARC_FARM_KDMA_DBG_STS_GSKT_FULL_MASK 0x200
#define ARC_FARM_KDMA_DBG_STS_RD_AGU_CS_SHIFT 10
#define ARC_FARM_KDMA_DBG_STS_RD_AGU_CS_MASK 0x400
#define ARC_FARM_KDMA_DBG_STS_WR_AGU_CS_SHIFT 11
#define ARC_FARM_KDMA_DBG_STS_WR_AGU_CS_MASK 0x800

/* ARC_FARM_KDMA_DBG_BUF_STS */
#define ARC_FARM_KDMA_DBG_BUF_STS_HBW_FULLNESS_SHIFT 0
#define ARC_FARM_KDMA_DBG_BUF_STS_HBW_FULLNESS_MASK 0xFFF
#define ARC_FARM_KDMA_DBG_BUF_STS_LBW_FULLNESS_SHIFT 16
#define ARC_FARM_KDMA_DBG_BUF_STS_LBW_FULLNESS_MASK 0xFFF0000

/* ARC_FARM_KDMA_DBG_RD_DESC_ID */
#define ARC_FARM_KDMA_DBG_RD_DESC_ID_VAL_SHIFT 0
#define ARC_FARM_KDMA_DBG_RD_DESC_ID_VAL_MASK 0xFFFF

/* ARC_FARM_KDMA_DBG_WR_DESC_ID */
#define ARC_FARM_KDMA_DBG_WR_DESC_ID_VAL_SHIFT 0
#define ARC_FARM_KDMA_DBG_WR_DESC_ID_VAL_MASK 0xFFFF

/* ARC_FARM_KDMA_APB_DMA_LBW_BASE */
#define ARC_FARM_KDMA_APB_DMA_LBW_BASE_VAL_SHIFT 0
#define ARC_FARM_KDMA_APB_DMA_LBW_BASE_VAL_MASK 0xFFFF

/* ARC_FARM_KDMA_APB_MSTR_IF_LBW_BASE */
#define ARC_FARM_KDMA_APB_MSTR_IF_LBW_BASE_VAL_SHIFT 0
#define ARC_FARM_KDMA_APB_MSTR_IF_LBW_BASE_VAL_MASK 0xFFFF

/* ARC_FARM_KDMA_E2E_CRED_ASYNC_CFG */
#define ARC_FARM_KDMA_E2E_CRED_ASYNC_CFG_Y_X_FORCE_SHIFT 0
#define ARC_FARM_KDMA_E2E_CRED_ASYNC_CFG_Y_X_FORCE_MASK 0x1FF
#define ARC_FARM_KDMA_E2E_CRED_ASYNC_CFG_FORCE_EN_SHIFT 9
#define ARC_FARM_KDMA_E2E_CRED_ASYNC_CFG_FORCE_EN_MASK 0x200

/* ARC_FARM_KDMA_DBG_APB_ENABLER */
#define ARC_FARM_KDMA_DBG_APB_ENABLER_DIS_SHIFT 0
#define ARC_FARM_KDMA_DBG_APB_ENABLER_DIS_MASK 0x1

/* ARC_FARM_KDMA_L2H_CMPR_LO */
#define ARC_FARM_KDMA_L2H_CMPR_LO_VAL_SHIFT 20
#define ARC_FARM_KDMA_L2H_CMPR_LO_VAL_MASK 0xFFF00000

/* ARC_FARM_KDMA_L2H_CMPR_HI */
#define ARC_FARM_KDMA_L2H_CMPR_HI_VAL_SHIFT 0
#define ARC_FARM_KDMA_L2H_CMPR_HI_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_L2H_MASK_LO */
#define ARC_FARM_KDMA_L2H_MASK_LO_VAL_SHIFT 20
#define ARC_FARM_KDMA_L2H_MASK_LO_VAL_MASK 0xFFF00000

/* ARC_FARM_KDMA_L2H_MASK_HI */
#define ARC_FARM_KDMA_L2H_MASK_HI_VAL_SHIFT 0
#define ARC_FARM_KDMA_L2H_MASK_HI_VAL_MASK 0xFFFFFFFF

/* ARC_FARM_KDMA_IDLE_IND_MASK */
#define ARC_FARM_KDMA_IDLE_IND_MASK_DESC_SHIFT 0
#define ARC_FARM_KDMA_IDLE_IND_MASK_DESC_MASK 0x1
#define ARC_FARM_KDMA_IDLE_IND_MASK_COMP_SHIFT 1
#define ARC_FARM_KDMA_IDLE_IND_MASK_COMP_MASK 0x2
#define ARC_FARM_KDMA_IDLE_IND_MASK_INSTAGE_SHIFT 2
#define ARC_FARM_KDMA_IDLE_IND_MASK_INSTAGE_MASK 0x4
#define ARC_FARM_KDMA_IDLE_IND_MASK_CORE_SHIFT 3
#define ARC_FARM_KDMA_IDLE_IND_MASK_CORE_MASK 0x8
#define ARC_FARM_KDMA_IDLE_IND_MASK_DESC_CNT_STS_SHIFT 8
#define ARC_FARM_KDMA_IDLE_IND_MASK_DESC_CNT_STS_MASK 0x1F00
#define ARC_FARM_KDMA_IDLE_IND_MASK_COMP_CNT_STS_SHIFT 16
#define ARC_FARM_KDMA_IDLE_IND_MASK_COMP_CNT_STS_MASK 0x1F0000
#define ARC_FARM_KDMA_IDLE_IND_MASK_INSTAGE_EMPTY_SHIFT 24
#define ARC_FARM_KDMA_IDLE_IND_MASK_INSTAGE_EMPTY_MASK 0x1000000
#define ARC_FARM_KDMA_IDLE_IND_MASK_CORE_IDLE_STS_SHIFT 25
#define ARC_FARM_KDMA_IDLE_IND_MASK_CORE_IDLE_STS_MASK 0x2000000

/* ARC_FARM_KDMA_APB_ENABLER */
#define ARC_FARM_KDMA_APB_ENABLER_DIS_SHIFT 0
#define ARC_FARM_KDMA_APB_ENABLER_DIS_MASK 0x1

#endif /* ASIC_REG_ARC_FARM_KDMA_MASKS_H_ */