⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hubni.h

📁 上传linux-jx2410的源代码
💻 H
📖 第 1 页 / 共 5 页
字号:
#ifdef LITTLE_ENDIANtypedef union ni_port_sideband_u {	bdrkreg_t	ni_port_sideband_regval;	struct  {		bdrkreg_t	ps_sideband               :	 8;                bdrkreg_t       ps_bad_dest               :      1;                bdrkreg_t       ps_bad_prexsel            :      1;                bdrkreg_t       ps_rcv_error              :      1;                bdrkreg_t       ps_bad_message            :      1;                bdrkreg_t       ps_squash                 :      1;                bdrkreg_t       ps_sn_status              :      1;                bdrkreg_t       ps_cb_status              :      1;                bdrkreg_t       ps_send_error             :      1;                bdrkreg_t       ps_vch_active             :      4;                bdrkreg_t       ps_rsvd                   :     44;	} ni_port_sideband_fld_s;} ni_port_sideband_u_t;#elsetypedef union ni_port_sideband_u {	bdrkreg_t	ni_port_sideband_regval;	struct	{		bdrkreg_t	ps_rsvd			  :	44;		bdrkreg_t	ps_vch_active		  :	 4;		bdrkreg_t	ps_send_error		  :	 1;		bdrkreg_t	ps_cb_status		  :	 1;		bdrkreg_t	ps_sn_status		  :	 1;		bdrkreg_t	ps_squash		  :	 1;		bdrkreg_t	ps_bad_message		  :	 1;		bdrkreg_t	ps_rcv_error		  :	 1;		bdrkreg_t	ps_bad_prexsel		  :	 1;		bdrkreg_t	ps_bad_dest		  :	 1;		bdrkreg_t	ps_sideband		  :	 8;	} ni_port_sideband_fld_s;} ni_port_sideband_u_t;#endif/************************************************************************ *                                                                      * *  This register contains latched LLP port and problematic message     * * errors. The contents are the same information as the                 * * NI_PORT_ERROR_CLEAR register, but, in this register read accesses    * * are non-destructive. Bits [52:24] assert the NI interrupt.           * *                                                                      * ************************************************************************/#ifdef LITTLE_ENDIANtypedef union ni_port_error_clear_u {	bdrkreg_t	ni_port_error_clear_regval;	struct  {		bdrkreg_t	pec_sn_error_count        :	 8;                bdrkreg_t       pec_cb_error_count        :      8;                bdrkreg_t       pec_retry_count           :      8;                bdrkreg_t       pec_tail_timeout          :      4;                bdrkreg_t       pec_fifo_overflow         :      4;                bdrkreg_t       pec_external_short        :      4;                bdrkreg_t       pec_external_long         :      4;                bdrkreg_t       pec_external_bad_header   :      4;                bdrkreg_t       pec_internal_short        :      4;                bdrkreg_t       pec_internal_long         :      4;                bdrkreg_t       pec_link_reset_in         :      1;                bdrkreg_t       pec_rsvd                  :     11;	} ni_port_error_clear_fld_s;} ni_port_error_clear_u_t;#elsetypedef union ni_port_error_clear_u {	bdrkreg_t	ni_port_error_clear_regval;	struct	{		bdrkreg_t	pec_rsvd		  :	11;		bdrkreg_t	pec_link_reset_in	  :	 1;		bdrkreg_t	pec_internal_long	  :	 4;		bdrkreg_t	pec_internal_short	  :	 4;		bdrkreg_t	pec_external_bad_header	  :	 4;		bdrkreg_t	pec_external_long	  :	 4;		bdrkreg_t	pec_external_short	  :	 4;		bdrkreg_t	pec_fifo_overflow	  :	 4;		bdrkreg_t	pec_tail_timeout	  :	 4;		bdrkreg_t	pec_retry_count		  :	 8;		bdrkreg_t	pec_cb_error_count	  :	 8;		bdrkreg_t	pec_sn_error_count	  :	 8;	} ni_port_error_clear_fld_s;} ni_port_error_clear_u_t;#endif/************************************************************************ *                                                                      * *  Lookup table for the next hop's exit port. The table entry          * * selection is based on the 7-bit LocalCube routing destination.       * *                                                                      * ************************************************************************/#ifdef LITTLE_ENDIANtypedef union ni_local_table_0_u {	bdrkreg_t	ni_local_table_0_regval;	struct  {		bdrkreg_t	lt0_next_exit_port        :	 4;                bdrkreg_t       lt0_next_vch_lsb          :      1;                bdrkreg_t       lt0_rsvd                  :     59;	} ni_local_table_0_fld_s;} ni_local_table_0_u_t;#elsetypedef union ni_local_table_0_u {	bdrkreg_t	ni_local_table_0_regval;	struct	{		bdrkreg_t	lt0_rsvd		  :	59;		bdrkreg_t	lt0_next_vch_lsb	  :	 1;		bdrkreg_t	lt0_next_exit_port	  :	 4;	} ni_local_table_0_fld_s;} ni_local_table_0_u_t;#endif/************************************************************************ *                                                                      * *  Lookup table for the next hop's exit port. The table entry          * * selection is based on the 7-bit LocalCube routing destination.       * *                                                                      * ************************************************************************/#ifdef LITTLE_ENDIANtypedef union ni_local_table_127_u {	bdrkreg_t	ni_local_table_127_regval;	struct  {		bdrkreg_t	lt1_next_exit_port        :	 4;                bdrkreg_t       lt1_next_vch_lsb          :      1;                bdrkreg_t       lt1_rsvd                  :     59;	} ni_local_table_127_fld_s;} ni_local_table_127_u_t;#elsetypedef union ni_local_table_127_u {	bdrkreg_t	ni_local_table_127_regval;	struct	{		bdrkreg_t	lt1_rsvd		  :	59;		bdrkreg_t	lt1_next_vch_lsb	  :	 1;		bdrkreg_t	lt1_next_exit_port	  :	 4;	} ni_local_table_127_fld_s;} ni_local_table_127_u_t;#endif/************************************************************************ *                                                                      * *  Lookup table for the next hop's exit port. The table entry          * * selection is based on the 1-bit MetaCube routing destination.        * *                                                                      * ************************************************************************/#ifdef LITTLE_ENDIANtypedef union ni_global_table_u {	bdrkreg_t	ni_global_table_regval;	struct  {		bdrkreg_t	gt_next_exit_port         :	 4;                bdrkreg_t       gt_next_vch_lsb           :      1;                bdrkreg_t       gt_rsvd                   :     59;	} ni_global_table_fld_s;} ni_global_table_u_t;#elsetypedef union ni_global_table_u {	bdrkreg_t	ni_global_table_regval;	struct	{		bdrkreg_t	gt_rsvd			  :	59;		bdrkreg_t	gt_next_vch_lsb		  :	 1;		bdrkreg_t	gt_next_exit_port	  :	 4;	} ni_global_table_fld_s;} ni_global_table_u_t;#endif#endif /* _LANGUAGE_C *//************************************************************************ *                                                                      * * The following defines which were not formed into structures are      * * probably indentical to another register, and the name of the         * * register is provided against each of these registers. This           * * information needs to be checked carefully                            * *                                                                      * *           NI_LOCAL_TABLE_1          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_2          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_3          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_4          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_5          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_6          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_7          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_8          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_9          NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_10         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_11         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_12         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_13         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_14         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_15         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_16         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_17         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_18         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_19         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_20         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_21         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_22         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_23         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_24         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_25         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_26         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_27         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_28         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_29         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_30         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_31         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_32         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_33         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_34         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_35         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_36         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_37         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_38         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_39         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_40         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_41         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_42         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_43         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_44         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_45         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_46         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_47         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_48         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_49         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_50         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_51         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_52         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_53         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_54         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_55         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_56         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_57         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_58         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_59         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_60         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_61         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_62         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_63         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_64         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_65         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_66         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_67         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_68         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_69         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_70         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_71         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_72         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_73         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_74         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_75         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_76         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_77         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_78         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_79         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_80         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_81         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_82         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_83         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_84         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_85         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_86         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_87         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_88         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_89         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_90         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_91         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_92         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_93         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_94         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_95         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_96         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_97         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_98         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_99         NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_100        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_101        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_102        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_103        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_104        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_105        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_106        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_107        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_108        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_109        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_110        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_111        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_112        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_113        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_114        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_115        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_116        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_117        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_118        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_119        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_120        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_121        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_122        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_123        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_124        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_125        NI_LOCAL_TABLE_0                 * *           NI_LOCAL_TABLE_126        NI_LOCAL_TABLE_0                 * *                                                                      * ****************

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -