522 lines
35 KiB
C
522 lines
35 KiB
C
|
/***************************************************************************
|
||
|
* __________ __ ___.
|
||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||
|
* \/ \/ \/ \/ \/
|
||
|
* This file was automatically generated by headergen, DO NOT EDIT it.
|
||
|
* headergen version: 3.0.0
|
||
|
* stmp3700 version: 2.4.0
|
||
|
* stmp3700 authors: Amaury Pouly
|
||
|
*
|
||
|
* Copyright (C) 2015 by the authors
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU General Public License
|
||
|
* as published by the Free Software Foundation; either version 2
|
||
|
* of the License, or (at your option) any later version.
|
||
|
*
|
||
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||
|
* KIND, either express or implied.
|
||
|
*
|
||
|
****************************************************************************/
|
||
|
#ifndef __HEADERGEN_STMP3700_ECC8_H__
|
||
|
#define __HEADERGEN_STMP3700_ECC8_H__
|
||
|
|
||
|
#define HW_ECC8_CTRL HW(ECC8_CTRL)
|
||
|
#define HWA_ECC8_CTRL (0x80008000 + 0x0)
|
||
|
#define HWT_ECC8_CTRL HWIO_32_RW
|
||
|
#define HWN_ECC8_CTRL ECC8_CTRL
|
||
|
#define HWI_ECC8_CTRL
|
||
|
#define HW_ECC8_CTRL_SET HW(ECC8_CTRL_SET)
|
||
|
#define HWA_ECC8_CTRL_SET (HWA_ECC8_CTRL + 0x4)
|
||
|
#define HWT_ECC8_CTRL_SET HWIO_32_WO
|
||
|
#define HWN_ECC8_CTRL_SET ECC8_CTRL
|
||
|
#define HWI_ECC8_CTRL_SET
|
||
|
#define HW_ECC8_CTRL_CLR HW(ECC8_CTRL_CLR)
|
||
|
#define HWA_ECC8_CTRL_CLR (HWA_ECC8_CTRL + 0x8)
|
||
|
#define HWT_ECC8_CTRL_CLR HWIO_32_WO
|
||
|
#define HWN_ECC8_CTRL_CLR ECC8_CTRL
|
||
|
#define HWI_ECC8_CTRL_CLR
|
||
|
#define HW_ECC8_CTRL_TOG HW(ECC8_CTRL_TOG)
|
||
|
#define HWA_ECC8_CTRL_TOG (HWA_ECC8_CTRL + 0xc)
|
||
|
#define HWT_ECC8_CTRL_TOG HWIO_32_WO
|
||
|
#define HWN_ECC8_CTRL_TOG ECC8_CTRL
|
||
|
#define HWI_ECC8_CTRL_TOG
|
||
|
#define BP_ECC8_CTRL_SFTRST 31
|
||
|
#define BM_ECC8_CTRL_SFTRST 0x80000000
|
||
|
#define BV_ECC8_CTRL_SFTRST__RUN 0x0
|
||
|
#define BV_ECC8_CTRL_SFTRST__RESET 0x1
|
||
|
#define BF_ECC8_CTRL_SFTRST(v) (((v) & 0x1) << 31)
|
||
|
#define BFM_ECC8_CTRL_SFTRST(v) BM_ECC8_CTRL_SFTRST
|
||
|
#define BF_ECC8_CTRL_SFTRST_V(e) BF_ECC8_CTRL_SFTRST(BV_ECC8_CTRL_SFTRST__##e)
|
||
|
#define BFM_ECC8_CTRL_SFTRST_V(v) BM_ECC8_CTRL_SFTRST
|
||
|
#define BP_ECC8_CTRL_CLKGATE 30
|
||
|
#define BM_ECC8_CTRL_CLKGATE 0x40000000
|
||
|
#define BV_ECC8_CTRL_CLKGATE__RUN 0x0
|
||
|
#define BV_ECC8_CTRL_CLKGATE__NO_CLKS 0x1
|
||
|
#define BF_ECC8_CTRL_CLKGATE(v) (((v) & 0x1) << 30)
|
||
|
#define BFM_ECC8_CTRL_CLKGATE(v) BM_ECC8_CTRL_CLKGATE
|
||
|
#define BF_ECC8_CTRL_CLKGATE_V(e) BF_ECC8_CTRL_CLKGATE(BV_ECC8_CTRL_CLKGATE__##e)
|
||
|
#define BFM_ECC8_CTRL_CLKGATE_V(v) BM_ECC8_CTRL_CLKGATE
|
||
|
#define BP_ECC8_CTRL_AHBM_SFTRST 29
|
||
|
#define BM_ECC8_CTRL_AHBM_SFTRST 0x20000000
|
||
|
#define BV_ECC8_CTRL_AHBM_SFTRST__RUN 0x0
|
||
|
#define BV_ECC8_CTRL_AHBM_SFTRST__RESET 0x1
|
||
|
#define BF_ECC8_CTRL_AHBM_SFTRST(v) (((v) & 0x1) << 29)
|
||
|
#define BFM_ECC8_CTRL_AHBM_SFTRST(v) BM_ECC8_CTRL_AHBM_SFTRST
|
||
|
#define BF_ECC8_CTRL_AHBM_SFTRST_V(e) BF_ECC8_CTRL_AHBM_SFTRST(BV_ECC8_CTRL_AHBM_SFTRST__##e)
|
||
|
#define BFM_ECC8_CTRL_AHBM_SFTRST_V(v) BM_ECC8_CTRL_AHBM_SFTRST
|
||
|
#define BP_ECC8_CTRL_THROTTLE 24
|
||
|
#define BM_ECC8_CTRL_THROTTLE 0xf000000
|
||
|
#define BF_ECC8_CTRL_THROTTLE(v) (((v) & 0xf) << 24)
|
||
|
#define BFM_ECC8_CTRL_THROTTLE(v) BM_ECC8_CTRL_THROTTLE
|
||
|
#define BF_ECC8_CTRL_THROTTLE_V(e) BF_ECC8_CTRL_THROTTLE(BV_ECC8_CTRL_THROTTLE__##e)
|
||
|
#define BFM_ECC8_CTRL_THROTTLE_V(v) BM_ECC8_CTRL_THROTTLE
|
||
|
#define BP_ECC8_CTRL_DEBUG_STALL_IRQ_EN 10
|
||
|
#define BM_ECC8_CTRL_DEBUG_STALL_IRQ_EN 0x400
|
||
|
#define BF_ECC8_CTRL_DEBUG_STALL_IRQ_EN(v) (((v) & 0x1) << 10)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_STALL_IRQ_EN(v) BM_ECC8_CTRL_DEBUG_STALL_IRQ_EN
|
||
|
#define BF_ECC8_CTRL_DEBUG_STALL_IRQ_EN_V(e) BF_ECC8_CTRL_DEBUG_STALL_IRQ_EN(BV_ECC8_CTRL_DEBUG_STALL_IRQ_EN__##e)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_STALL_IRQ_EN_V(v) BM_ECC8_CTRL_DEBUG_STALL_IRQ_EN
|
||
|
#define BP_ECC8_CTRL_DEBUG_WRITE_IRQ_EN 9
|
||
|
#define BM_ECC8_CTRL_DEBUG_WRITE_IRQ_EN 0x200
|
||
|
#define BF_ECC8_CTRL_DEBUG_WRITE_IRQ_EN(v) (((v) & 0x1) << 9)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_WRITE_IRQ_EN(v) BM_ECC8_CTRL_DEBUG_WRITE_IRQ_EN
|
||
|
#define BF_ECC8_CTRL_DEBUG_WRITE_IRQ_EN_V(e) BF_ECC8_CTRL_DEBUG_WRITE_IRQ_EN(BV_ECC8_CTRL_DEBUG_WRITE_IRQ_EN__##e)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_WRITE_IRQ_EN_V(v) BM_ECC8_CTRL_DEBUG_WRITE_IRQ_EN
|
||
|
#define BP_ECC8_CTRL_COMPLETE_IRQ_EN 8
|
||
|
#define BM_ECC8_CTRL_COMPLETE_IRQ_EN 0x100
|
||
|
#define BF_ECC8_CTRL_COMPLETE_IRQ_EN(v) (((v) & 0x1) << 8)
|
||
|
#define BFM_ECC8_CTRL_COMPLETE_IRQ_EN(v) BM_ECC8_CTRL_COMPLETE_IRQ_EN
|
||
|
#define BF_ECC8_CTRL_COMPLETE_IRQ_EN_V(e) BF_ECC8_CTRL_COMPLETE_IRQ_EN(BV_ECC8_CTRL_COMPLETE_IRQ_EN__##e)
|
||
|
#define BFM_ECC8_CTRL_COMPLETE_IRQ_EN_V(v) BM_ECC8_CTRL_COMPLETE_IRQ_EN
|
||
|
#define BP_ECC8_CTRL_BM_ERROR_IRQ 3
|
||
|
#define BM_ECC8_CTRL_BM_ERROR_IRQ 0x8
|
||
|
#define BF_ECC8_CTRL_BM_ERROR_IRQ(v) (((v) & 0x1) << 3)
|
||
|
#define BFM_ECC8_CTRL_BM_ERROR_IRQ(v) BM_ECC8_CTRL_BM_ERROR_IRQ
|
||
|
#define BF_ECC8_CTRL_BM_ERROR_IRQ_V(e) BF_ECC8_CTRL_BM_ERROR_IRQ(BV_ECC8_CTRL_BM_ERROR_IRQ__##e)
|
||
|
#define BFM_ECC8_CTRL_BM_ERROR_IRQ_V(v) BM_ECC8_CTRL_BM_ERROR_IRQ
|
||
|
#define BP_ECC8_CTRL_DEBUG_STALL_IRQ 2
|
||
|
#define BM_ECC8_CTRL_DEBUG_STALL_IRQ 0x4
|
||
|
#define BF_ECC8_CTRL_DEBUG_STALL_IRQ(v) (((v) & 0x1) << 2)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_STALL_IRQ(v) BM_ECC8_CTRL_DEBUG_STALL_IRQ
|
||
|
#define BF_ECC8_CTRL_DEBUG_STALL_IRQ_V(e) BF_ECC8_CTRL_DEBUG_STALL_IRQ(BV_ECC8_CTRL_DEBUG_STALL_IRQ__##e)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_STALL_IRQ_V(v) BM_ECC8_CTRL_DEBUG_STALL_IRQ
|
||
|
#define BP_ECC8_CTRL_DEBUG_WRITE_IRQ 1
|
||
|
#define BM_ECC8_CTRL_DEBUG_WRITE_IRQ 0x2
|
||
|
#define BF_ECC8_CTRL_DEBUG_WRITE_IRQ(v) (((v) & 0x1) << 1)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_WRITE_IRQ(v) BM_ECC8_CTRL_DEBUG_WRITE_IRQ
|
||
|
#define BF_ECC8_CTRL_DEBUG_WRITE_IRQ_V(e) BF_ECC8_CTRL_DEBUG_WRITE_IRQ(BV_ECC8_CTRL_DEBUG_WRITE_IRQ__##e)
|
||
|
#define BFM_ECC8_CTRL_DEBUG_WRITE_IRQ_V(v) BM_ECC8_CTRL_DEBUG_WRITE_IRQ
|
||
|
#define BP_ECC8_CTRL_COMPLETE_IRQ 0
|
||
|
#define BM_ECC8_CTRL_COMPLETE_IRQ 0x1
|
||
|
#define BF_ECC8_CTRL_COMPLETE_IRQ(v) (((v) & 0x1) << 0)
|
||
|
#define BFM_ECC8_CTRL_COMPLETE_IRQ(v) BM_ECC8_CTRL_COMPLETE_IRQ
|
||
|
#define BF_ECC8_CTRL_COMPLETE_IRQ_V(e) BF_ECC8_CTRL_COMPLETE_IRQ(BV_ECC8_CTRL_COMPLETE_IRQ__##e)
|
||
|
#define BFM_ECC8_CTRL_COMPLETE_IRQ_V(v) BM_ECC8_CTRL_COMPLETE_IRQ
|
||
|
|
||
|
#define HW_ECC8_STATUS0 HW(ECC8_STATUS0)
|
||
|
#define HWA_ECC8_STATUS0 (0x80008000 + 0x10)
|
||
|
#define HWT_ECC8_STATUS0 HWIO_32_RW
|
||
|
#define HWN_ECC8_STATUS0 ECC8_STATUS0
|
||
|
#define HWI_ECC8_STATUS0
|
||
|
#define BP_ECC8_STATUS0_HANDLE 16
|
||
|
#define BM_ECC8_STATUS0_HANDLE 0xffff0000
|
||
|
#define BF_ECC8_STATUS0_HANDLE(v) (((v) & 0xffff) << 16)
|
||
|
#define BFM_ECC8_STATUS0_HANDLE(v) BM_ECC8_STATUS0_HANDLE
|
||
|
#define BF_ECC8_STATUS0_HANDLE_V(e) BF_ECC8_STATUS0_HANDLE(BV_ECC8_STATUS0_HANDLE__##e)
|
||
|
#define BFM_ECC8_STATUS0_HANDLE_V(v) BM_ECC8_STATUS0_HANDLE
|
||
|
#define BP_ECC8_STATUS0_RS8ECC_ENC_PRESENT 15
|
||
|
#define BM_ECC8_STATUS0_RS8ECC_ENC_PRESENT 0x8000
|
||
|
#define BF_ECC8_STATUS0_RS8ECC_ENC_PRESENT(v) (((v) & 0x1) << 15)
|
||
|
#define BFM_ECC8_STATUS0_RS8ECC_ENC_PRESENT(v) BM_ECC8_STATUS0_RS8ECC_ENC_PRESENT
|
||
|
#define BF_ECC8_STATUS0_RS8ECC_ENC_PRESENT_V(e) BF_ECC8_STATUS0_RS8ECC_ENC_PRESENT(BV_ECC8_STATUS0_RS8ECC_ENC_PRESENT__##e)
|
||
|
#define BFM_ECC8_STATUS0_RS8ECC_ENC_PRESENT_V(v) BM_ECC8_STATUS0_RS8ECC_ENC_PRESENT
|
||
|
#define BP_ECC8_STATUS0_RS8ECC_DEC_PRESENT 14
|
||
|
#define BM_ECC8_STATUS0_RS8ECC_DEC_PRESENT 0x4000
|
||
|
#define BF_ECC8_STATUS0_RS8ECC_DEC_PRESENT(v) (((v) & 0x1) << 14)
|
||
|
#define BFM_ECC8_STATUS0_RS8ECC_DEC_PRESENT(v) BM_ECC8_STATUS0_RS8ECC_DEC_PRESENT
|
||
|
#define BF_ECC8_STATUS0_RS8ECC_DEC_PRESENT_V(e) BF_ECC8_STATUS0_RS8ECC_DEC_PRESENT(BV_ECC8_STATUS0_RS8ECC_DEC_PRESENT__##e)
|
||
|
#define BFM_ECC8_STATUS0_RS8ECC_DEC_PRESENT_V(v) BM_ECC8_STATUS0_RS8ECC_DEC_PRESENT
|
||
|
#define BP_ECC8_STATUS0_RS4ECC_ENC_PRESENT 13
|
||
|
#define BM_ECC8_STATUS0_RS4ECC_ENC_PRESENT 0x2000
|
||
|
#define BF_ECC8_STATUS0_RS4ECC_ENC_PRESENT(v) (((v) & 0x1) << 13)
|
||
|
#define BFM_ECC8_STATUS0_RS4ECC_ENC_PRESENT(v) BM_ECC8_STATUS0_RS4ECC_ENC_PRESENT
|
||
|
#define BF_ECC8_STATUS0_RS4ECC_ENC_PRESENT_V(e) BF_ECC8_STATUS0_RS4ECC_ENC_PRESENT(BV_ECC8_STATUS0_RS4ECC_ENC_PRESENT__##e)
|
||
|
#define BFM_ECC8_STATUS0_RS4ECC_ENC_PRESENT_V(v) BM_ECC8_STATUS0_RS4ECC_ENC_PRESENT
|
||
|
#define BP_ECC8_STATUS0_RS4ECC_DEC_PRESENT 12
|
||
|
#define BM_ECC8_STATUS0_RS4ECC_DEC_PRESENT 0x1000
|
||
|
#define BF_ECC8_STATUS0_RS4ECC_DEC_PRESENT(v) (((v) & 0x1) << 12)
|
||
|
#define BFM_ECC8_STATUS0_RS4ECC_DEC_PRESENT(v) BM_ECC8_STATUS0_RS4ECC_DEC_PRESENT
|
||
|
#define BF_ECC8_STATUS0_RS4ECC_DEC_PRESENT_V(e) BF_ECC8_STATUS0_RS4ECC_DEC_PRESENT(BV_ECC8_STATUS0_RS4ECC_DEC_PRESENT__##e)
|
||
|
#define BFM_ECC8_STATUS0_RS4ECC_DEC_PRESENT_V(v) BM_ECC8_STATUS0_RS4ECC_DEC_PRESENT
|
||
|
#define BP_ECC8_STATUS0_STATUS_AUX 8
|
||
|
#define BM_ECC8_STATUS0_STATUS_AUX 0xf00
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS0_STATUS_AUX__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS0_STATUS_AUX(v) (((v) & 0xf) << 8)
|
||
|
#define BFM_ECC8_STATUS0_STATUS_AUX(v) BM_ECC8_STATUS0_STATUS_AUX
|
||
|
#define BF_ECC8_STATUS0_STATUS_AUX_V(e) BF_ECC8_STATUS0_STATUS_AUX(BV_ECC8_STATUS0_STATUS_AUX__##e)
|
||
|
#define BFM_ECC8_STATUS0_STATUS_AUX_V(v) BM_ECC8_STATUS0_STATUS_AUX
|
||
|
#define BP_ECC8_STATUS0_ALLONES 4
|
||
|
#define BM_ECC8_STATUS0_ALLONES 0x10
|
||
|
#define BF_ECC8_STATUS0_ALLONES(v) (((v) & 0x1) << 4)
|
||
|
#define BFM_ECC8_STATUS0_ALLONES(v) BM_ECC8_STATUS0_ALLONES
|
||
|
#define BF_ECC8_STATUS0_ALLONES_V(e) BF_ECC8_STATUS0_ALLONES(BV_ECC8_STATUS0_ALLONES__##e)
|
||
|
#define BFM_ECC8_STATUS0_ALLONES_V(v) BM_ECC8_STATUS0_ALLONES
|
||
|
#define BP_ECC8_STATUS0_CORRECTED 3
|
||
|
#define BM_ECC8_STATUS0_CORRECTED 0x8
|
||
|
#define BF_ECC8_STATUS0_CORRECTED(v) (((v) & 0x1) << 3)
|
||
|
#define BFM_ECC8_STATUS0_CORRECTED(v) BM_ECC8_STATUS0_CORRECTED
|
||
|
#define BF_ECC8_STATUS0_CORRECTED_V(e) BF_ECC8_STATUS0_CORRECTED(BV_ECC8_STATUS0_CORRECTED__##e)
|
||
|
#define BFM_ECC8_STATUS0_CORRECTED_V(v) BM_ECC8_STATUS0_CORRECTED
|
||
|
#define BP_ECC8_STATUS0_UNCORRECTABLE 2
|
||
|
#define BM_ECC8_STATUS0_UNCORRECTABLE 0x4
|
||
|
#define BF_ECC8_STATUS0_UNCORRECTABLE(v) (((v) & 0x1) << 2)
|
||
|
#define BFM_ECC8_STATUS0_UNCORRECTABLE(v) BM_ECC8_STATUS0_UNCORRECTABLE
|
||
|
#define BF_ECC8_STATUS0_UNCORRECTABLE_V(e) BF_ECC8_STATUS0_UNCORRECTABLE(BV_ECC8_STATUS0_UNCORRECTABLE__##e)
|
||
|
#define BFM_ECC8_STATUS0_UNCORRECTABLE_V(v) BM_ECC8_STATUS0_UNCORRECTABLE
|
||
|
#define BP_ECC8_STATUS0_COMPLETED_CE 0
|
||
|
#define BM_ECC8_STATUS0_COMPLETED_CE 0x3
|
||
|
#define BF_ECC8_STATUS0_COMPLETED_CE(v) (((v) & 0x3) << 0)
|
||
|
#define BFM_ECC8_STATUS0_COMPLETED_CE(v) BM_ECC8_STATUS0_COMPLETED_CE
|
||
|
#define BF_ECC8_STATUS0_COMPLETED_CE_V(e) BF_ECC8_STATUS0_COMPLETED_CE(BV_ECC8_STATUS0_COMPLETED_CE__##e)
|
||
|
#define BFM_ECC8_STATUS0_COMPLETED_CE_V(v) BM_ECC8_STATUS0_COMPLETED_CE
|
||
|
|
||
|
#define HW_ECC8_STATUS1 HW(ECC8_STATUS1)
|
||
|
#define HWA_ECC8_STATUS1 (0x80008000 + 0x20)
|
||
|
#define HWT_ECC8_STATUS1 HWIO_32_RW
|
||
|
#define HWN_ECC8_STATUS1 ECC8_STATUS1
|
||
|
#define HWI_ECC8_STATUS1
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD7 28
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD7 0xf0000000
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD7__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD7(v) (((v) & 0xf) << 28)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD7(v) BM_ECC8_STATUS1_STATUS_PAYLOAD7
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD7_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD7(BV_ECC8_STATUS1_STATUS_PAYLOAD7__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD7_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD7
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD6 24
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD6 0xf000000
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD6__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD6(v) (((v) & 0xf) << 24)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD6(v) BM_ECC8_STATUS1_STATUS_PAYLOAD6
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD6_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD6(BV_ECC8_STATUS1_STATUS_PAYLOAD6__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD6_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD6
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD5 20
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD5 0xf00000
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD5__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD5(v) (((v) & 0xf) << 20)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD5(v) BM_ECC8_STATUS1_STATUS_PAYLOAD5
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD5_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD5(BV_ECC8_STATUS1_STATUS_PAYLOAD5__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD5_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD5
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD4 16
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD4 0xf0000
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD4__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD4(v) (((v) & 0xf) << 16)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD4(v) BM_ECC8_STATUS1_STATUS_PAYLOAD4
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD4_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD4(BV_ECC8_STATUS1_STATUS_PAYLOAD4__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD4_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD4
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD3 12
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD3 0xf000
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD3__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD3(v) (((v) & 0xf) << 12)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD3(v) BM_ECC8_STATUS1_STATUS_PAYLOAD3
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD3_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD3(BV_ECC8_STATUS1_STATUS_PAYLOAD3__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD3_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD3
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD2 8
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD2 0xf00
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD2__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD2(v) (((v) & 0xf) << 8)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD2(v) BM_ECC8_STATUS1_STATUS_PAYLOAD2
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD2_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD2(BV_ECC8_STATUS1_STATUS_PAYLOAD2__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD2_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD2
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD1 4
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD1 0xf0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD1__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD1(v) (((v) & 0xf) << 4)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD1(v) BM_ECC8_STATUS1_STATUS_PAYLOAD1
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD1_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD1(BV_ECC8_STATUS1_STATUS_PAYLOAD1__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD1_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD1
|
||
|
#define BP_ECC8_STATUS1_STATUS_PAYLOAD0 0
|
||
|
#define BM_ECC8_STATUS1_STATUS_PAYLOAD0 0xf
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__NO_ERRORS 0x0
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__ONE_CORRECTABLE 0x1
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__TWO_CORRECTABLE 0x2
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__THREE_CORRECTABLE 0x3
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__FOUR_CORRECTABLE 0x4
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__FIVE_CORRECTABLE 0x5
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__SIX_CORRECTABLE 0x6
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__SEVEN_CORRECTABLE 0x7
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__EIGHT_CORRECTABLE 0x8
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__NOT_CHECKED 0xc
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__UNCORRECTABLE 0xe
|
||
|
#define BV_ECC8_STATUS1_STATUS_PAYLOAD0__ALL_ONES 0xf
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD0(v) (((v) & 0xf) << 0)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD0(v) BM_ECC8_STATUS1_STATUS_PAYLOAD0
|
||
|
#define BF_ECC8_STATUS1_STATUS_PAYLOAD0_V(e) BF_ECC8_STATUS1_STATUS_PAYLOAD0(BV_ECC8_STATUS1_STATUS_PAYLOAD0__##e)
|
||
|
#define BFM_ECC8_STATUS1_STATUS_PAYLOAD0_V(v) BM_ECC8_STATUS1_STATUS_PAYLOAD0
|
||
|
|
||
|
#define HW_ECC8_DEBUG0 HW(ECC8_DEBUG0)
|
||
|
#define HWA_ECC8_DEBUG0 (0x80008000 + 0x30)
|
||
|
#define HWT_ECC8_DEBUG0 HWIO_32_RW
|
||
|
#define HWN_ECC8_DEBUG0 ECC8_DEBUG0
|
||
|
#define HWI_ECC8_DEBUG0
|
||
|
#define HW_ECC8_DEBUG0_SET HW(ECC8_DEBUG0_SET)
|
||
|
#define HWA_ECC8_DEBUG0_SET (HWA_ECC8_DEBUG0 + 0x4)
|
||
|
#define HWT_ECC8_DEBUG0_SET HWIO_32_WO
|
||
|
#define HWN_ECC8_DEBUG0_SET ECC8_DEBUG0
|
||
|
#define HWI_ECC8_DEBUG0_SET
|
||
|
#define HW_ECC8_DEBUG0_CLR HW(ECC8_DEBUG0_CLR)
|
||
|
#define HWA_ECC8_DEBUG0_CLR (HWA_ECC8_DEBUG0 + 0x8)
|
||
|
#define HWT_ECC8_DEBUG0_CLR HWIO_32_WO
|
||
|
#define HWN_ECC8_DEBUG0_CLR ECC8_DEBUG0
|
||
|
#define HWI_ECC8_DEBUG0_CLR
|
||
|
#define HW_ECC8_DEBUG0_TOG HW(ECC8_DEBUG0_TOG)
|
||
|
#define HWA_ECC8_DEBUG0_TOG (HWA_ECC8_DEBUG0 + 0xc)
|
||
|
#define HWT_ECC8_DEBUG0_TOG HWIO_32_WO
|
||
|
#define HWN_ECC8_DEBUG0_TOG ECC8_DEBUG0
|
||
|
#define HWI_ECC8_DEBUG0_TOG
|
||
|
#define BP_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL 16
|
||
|
#define BM_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL 0x1ff0000
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL__NORMAL 0x0
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL__TEST_MODE 0x1
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL(v) (((v) & 0x1ff) << 16)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL(v) BM_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL_V(e) BF_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL(BV_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL_V(v) BM_ECC8_DEBUG0_KES_DEBUG_SYNDROME_SYMBOL
|
||
|
#define BP_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND 15
|
||
|
#define BM_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND 0x8000
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND(v) (((v) & 0x1) << 15)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND(v) BM_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND_V(e) BF_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND(BV_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND_V(v) BM_ECC8_DEBUG0_KES_DEBUG_SHIFT_SYND
|
||
|
#define BP_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG 14
|
||
|
#define BM_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG 0x4000
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG__DATA 0x1
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG__AUX 0x1
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG(v) (((v) & 0x1) << 14)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG(v) BM_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG_V(e) BF_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG(BV_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG_V(v) BM_ECC8_DEBUG0_KES_DEBUG_PAYLOAD_FLAG
|
||
|
#define BP_ECC8_DEBUG0_KES_DEBUG_MODE4K 13
|
||
|
#define BM_ECC8_DEBUG0_KES_DEBUG_MODE4K 0x2000
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_MODE4K__4k 0x1
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_MODE4K__2k 0x1
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_MODE4K(v) (((v) & 0x1) << 13)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_MODE4K(v) BM_ECC8_DEBUG0_KES_DEBUG_MODE4K
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_MODE4K_V(e) BF_ECC8_DEBUG0_KES_DEBUG_MODE4K(BV_ECC8_DEBUG0_KES_DEBUG_MODE4K__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_MODE4K_V(v) BM_ECC8_DEBUG0_KES_DEBUG_MODE4K
|
||
|
#define BP_ECC8_DEBUG0_KES_DEBUG_KICK 12
|
||
|
#define BM_ECC8_DEBUG0_KES_DEBUG_KICK 0x1000
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_KICK(v) (((v) & 0x1) << 12)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_KICK(v) BM_ECC8_DEBUG0_KES_DEBUG_KICK
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_KICK_V(e) BF_ECC8_DEBUG0_KES_DEBUG_KICK(BV_ECC8_DEBUG0_KES_DEBUG_KICK__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_KICK_V(v) BM_ECC8_DEBUG0_KES_DEBUG_KICK
|
||
|
#define BP_ECC8_DEBUG0_KES_STANDALONE 11
|
||
|
#define BM_ECC8_DEBUG0_KES_STANDALONE 0x800
|
||
|
#define BV_ECC8_DEBUG0_KES_STANDALONE__NORMAL 0x0
|
||
|
#define BV_ECC8_DEBUG0_KES_STANDALONE__TEST_MODE 0x1
|
||
|
#define BF_ECC8_DEBUG0_KES_STANDALONE(v) (((v) & 0x1) << 11)
|
||
|
#define BFM_ECC8_DEBUG0_KES_STANDALONE(v) BM_ECC8_DEBUG0_KES_STANDALONE
|
||
|
#define BF_ECC8_DEBUG0_KES_STANDALONE_V(e) BF_ECC8_DEBUG0_KES_STANDALONE(BV_ECC8_DEBUG0_KES_STANDALONE__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_STANDALONE_V(v) BM_ECC8_DEBUG0_KES_STANDALONE
|
||
|
#define BP_ECC8_DEBUG0_KES_DEBUG_STEP 10
|
||
|
#define BM_ECC8_DEBUG0_KES_DEBUG_STEP 0x400
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_STEP(v) (((v) & 0x1) << 10)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_STEP(v) BM_ECC8_DEBUG0_KES_DEBUG_STEP
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_STEP_V(e) BF_ECC8_DEBUG0_KES_DEBUG_STEP(BV_ECC8_DEBUG0_KES_DEBUG_STEP__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_STEP_V(v) BM_ECC8_DEBUG0_KES_DEBUG_STEP
|
||
|
#define BP_ECC8_DEBUG0_KES_DEBUG_STALL 9
|
||
|
#define BM_ECC8_DEBUG0_KES_DEBUG_STALL 0x200
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_STALL__NORMAL 0x0
|
||
|
#define BV_ECC8_DEBUG0_KES_DEBUG_STALL__WAIT 0x1
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_STALL(v) (((v) & 0x1) << 9)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_STALL(v) BM_ECC8_DEBUG0_KES_DEBUG_STALL
|
||
|
#define BF_ECC8_DEBUG0_KES_DEBUG_STALL_V(e) BF_ECC8_DEBUG0_KES_DEBUG_STALL(BV_ECC8_DEBUG0_KES_DEBUG_STALL__##e)
|
||
|
#define BFM_ECC8_DEBUG0_KES_DEBUG_STALL_V(v) BM_ECC8_DEBUG0_KES_DEBUG_STALL
|
||
|
#define BP_ECC8_DEBUG0_BM_KES_TEST_BYPASS 8
|
||
|
#define BM_ECC8_DEBUG0_BM_KES_TEST_BYPASS 0x100
|
||
|
#define BV_ECC8_DEBUG0_BM_KES_TEST_BYPASS__NORMAL 0x0
|
||
|
#define BV_ECC8_DEBUG0_BM_KES_TEST_BYPASS__TEST_MODE 0x1
|
||
|
#define BF_ECC8_DEBUG0_BM_KES_TEST_BYPASS(v) (((v) & 0x1) << 8)
|
||
|
#define BFM_ECC8_DEBUG0_BM_KES_TEST_BYPASS(v) BM_ECC8_DEBUG0_BM_KES_TEST_BYPASS
|
||
|
#define BF_ECC8_DEBUG0_BM_KES_TEST_BYPASS_V(e) BF_ECC8_DEBUG0_BM_KES_TEST_BYPASS(BV_ECC8_DEBUG0_BM_KES_TEST_BYPASS__##e)
|
||
|
#define BFM_ECC8_DEBUG0_BM_KES_TEST_BYPASS_V(v) BM_ECC8_DEBUG0_BM_KES_TEST_BYPASS
|
||
|
#define BP_ECC8_DEBUG0_DEBUG_REG_SELECT 0
|
||
|
#define BM_ECC8_DEBUG0_DEBUG_REG_SELECT 0x3f
|
||
|
#define BF_ECC8_DEBUG0_DEBUG_REG_SELECT(v) (((v) & 0x3f) << 0)
|
||
|
#define BFM_ECC8_DEBUG0_DEBUG_REG_SELECT(v) BM_ECC8_DEBUG0_DEBUG_REG_SELECT
|
||
|
#define BF_ECC8_DEBUG0_DEBUG_REG_SELECT_V(e) BF_ECC8_DEBUG0_DEBUG_REG_SELECT(BV_ECC8_DEBUG0_DEBUG_REG_SELECT__##e)
|
||
|
#define BFM_ECC8_DEBUG0_DEBUG_REG_SELECT_V(v) BM_ECC8_DEBUG0_DEBUG_REG_SELECT
|
||
|
|
||
|
#define HW_ECC8_DBGKESREAD HW(ECC8_DBGKESREAD)
|
||
|
#define HWA_ECC8_DBGKESREAD (0x80008000 + 0x40)
|
||
|
#define HWT_ECC8_DBGKESREAD HWIO_32_RW
|
||
|
#define HWN_ECC8_DBGKESREAD ECC8_DBGKESREAD
|
||
|
#define HWI_ECC8_DBGKESREAD
|
||
|
#define BP_ECC8_DBGKESREAD_VALUES 0
|
||
|
#define BM_ECC8_DBGKESREAD_VALUES 0xffffffff
|
||
|
#define BF_ECC8_DBGKESREAD_VALUES(v) (((v) & 0xffffffff) << 0)
|
||
|
#define BFM_ECC8_DBGKESREAD_VALUES(v) BM_ECC8_DBGKESREAD_VALUES
|
||
|
#define BF_ECC8_DBGKESREAD_VALUES_V(e) BF_ECC8_DBGKESREAD_VALUES(BV_ECC8_DBGKESREAD_VALUES__##e)
|
||
|
#define BFM_ECC8_DBGKESREAD_VALUES_V(v) BM_ECC8_DBGKESREAD_VALUES
|
||
|
|
||
|
#define HW_ECC8_DBGCSFEREAD HW(ECC8_DBGCSFEREAD)
|
||
|
#define HWA_ECC8_DBGCSFEREAD (0x80008000 + 0x50)
|
||
|
#define HWT_ECC8_DBGCSFEREAD HWIO_32_RW
|
||
|
#define HWN_ECC8_DBGCSFEREAD ECC8_DBGCSFEREAD
|
||
|
#define HWI_ECC8_DBGCSFEREAD
|
||
|
#define BP_ECC8_DBGCSFEREAD_VALUES 0
|
||
|
#define BM_ECC8_DBGCSFEREAD_VALUES 0xffffffff
|
||
|
#define BF_ECC8_DBGCSFEREAD_VALUES(v) (((v) & 0xffffffff) << 0)
|
||
|
#define BFM_ECC8_DBGCSFEREAD_VALUES(v) BM_ECC8_DBGCSFEREAD_VALUES
|
||
|
#define BF_ECC8_DBGCSFEREAD_VALUES_V(e) BF_ECC8_DBGCSFEREAD_VALUES(BV_ECC8_DBGCSFEREAD_VALUES__##e)
|
||
|
#define BFM_ECC8_DBGCSFEREAD_VALUES_V(v) BM_ECC8_DBGCSFEREAD_VALUES
|
||
|
|
||
|
#define HW_ECC8_DBGSYNDGENREAD HW(ECC8_DBGSYNDGENREAD)
|
||
|
#define HWA_ECC8_DBGSYNDGENREAD (0x80008000 + 0x60)
|
||
|
#define HWT_ECC8_DBGSYNDGENREAD HWIO_32_RW
|
||
|
#define HWN_ECC8_DBGSYNDGENREAD ECC8_DBGSYNDGENREAD
|
||
|
#define HWI_ECC8_DBGSYNDGENREAD
|
||
|
#define BP_ECC8_DBGSYNDGENREAD_VALUES 0
|
||
|
#define BM_ECC8_DBGSYNDGENREAD_VALUES 0xffffffff
|
||
|
#define BF_ECC8_DBGSYNDGENREAD_VALUES(v) (((v) & 0xffffffff) << 0)
|
||
|
#define BFM_ECC8_DBGSYNDGENREAD_VALUES(v) BM_ECC8_DBGSYNDGENREAD_VALUES
|
||
|
#define BF_ECC8_DBGSYNDGENREAD_VALUES_V(e) BF_ECC8_DBGSYNDGENREAD_VALUES(BV_ECC8_DBGSYNDGENREAD_VALUES__##e)
|
||
|
#define BFM_ECC8_DBGSYNDGENREAD_VALUES_V(v) BM_ECC8_DBGSYNDGENREAD_VALUES
|
||
|
|
||
|
#define HW_ECC8_DBGAHBMREAD HW(ECC8_DBGAHBMREAD)
|
||
|
#define HWA_ECC8_DBGAHBMREAD (0x80008000 + 0x70)
|
||
|
#define HWT_ECC8_DBGAHBMREAD HWIO_32_RW
|
||
|
#define HWN_ECC8_DBGAHBMREAD ECC8_DBGAHBMREAD
|
||
|
#define HWI_ECC8_DBGAHBMREAD
|
||
|
#define BP_ECC8_DBGAHBMREAD_VALUES 0
|
||
|
#define BM_ECC8_DBGAHBMREAD_VALUES 0xffffffff
|
||
|
#define BF_ECC8_DBGAHBMREAD_VALUES(v) (((v) & 0xffffffff) << 0)
|
||
|
#define BFM_ECC8_DBGAHBMREAD_VALUES(v) BM_ECC8_DBGAHBMREAD_VALUES
|
||
|
#define BF_ECC8_DBGAHBMREAD_VALUES_V(e) BF_ECC8_DBGAHBMREAD_VALUES(BV_ECC8_DBGAHBMREAD_VALUES__##e)
|
||
|
#define BFM_ECC8_DBGAHBMREAD_VALUES_V(v) BM_ECC8_DBGAHBMREAD_VALUES
|
||
|
|
||
|
#define HW_ECC8_BLOCKNAME HW(ECC8_BLOCKNAME)
|
||
|
#define HWA_ECC8_BLOCKNAME (0x80008000 + 0x80)
|
||
|
#define HWT_ECC8_BLOCKNAME HWIO_32_RW
|
||
|
#define HWN_ECC8_BLOCKNAME ECC8_BLOCKNAME
|
||
|
#define HWI_ECC8_BLOCKNAME
|
||
|
#define BP_ECC8_BLOCKNAME_NAME 0
|
||
|
#define BM_ECC8_BLOCKNAME_NAME 0xffffffff
|
||
|
#define BF_ECC8_BLOCKNAME_NAME(v) (((v) & 0xffffffff) << 0)
|
||
|
#define BFM_ECC8_BLOCKNAME_NAME(v) BM_ECC8_BLOCKNAME_NAME
|
||
|
#define BF_ECC8_BLOCKNAME_NAME_V(e) BF_ECC8_BLOCKNAME_NAME(BV_ECC8_BLOCKNAME_NAME__##e)
|
||
|
#define BFM_ECC8_BLOCKNAME_NAME_V(v) BM_ECC8_BLOCKNAME_NAME
|
||
|
|
||
|
#define HW_ECC8_VERSION HW(ECC8_VERSION)
|
||
|
#define HWA_ECC8_VERSION (0x80008000 + 0xa0)
|
||
|
#define HWT_ECC8_VERSION HWIO_32_RW
|
||
|
#define HWN_ECC8_VERSION ECC8_VERSION
|
||
|
#define HWI_ECC8_VERSION
|
||
|
#define BP_ECC8_VERSION_MAJOR 24
|
||
|
#define BM_ECC8_VERSION_MAJOR 0xff000000
|
||
|
#define BF_ECC8_VERSION_MAJOR(v) (((v) & 0xff) << 24)
|
||
|
#define BFM_ECC8_VERSION_MAJOR(v) BM_ECC8_VERSION_MAJOR
|
||
|
#define BF_ECC8_VERSION_MAJOR_V(e) BF_ECC8_VERSION_MAJOR(BV_ECC8_VERSION_MAJOR__##e)
|
||
|
#define BFM_ECC8_VERSION_MAJOR_V(v) BM_ECC8_VERSION_MAJOR
|
||
|
#define BP_ECC8_VERSION_MINOR 16
|
||
|
#define BM_ECC8_VERSION_MINOR 0xff0000
|
||
|
#define BF_ECC8_VERSION_MINOR(v) (((v) & 0xff) << 16)
|
||
|
#define BFM_ECC8_VERSION_MINOR(v) BM_ECC8_VERSION_MINOR
|
||
|
#define BF_ECC8_VERSION_MINOR_V(e) BF_ECC8_VERSION_MINOR(BV_ECC8_VERSION_MINOR__##e)
|
||
|
#define BFM_ECC8_VERSION_MINOR_V(v) BM_ECC8_VERSION_MINOR
|
||
|
#define BP_ECC8_VERSION_STEP 0
|
||
|
#define BM_ECC8_VERSION_STEP 0xffff
|
||
|
#define BF_ECC8_VERSION_STEP(v) (((v) & 0xffff) << 0)
|
||
|
#define BFM_ECC8_VERSION_STEP(v) BM_ECC8_VERSION_STEP
|
||
|
#define BF_ECC8_VERSION_STEP_V(e) BF_ECC8_VERSION_STEP(BV_ECC8_VERSION_STEP__##e)
|
||
|
#define BFM_ECC8_VERSION_STEP_V(v) BM_ECC8_VERSION_STEP
|
||
|
|
||
|
#endif /* __HEADERGEN_STMP3700_ECC8_H__*/
|