#ifndef _HV_PAGE_HT7315_KCPR_TOP_REG_H_
#define _HV_PAGE_HT7315_KCPR_TOP_REG_H_

#ifndef HV_KCPR_TOP_REG_BASE_ADDRESS
    #define HV_KCPR_TOP_REG_BASE_ADDRESS                                         0x11051900
#endif


#define TX_KCPR_TOP_REG_00                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x00)

#define TX_KCPR_TOP_REG_00_struct                                        rs_tx_kcpr_top_reg_00

typedef struct _rs_tx_kcpr_top_reg_00  rs_tx_kcpr_top_reg_00;
struct _rs_tx_kcpr_top_reg_00 {
    unsigned int reg_kcpr_dm_wr_enable                      : 1;
    unsigned int reg_kcpr_dm_wr_access_mode                 : 1;
    unsigned int reg_kcpr_dm_wr_buf_size                    :11;
    unsigned int reserved                                   : 1;
    unsigned int reg_kcpr_dm_wr_db_en                       : 1;
    unsigned int reg_kcpr_dm_wr_4k_bound_en                 : 1;
    unsigned int reg_kcpr_dm_wr_outstanding                 : 4;
    unsigned int reg_kcpr_dm_wr_ovflow_clr                  : 1;
    unsigned int reg_kcpr_dm_wr_udflow_clr                  : 1;
    unsigned int reg_kcpr_dm_wr_col_step_dir                : 1;
    unsigned int reg_kcpr_dm_wr_line_step_dir               : 1;
    unsigned int reserved_1                                 : 8;
};
#define tx_kcpr_top_reg_00(val) ((rs_tx_kcpr_top_reg_00*)&(val))



#define TX_KCPR_TOP_REG_04                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x04)

#define TX_KCPR_TOP_REG_04_struct                                        rs_tx_kcpr_top_reg_04

typedef struct _rs_tx_kcpr_top_reg_04  rs_tx_kcpr_top_reg_04;
struct _rs_tx_kcpr_top_reg_04 {
    unsigned int reg_kcpr_dm_wr_start_adr                   :32;
};
#define tx_kcpr_top_reg_04(val) ((rs_tx_kcpr_top_reg_04*)&(val))



#define TX_KCPR_TOP_REG_08                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x08)

#define TX_KCPR_TOP_REG_08_struct                                        rs_tx_kcpr_top_reg_08

typedef struct _rs_tx_kcpr_top_reg_08  rs_tx_kcpr_top_reg_08;
struct _rs_tx_kcpr_top_reg_08 {
    unsigned int reg_kcpr_dm_wr_burst_num                   :32;
};
#define tx_kcpr_top_reg_08(val) ((rs_tx_kcpr_top_reg_08*)&(val))



#define TX_KCPR_TOP_REG_0C                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x0C)

#define TX_KCPR_TOP_REG_0C_struct                                        rs_tx_kcpr_top_reg_0c

typedef struct _rs_tx_kcpr_top_reg_0c  rs_tx_kcpr_top_reg_0c;
struct _rs_tx_kcpr_top_reg_0c {
    unsigned int reg_kcpr_dm_wr_burst_len                   : 8;
    unsigned int reg_kcpr_dm_wr_burst_rmd                   : 8;
    unsigned int reserved                                   :16;
};
#define tx_kcpr_top_reg_0c(val) ((rs_tx_kcpr_top_reg_0c*)&(val))



#define TX_KCPR_TOP_REG_10                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x10)

#define TX_KCPR_TOP_REG_10_struct                                        rs_tx_kcpr_top_reg_10

typedef struct _rs_tx_kcpr_top_reg_10  rs_tx_kcpr_top_reg_10;
struct _rs_tx_kcpr_top_reg_10 {
    unsigned int reg_kcpr_dm_wr_total_line_num              :16;
    unsigned int reg_kcpr_dm_wr_total_col_num               :16;
};
#define tx_kcpr_top_reg_10(val) ((rs_tx_kcpr_top_reg_10*)&(val))



#define TX_KCPR_TOP_REG_14                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x14)

#define TX_KCPR_TOP_REG_14_struct                                        rs_tx_kcpr_top_reg_14

