Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
cvmx-pemx-defs.h File Reference

Go to the source code of this file.

Data Structures

union  cvmx_pemx_bar1_indexx
 
struct  cvmx_pemx_bar1_indexx::cvmx_pemx_bar1_indexx_s
 
union  cvmx_pemx_bar2_mask
 
struct  cvmx_pemx_bar2_mask::cvmx_pemx_bar2_mask_s
 
union  cvmx_pemx_bar_ctl
 
struct  cvmx_pemx_bar_ctl::cvmx_pemx_bar_ctl_s
 
union  cvmx_pemx_bist_status
 
struct  cvmx_pemx_bist_status::cvmx_pemx_bist_status_s
 
union  cvmx_pemx_bist_status2
 
struct  cvmx_pemx_bist_status2::cvmx_pemx_bist_status2_s
 
union  cvmx_pemx_cfg_rd
 
struct  cvmx_pemx_cfg_rd::cvmx_pemx_cfg_rd_s
 
union  cvmx_pemx_cfg_wr
 
struct  cvmx_pemx_cfg_wr::cvmx_pemx_cfg_wr_s
 
union  cvmx_pemx_cpl_lut_valid
 
struct  cvmx_pemx_cpl_lut_valid::cvmx_pemx_cpl_lut_valid_s
 
union  cvmx_pemx_ctl_status
 
struct  cvmx_pemx_ctl_status::cvmx_pemx_ctl_status_s
 
union  cvmx_pemx_dbg_info
 
struct  cvmx_pemx_dbg_info::cvmx_pemx_dbg_info_s
 
union  cvmx_pemx_dbg_info_en
 
struct  cvmx_pemx_dbg_info_en::cvmx_pemx_dbg_info_en_s
 
union  cvmx_pemx_diag_status
 
struct  cvmx_pemx_diag_status::cvmx_pemx_diag_status_s
 
union  cvmx_pemx_inb_read_credits
 
struct  cvmx_pemx_inb_read_credits::cvmx_pemx_inb_read_credits_s
 
union  cvmx_pemx_int_enb
 
struct  cvmx_pemx_int_enb::cvmx_pemx_int_enb_s
 
union  cvmx_pemx_int_enb_int
 
struct  cvmx_pemx_int_enb_int::cvmx_pemx_int_enb_int_s
 
union  cvmx_pemx_int_sum
 
struct  cvmx_pemx_int_sum::cvmx_pemx_int_sum_s
 
union  cvmx_pemx_p2n_bar0_start
 
struct  cvmx_pemx_p2n_bar0_start::cvmx_pemx_p2n_bar0_start_s
 
union  cvmx_pemx_p2n_bar1_start
 
struct  cvmx_pemx_p2n_bar1_start::cvmx_pemx_p2n_bar1_start_s
 
union  cvmx_pemx_p2n_bar2_start
 
struct  cvmx_pemx_p2n_bar2_start::cvmx_pemx_p2n_bar2_start_s
 
union  cvmx_pemx_p2p_barx_end
 
struct  cvmx_pemx_p2p_barx_end::cvmx_pemx_p2p_barx_end_s
 
union  cvmx_pemx_p2p_barx_start
 
struct  cvmx_pemx_p2p_barx_start::cvmx_pemx_p2p_barx_start_s
 
union  cvmx_pemx_tlp_credits
 
struct  cvmx_pemx_tlp_credits::cvmx_pemx_tlp_credits_s
 
struct  cvmx_pemx_tlp_credits::cvmx_pemx_tlp_credits_cn61xx
 

Macros

#define CVMX_PEMX_BAR1_INDEXX(offset, block_id)   (CVMX_ADD_IO_SEG(0x00011800C00000A8ull) + (((offset) & 15) + ((block_id) & 1) * 0x200000ull) * 8)
 
#define CVMX_PEMX_BAR2_MASK(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000130ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_BAR_CTL(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000128ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_BIST_STATUS(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000018ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_BIST_STATUS2(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000420ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_CFG_RD(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000030ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_CFG_WR(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000028ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_CPL_LUT_VALID(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000098ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_CTL_STATUS(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000000ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_DBG_INFO(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000008ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_DBG_INFO_EN(block_id)   (CVMX_ADD_IO_SEG(0x00011800C00000A0ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_DIAG_STATUS(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000020ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_INB_READ_CREDITS(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000138ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_INT_ENB(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000410ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_INT_ENB_INT(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000418ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_INT_SUM(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000408ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_P2N_BAR0_START(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000080ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_P2N_BAR1_START(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000088ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_P2N_BAR2_START(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000090ull) + ((block_id) & 1) * 0x1000000ull)
 
#define CVMX_PEMX_P2P_BARX_END(offset, block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000048ull) + (((offset) & 3) + ((block_id) & 1) * 0x100000ull) * 16)
 
#define CVMX_PEMX_P2P_BARX_START(offset, block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000040ull) + (((offset) & 3) + ((block_id) & 1) * 0x100000ull) * 16)
 
#define CVMX_PEMX_TLP_CREDITS(block_id)   (CVMX_ADD_IO_SEG(0x00011800C0000038ull) + ((block_id) & 1) * 0x1000000ull)
 

Macro Definition Documentation

#define CVMX_PEMX_BAR1_INDEXX (   offset,
  block_id 
)    (CVMX_ADD_IO_SEG(0x00011800C00000A8ull) + (((offset) & 15) + ((block_id) & 1) * 0x200000ull) * 8)

Definition at line 31 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_BAR2_MASK (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000130ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 32 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_BAR_CTL (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000128ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 33 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_BIST_STATUS (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000018ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 34 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_BIST_STATUS2 (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000420ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 35 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_CFG_RD (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000030ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 36 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_CFG_WR (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000028ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 37 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_CPL_LUT_VALID (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000098ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 38 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_CTL_STATUS (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000000ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 39 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_DBG_INFO (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000008ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 40 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_DBG_INFO_EN (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C00000A0ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 41 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_DIAG_STATUS (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000020ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 42 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_INB_READ_CREDITS (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000138ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 43 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_INT_ENB (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000410ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 44 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_INT_ENB_INT (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000418ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 45 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_INT_SUM (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000408ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 46 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_P2N_BAR0_START (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000080ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 47 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_P2N_BAR1_START (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000088ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 48 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_P2N_BAR2_START (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000090ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 49 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_P2P_BARX_END (   offset,
  block_id 
)    (CVMX_ADD_IO_SEG(0x00011800C0000048ull) + (((offset) & 3) + ((block_id) & 1) * 0x100000ull) * 16)

Definition at line 50 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_P2P_BARX_START (   offset,
  block_id 
)    (CVMX_ADD_IO_SEG(0x00011800C0000040ull) + (((offset) & 3) + ((block_id) & 1) * 0x100000ull) * 16)

Definition at line 51 of file cvmx-pemx-defs.h.

#define CVMX_PEMX_TLP_CREDITS (   block_id)    (CVMX_ADD_IO_SEG(0x00011800C0000038ull) + ((block_id) & 1) * 0x1000000ull)

Definition at line 52 of file cvmx-pemx-defs.h.