typedef struct _rs_tx_kcpr_top_reg_14  rs_tx_kcpr_top_reg_14;
struct _rs_tx_kcpr_top_reg_14 {
    unsigned int reg_kcpr_dm_wr_line_step                   :32;
};
#define tx_kcpr_top_reg_14(val) ((rs_tx_kcpr_top_reg_14*)&(val))



#define TX_KCPR_TOP_REG_18                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x18)

#define TX_KCPR_TOP_REG_18_struct                                        rs_tx_kcpr_top_reg_18

typedef struct _rs_tx_kcpr_top_reg_18  rs_tx_kcpr_top_reg_18;
struct _rs_tx_kcpr_top_reg_18 {
    unsigned int reg_kcpr_dm_wr_col_step                    :32;
};
#define tx_kcpr_top_reg_18(val) ((rs_tx_kcpr_top_reg_18*)&(val))



#define TX_KCPR_TOP_REG_20                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x20)

#define TX_KCPR_TOP_REG_20_struct                                        rs_tx_kcpr_top_reg_20

typedef struct _rs_tx_kcpr_top_reg_20  rs_tx_kcpr_top_reg_20;
struct _rs_tx_kcpr_top_reg_20 {
    unsigned int reg_kcpr_dm_rd_enable                      : 1;
    unsigned int reg_kcpr_dm_rd_access_mode                 : 1;
    unsigned int reg_kcpr_dm_rd_buf_size                    :11;
    unsigned int reserved                                   : 1;
    unsigned int reg_kcpr_dm_rd_db_en                       : 1;
    unsigned int reg_kcpr_dm_rd_4k_bound_en                 : 1;
    unsigned int reg_kcpr_dm_rd_outstanding                 : 4;
    unsigned int reg_kcpr_dm_rd_ovflow_clr                  : 1;
    unsigned int reg_kcpr_dm_rd_udflow_clr                  : 1;
    unsigned int reg_kcpr_dm_rd_col_step_dir                : 1;
    unsigned int reg_kcpr_dm_rd_line_step_dir               : 1;
    unsigned int reserved_1                                 : 8;
};
#define tx_kcpr_top_reg_20(val) ((rs_tx_kcpr_top_reg_20*)&(val))



#define TX_KCPR_TOP_REG_24                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x24)

#define TX_KCPR_TOP_REG_24_struct                                        rs_tx_kcpr_top_reg_24

typedef struct _rs_tx_kcpr_top_reg_24  rs_tx_kcpr_top_reg_24;
struct _rs_tx_kcpr_top_reg_24 {
    unsigned int reg_kcpr_dm_rd_start_adr                   :32;
};
#define tx_kcpr_top_reg_24(val) ((rs_tx_kcpr_top_reg_24*)&(val))



#define TX_KCPR_TOP_REG_28                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x28)

#define TX_KCPR_TOP_REG_28_struct                                        rs_tx_kcpr_top_reg_28

typedef struct _rs_tx_kcpr_top_reg_28  rs_tx_kcpr_top_reg_28;
struct _rs_tx_kcpr_top_reg_28 {
    unsigned int reg_kcpr_dm_rd_burst_num                   :32;
};
#define tx_kcpr_top_reg_28(val) ((rs_tx_kcpr_top_reg_28*)&(val))



#define TX_KCPR_TOP_REG_2C                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x2C)

#define TX_KCPR_TOP_REG_2C_struct                                        rs_tx_kcpr_top_reg_2c

typedef struct _rs_tx_kcpr_top_reg_2c  rs_tx_kcpr_top_reg_2c;
struct _rs_tx_kcpr_top_reg_2c {
    unsigned int reg_kcpr_dm_rd_burst_len                   : 8;
    unsigned int reg_kcpr_dm_rd_burst_rmd                   : 8;
    unsigned int reg_kcpr_dm_rd_total_col_num               :16;
};
#define tx_kcpr_top_reg_2c(val) ((rs_tx_kcpr_top_reg_2c*)&(val))



#define TX_KCPR_TOP_REG_30                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x30)

#define TX_KCPR_TOP_REG_30_struct                                        rs_tx_kcpr_top_reg_30

typedef struct _rs_tx_kcpr_top_reg_30  rs_tx_kcpr_top_reg_30;
struct _rs_tx_kcpr_top_reg_30 {
    unsigned int reg_kcpr_dm_rd_total_line_num              :16;
    unsigned int reg_kcpr_dm_rd_col_dat_num                 :16;
};
#define tx_kcpr_top_reg_30(val) ((rs_tx_kcpr_top_reg_30*)&(val))



#define TX_KCPR_TOP_REG_34                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x34)

#define TX_KCPR_TOP_REG_34_struct                                        rs_tx_kcpr_top_reg_34

typedef struct _rs_tx_kcpr_top_reg_34  rs_tx_kcpr_top_reg_34;
struct _rs_tx_kcpr_top_reg_34 {
    unsigned int reg_kcpr_dm_rd_line_step                   :32;
};
#define tx_kcpr_top_reg_34(val) ((rs_tx_kcpr_top_reg_34*)&(val))



#define TX_KCPR_TOP_REG_38                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x38)

#define TX_KCPR_TOP_REG_38_struct                                        rs_tx_kcpr_top_reg_38

typedef struct _rs_tx_kcpr_top_reg_38  rs_tx_kcpr_top_reg_38;
struct _rs_tx_kcpr_top_reg_38 {
    unsigned int reg_kcpr_dm_rd_col_step                    :32;
};
#define tx_kcpr_top_reg_38(val) ((rs_tx_kcpr_top_reg_38*)&(val))



#define TX_KCPR_TOP_REG_40                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x40)

#define TX_KCPR_TOP_REG_40_struct                                        rs_tx_kcpr_top_reg_40

typedef struct _rs_tx_kcpr_top_reg_40  rs_tx_kcpr_top_reg_40;
struct _rs_tx_kcpr_top_reg_40 {
    unsigned int reg_kcpr_en                                : 1;
    unsigned int reg_kcpr_ldly_en                           : 1;
    unsigned int reg_kcpr_yonly_en                          : 1;
    unsigned int reg_kcpr_inv_proc_en                       : 1;
    unsigned int reg_kcpr_ygen_mode                         : 1;
    unsigned int reg_kcpr_yonly_mode                        : 1;
    unsigned int reg_kcpr_split_en                          : 1;
    unsigned int reg_kcpr_mux_mode                          : 2;
    unsigned int reg_kcpr_clkgate_off                       : 1;
    unsigned int reg_kcpr_bs_check_en                       : 1;
    unsigned int reg_kcpr_bs_check_clr                      : 1;
    unsigned int reg_kcpr_rcsv_en                           : 1;
    unsigned int reserved                                   :19;
};
#define tx_kcpr_top_reg_40(val) ((rs_tx_kcpr_top_reg_40*)&(val))



#define TX_KCPR_TOP_REG_44                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x44)

#define TX_KCPR_TOP_REG_44_struct                                        rs_tx_kcpr_top_reg_44

typedef struct _rs_tx_kcpr_top_reg_44  rs_tx_kcpr_top_reg_44;
struct _rs_tx_kcpr_top_reg_44 {
    unsigned int reg_kcpr_hact                              :16;
    unsigned int reg_kcpr_vact                              :16;
};
#define tx_kcpr_top_reg_44(val) ((rs_tx_kcpr_top_reg_44*)&(val))



#define TX_KCPR_TOP_REG_48                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x48)

#define TX_KCPR_TOP_REG_48_struct                                        rs_tx_kcpr_top_reg_48

typedef struct _rs_tx_kcpr_top_reg_48  rs_tx_kcpr_top_reg_48;
struct _rs_tx_kcpr_top_reg_48 {
    unsigned int reg_kcpr_enc_hbp                           : 8;
    unsigned int reg_kcpr_enc_vdly                          : 4;
    unsigned int reg_kcpr_bs_num                            :11;
    unsigned int reserved                                   : 9;
};
#define tx_kcpr_top_reg_48(val) ((rs_tx_kcpr_top_reg_48*)&(val))



#define TX_KCPR_TOP_REG_4C                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x4C)

#define TX_KCPR_TOP_REG_4C_struct                                        rs_tx_kcpr_top_reg_4c

typedef struct _rs_tx_kcpr_top_reg_4c  rs_tx_kcpr_top_reg_4c;
struct _rs_tx_kcpr_top_reg_4c {
    unsigned int reg_kcpr_dec_gap                           : 6;
    unsigned int reg_kcpr_dec_hbp                           : 8;
    unsigned int reg_kcpr_dec_hdly                          :10;
    unsigned int reserved                                   : 8;
};
#define tx_kcpr_top_reg_4c(val) ((rs_tx_kcpr_top_reg_4c*)&(val))



#define TX_KCPR_TOP_REG_50                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x50)

#define TX_KCPR_TOP_REG_50_struct                                        rs_tx_kcpr_top_reg_50

typedef struct _rs_tx_kcpr_top_reg_50  rs_tx_kcpr_top_reg_50;
struct _rs_tx_kcpr_top_reg_50 {
    unsigned int reg_kcpr_bsize_x                           : 4;
    unsigned int reg_kcpr_bsize_y                           : 4;
    unsigned int reg_kcpr_csc_mode                          : 4;
    unsigned int reg_kcpr_icsc_mode                         : 4;
    unsigned int reg_kcpr_rnd_amin                          : 2;
    unsigned int reg_kcpr_rnd_adff                          : 2;
    unsigned int reg_kcpr_rnd_ymin                          : 2;
    unsigned int reg_kcpr_rnd_ymax                          : 2;
    unsigned int reserved                                   : 8;
};
#define tx_kcpr_top_reg_50(val) ((rs_tx_kcpr_top_reg_50*)&(val))



#define TX_KCPR_TOP_REG_54                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x54)

#define TX_KCPR_TOP_REG_54_struct                                        rs_tx_kcpr_top_reg_54

typedef struct _rs_tx_kcpr_top_reg_54  rs_tx_kcpr_top_reg_54;
struct _rs_tx_kcpr_top_reg_54 {
    unsigned int reg_kcpr_yonly_thr_u                       : 8;
    unsigned int reg_kcpr_yonly_thr_v                       : 8;
    unsigned int reg_kcpr_yonly_gray_u                      : 8;
    unsigned int reg_kcpr_yonly_gray_v                      : 8;
};
#define tx_kcpr_top_reg_54(val) ((rs_tx_kcpr_top_reg_54*)&(val))



#define TX_KCPR_TOP_REG_58                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x58)

#define TX_KCPR_TOP_REG_58_struct                                        rs_tx_kcpr_top_reg_58

typedef struct _rs_tx_kcpr_top_reg_58  rs_tx_kcpr_top_reg_58;
struct _rs_tx_kcpr_top_reg_58 {
    unsigned int reg_kcpr_prec_amin                         : 2;
    unsigned int reg_kcpr_prec_adff                         : 2;
    unsigned int reg_kcpr_shft_amin                         : 3;
    unsigned int reg_kcpr_shft_adff                         : 3;
    unsigned int reg_kcpr_shft_ymax                         : 3;
    unsigned int reg_kcpr_shft_ymin                         : 3;
    unsigned int reg_kcpr_step_bits                         : 3;
    unsigned int reg_kcpr_step_mode                         : 1;
    unsigned int reserved                                   :12;
};
#define tx_kcpr_top_reg_58(val) ((rs_tx_kcpr_top_reg_58*)&(val))



#define TX_KCPR_TOP_REG_5C                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x5C)

#define TX_KCPR_TOP_REG_5C_struct                                        rs_tx_kcpr_top_reg_5c

typedef struct _rs_tx_kcpr_top_reg_5c  rs_tx_kcpr_top_reg_5c;
struct _rs_tx_kcpr_top_reg_5c {
    unsigned int reg_kcpr_mon_vcnt                          :16;
    unsigned int reg_kcpr_blk_line_num                      :12;
    unsigned int reserved                                   : 4;
};
#define tx_kcpr_top_reg_5c(val) ((rs_tx_kcpr_top_reg_5c*)&(val))



#define TX_KCPR_TOP_REG_90                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x90)

#define TX_KCPR_TOP_REG_90_struct                                        rs_tx_kcpr_top_reg_90

typedef struct _rs_tx_kcpr_top_reg_90  rs_tx_kcpr_top_reg_90;
struct _rs_tx_kcpr_top_reg_90 {
    unsigned int reg_kcpr_dec_mon_data_sel                  : 2;
    unsigned int reg_kcpr_dynamic_crc_enable                : 1;
    unsigned int reserved                                   :29;
};
#define tx_kcpr_top_reg_90(val) ((rs_tx_kcpr_top_reg_90*)&(val))



#define TX_KCPR_TOP_REG_94                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x94)

#define TX_KCPR_TOP_REG_94_struct                                        rs_tx_kcpr_top_reg_94

typedef struct _rs_tx_kcpr_top_reg_94  rs_tx_kcpr_top_reg_94;
struct _rs_tx_kcpr_top_reg_94 {
    unsigned int reg_kcpr_dec_mon_hcnt                      :16;
    unsigned int reg_kcpr_dec_mon_vcnt                      :16;
};
#define tx_kcpr_top_reg_94(val) ((rs_tx_kcpr_top_reg_94*)&(val))



#define TX_KCPR_TOP_REG_98                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x98)

#define TX_KCPR_TOP_REG_98_struct                                        rs_tx_kcpr_top_reg_98

typedef struct _rs_tx_kcpr_top_reg_98  rs_tx_kcpr_top_reg_98;
struct _rs_tx_kcpr_top_reg_98 {
    unsigned int reg_kcpr_dm_rd_rdata_index                 :32;
};
#define tx_kcpr_top_reg_98(val) ((rs_tx_kcpr_top_reg_98*)&(val))



#define TX_KCPR_TOP_REG_9C                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0x9C)

#define TX_KCPR_TOP_REG_9C_struct                                        rs_tx_kcpr_top_reg_9c

typedef struct _rs_tx_kcpr_top_reg_9c  rs_tx_kcpr_top_reg_9c;
struct _rs_tx_kcpr_top_reg_9c {
    unsigned int reg_kcpr_dm_wr_wdata_index                 :32;
};
#define tx_kcpr_top_reg_9c(val) ((rs_tx_kcpr_top_reg_9c*)&(val))



#define TX_KCPR_TOP_REG_A0                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xA0)

#define TX_KCPR_TOP_REG_A0_struct                                        rs_tx_kcpr_top_reg_a0

typedef struct _rs_tx_kcpr_top_reg_a0  rs_tx_kcpr_top_reg_a0;
struct _rs_tx_kcpr_top_reg_a0 {
    unsigned int regr_kcpr_debug_info0                      :32;
};
#define tx_kcpr_top_reg_a0(val) ((rs_tx_kcpr_top_reg_a0*)&(val))



#define TX_KCPR_TOP_REG_A4                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xA4)

#define TX_KCPR_TOP_REG_A4_struct                                        rs_tx_kcpr_top_reg_a4

typedef struct _rs_tx_kcpr_top_reg_a4  rs_tx_kcpr_top_reg_a4;
struct _rs_tx_kcpr_top_reg_a4 {
    unsigned int regr_kcpr_debug_info1                      :32;
};
#define tx_kcpr_top_reg_a4(val) ((rs_tx_kcpr_top_reg_a4*)&(val))



#define TX_KCPR_TOP_REG_A8                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xA8)

#define TX_KCPR_TOP_REG_A8_struct                                        rs_tx_kcpr_top_reg_a8

typedef struct _rs_tx_kcpr_top_reg_a8  rs_tx_kcpr_top_reg_a8;
struct _rs_tx_kcpr_top_reg_a8 {
    unsigned int regr_kcpr_debug_info2                      :32;
};
#define tx_kcpr_top_reg_a8(val) ((rs_tx_kcpr_top_reg_a8*)&(val))



#define TX_KCPR_TOP_REG_AC                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xAC)

#define TX_KCPR_TOP_REG_AC_struct                                        rs_tx_kcpr_top_reg_ac

typedef struct _rs_tx_kcpr_top_reg_ac  rs_tx_kcpr_top_reg_ac;
struct _rs_tx_kcpr_top_reg_ac {
    unsigned int regr_kcpr_debug_info3                      :32;
};
#define tx_kcpr_top_reg_ac(val) ((rs_tx_kcpr_top_reg_ac*)&(val))



#define TX_KCPR_TOP_REG_B0                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xB0)

#define TX_KCPR_TOP_REG_B0_struct                                        rs_tx_kcpr_top_reg_b0

typedef struct _rs_tx_kcpr_top_reg_b0  rs_tx_kcpr_top_reg_b0;
struct _rs_tx_kcpr_top_reg_b0 {
    unsigned int regr_kcpr_dec_hcnt                         :16;
    unsigned int regr_kcpr_dec_vcnt                         :16;
};
#define tx_kcpr_top_reg_b0(val) ((rs_tx_kcpr_top_reg_b0*)&(val))



#define TX_KCPR_TOP_REG_B4                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xB4)

#define TX_KCPR_TOP_REG_B4_struct                                        rs_tx_kcpr_top_reg_b4

typedef struct _rs_tx_kcpr_top_reg_b4  rs_tx_kcpr_top_reg_b4;
struct _rs_tx_kcpr_top_reg_b4 {
    unsigned int regr_kcpr_dec_mon_data                     :32;
};
#define tx_kcpr_top_reg_b4(val) ((rs_tx_kcpr_top_reg_b4*)&(val))



#define TX_KCPR_TOP_REG_B8                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xB8)

#define TX_KCPR_TOP_REG_B8_struct                                        rs_tx_kcpr_top_reg_b8

typedef struct _rs_tx_kcpr_top_reg_b8  rs_tx_kcpr_top_reg_b8;
struct _rs_tx_kcpr_top_reg_b8 {
    unsigned int regr_kcpr_enc_hcnt                         :16;
    unsigned int regr_kcpr_enc_vcnt                         :16;
};
#define tx_kcpr_top_reg_b8(val) ((rs_tx_kcpr_top_reg_b8*)&(val))



#define TX_KCPR_TOP_REG_BC                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xBC)

#define TX_KCPR_TOP_REG_BC_struct                                        rs_tx_kcpr_top_reg_bc

typedef struct _rs_tx_kcpr_top_reg_bc  rs_tx_kcpr_top_reg_bc;
struct _rs_tx_kcpr_top_reg_bc {
    unsigned int regr_kcpr_dec_state                        : 3;
    unsigned int reserved                                   :29;
};
#define tx_kcpr_top_reg_bc(val) ((rs_tx_kcpr_top_reg_bc*)&(val))



#define TX_KCPR_TOP_REG_C0                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xC0)

#define TX_KCPR_TOP_REG_C0_struct                                        rs_tx_kcpr_top_reg_c0

typedef struct _rs_tx_kcpr_top_reg_c0  rs_tx_kcpr_top_reg_c0;
struct _rs_tx_kcpr_top_reg_c0 {
    unsigned int regr_kcpr_dm_wr_afifo_ovflow               : 1;
    unsigned int regr_kcpr_dm_wr_afifo_udflow               : 1;
    unsigned int regr_kcpr_dm_wr_buf_ovflow                 : 1;
    unsigned int regr_kcpr_dm_wr_buf_udflow                 : 1;
    unsigned int regr_kcpr_dm_wr_cmd_sent                   : 4;
    unsigned int reserved                                   :21;
    unsigned int regr_kcpr_dm_wr_bus_idle                   : 1;
    unsigned int reserved_1                                 : 2;
};
#define tx_kcpr_top_reg_c0(val) ((rs_tx_kcpr_top_reg_c0*)&(val))



#define TX_KCPR_TOP_REG_C4                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xC4)

#define TX_KCPR_TOP_REG_C4_struct                                        rs_tx_kcpr_top_reg_c4

typedef struct _rs_tx_kcpr_top_reg_c4  rs_tx_kcpr_top_reg_c4;
struct _rs_tx_kcpr_top_reg_c4 {
    unsigned int regr_kcpr_dm_wr_wdata_0                    :32;
};
#define tx_kcpr_top_reg_c4(val) ((rs_tx_kcpr_top_reg_c4*)&(val))



#define TX_KCPR_TOP_REG_C8                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xC8)

#define TX_KCPR_TOP_REG_C8_struct                                        rs_tx_kcpr_top_reg_c8

typedef struct _rs_tx_kcpr_top_reg_c8  rs_tx_kcpr_top_reg_c8;
struct _rs_tx_kcpr_top_reg_c8 {
    unsigned int regr_kcpr_dm_wr_wdata_1                    :32;
};
#define tx_kcpr_top_reg_c8(val) ((rs_tx_kcpr_top_reg_c8*)&(val))



#define TX_KCPR_TOP_REG_CC                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xCC)

#define TX_KCPR_TOP_REG_CC_struct                                        rs_tx_kcpr_top_reg_cc

typedef struct _rs_tx_kcpr_top_reg_cc  rs_tx_kcpr_top_reg_cc;
struct _rs_tx_kcpr_top_reg_cc {
    unsigned int regr_kcpr_dm_wr_wdata_2                    :32;
};
#define tx_kcpr_top_reg_cc(val) ((rs_tx_kcpr_top_reg_cc*)&(val))



#define TX_KCPR_TOP_REG_D0                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xD0)

#define TX_KCPR_TOP_REG_D0_struct                                        rs_tx_kcpr_top_reg_d0

typedef struct _rs_tx_kcpr_top_reg_d0  rs_tx_kcpr_top_reg_d0;
struct _rs_tx_kcpr_top_reg_d0 {
    unsigned int regr_kcpr_dm_wr_wdata_3                    :32;
};
#define tx_kcpr_top_reg_d0(val) ((rs_tx_kcpr_top_reg_d0*)&(val))



#define TX_KCPR_TOP_REG_D4                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xD4)

#define TX_KCPR_TOP_REG_D4_struct                                        rs_tx_kcpr_top_reg_d4

typedef struct _rs_tx_kcpr_top_reg_d4  rs_tx_kcpr_top_reg_d4;
struct _rs_tx_kcpr_top_reg_d4 {
    unsigned int regr_kcpr_dm_wr_line_num                   :16;
    unsigned int regr_kcpr_dm_wr_st                         : 4;
    unsigned int reserved                                   :12;
};
#define tx_kcpr_top_reg_d4(val) ((rs_tx_kcpr_top_reg_d4*)&(val))



#define TX_KCPR_TOP_REG_D8                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xD8)

#define TX_KCPR_TOP_REG_D8_struct                                        rs_tx_kcpr_top_reg_d8

typedef struct _rs_tx_kcpr_top_reg_d8  rs_tx_kcpr_top_reg_d8;
struct _rs_tx_kcpr_top_reg_d8 {
    unsigned int regr_kcpr_dm_wr_dat_need                   :12;
    unsigned int reserved                                   : 4;
    unsigned int regr_kcpr_dm_wr_block_num                  :16;
};
#define tx_kcpr_top_reg_d8(val) ((rs_tx_kcpr_top_reg_d8*)&(val))



#define TX_KCPR_TOP_REG_E0                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xE0)

#define TX_KCPR_TOP_REG_E0_struct                                        rs_tx_kcpr_top_reg_e0

typedef struct _rs_tx_kcpr_top_reg_e0  rs_tx_kcpr_top_reg_e0;
struct _rs_tx_kcpr_top_reg_e0 {
    unsigned int regr_kcpr_dm_rd_afifo_ovflow               : 1;
    unsigned int regr_kcpr_dm_rd_afifo_udflow               : 1;
    unsigned int regr_kcpr_dm_rd_buf_ovflow                 : 1;
    unsigned int regr_kcpr_dm_rd_buf_udflow                 : 1;
    unsigned int regr_kcpr_dynamic_crc_fail                 : 1;
    unsigned int reserved                                   :10;
    unsigned int regr_kcpr_dm_rd_cmd_sent                   : 4;
    unsigned int regr_kcpr_dm_rd_dat_wait                   :12;
    unsigned int regr_kcpr_dm_rd_bus_idle                   : 1;
};
#define tx_kcpr_top_reg_e0(val) ((rs_tx_kcpr_top_reg_e0*)&(val))



#define TX_KCPR_TOP_REG_E4                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xE4)

#define TX_KCPR_TOP_REG_E4_struct                                        rs_tx_kcpr_top_reg_e4

typedef struct _rs_tx_kcpr_top_reg_e4  rs_tx_kcpr_top_reg_e4;
struct _rs_tx_kcpr_top_reg_e4 {
    unsigned int regr_kcpr_dm_rd_rdata_0                    :32;
};
#define tx_kcpr_top_reg_e4(val) ((rs_tx_kcpr_top_reg_e4*)&(val))



#define TX_KCPR_TOP_REG_E8                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xE8)

#define TX_KCPR_TOP_REG_E8_struct                                        rs_tx_kcpr_top_reg_e8

typedef struct _rs_tx_kcpr_top_reg_e8  rs_tx_kcpr_top_reg_e8;
struct _rs_tx_kcpr_top_reg_e8 {
    unsigned int regr_kcpr_dm_rd_rdata_1                    :32;
};
#define tx_kcpr_top_reg_e8(val) ((rs_tx_kcpr_top_reg_e8*)&(val))



#define TX_KCPR_TOP_REG_EC                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xEC)

#define TX_KCPR_TOP_REG_EC_struct                                        rs_tx_kcpr_top_reg_ec

typedef struct _rs_tx_kcpr_top_reg_ec  rs_tx_kcpr_top_reg_ec;
struct _rs_tx_kcpr_top_reg_ec {
    unsigned int regr_kcpr_dm_rd_rdata_2                    :32;
};
#define tx_kcpr_top_reg_ec(val) ((rs_tx_kcpr_top_reg_ec*)&(val))



#define TX_KCPR_TOP_REG_F0                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xF0)

#define TX_KCPR_TOP_REG_F0_struct                                        rs_tx_kcpr_top_reg_f0

typedef struct _rs_tx_kcpr_top_reg_f0  rs_tx_kcpr_top_reg_f0;
struct _rs_tx_kcpr_top_reg_f0 {
    unsigned int regr_kcpr_dm_rd_rdata_3                    :32;
};
#define tx_kcpr_top_reg_f0(val) ((rs_tx_kcpr_top_reg_f0*)&(val))



#define TX_KCPR_TOP_REG_F4                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xF4)

#define TX_KCPR_TOP_REG_F4_struct                                        rs_tx_kcpr_top_reg_f4

typedef struct _rs_tx_kcpr_top_reg_f4  rs_tx_kcpr_top_reg_f4;
struct _rs_tx_kcpr_top_reg_f4 {
    unsigned int regr_kcpr_dm_rd_line_num                   :16;
    unsigned int regr_kcpr_dm_rd_st                         : 4;
    unsigned int reserved                                   :12;
};
#define tx_kcpr_top_reg_f4(val) ((rs_tx_kcpr_top_reg_f4*)&(val))



#define TX_KCPR_TOP_REG_F8                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xF8)

#define TX_KCPR_TOP_REG_F8_struct                                        rs_tx_kcpr_top_reg_f8

typedef struct _rs_tx_kcpr_top_reg_f8  rs_tx_kcpr_top_reg_f8;
struct _rs_tx_kcpr_top_reg_f8 {
    unsigned int regr_kcpr_dm_rd_cnt                        :32;
};
#define tx_kcpr_top_reg_f8(val) ((rs_tx_kcpr_top_reg_f8*)&(val))



#define TX_KCPR_TOP_REG_FC                                               (HV_KCPR_TOP_REG_BASE_ADDRESS + 0xFC)

#define TX_KCPR_TOP_REG_FC_struct                                        rs_tx_kcpr_top_reg_fc

typedef struct _rs_tx_kcpr_top_reg_fc  rs_tx_kcpr_top_reg_fc;
struct _rs_tx_kcpr_top_reg_fc {
    unsigned int regr_kcpr_dm_rd_block_num                  :16;
    unsigned int regr_kcpr_dm_rd_buf_space                  :11;
    unsigned int reserved                                   : 5;
};
#define tx_kcpr_top_reg_fc(val) ((rs_tx_kcpr_top_reg_fc*)&(val))



#endif