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

Go to the source code of this file.

Data Structures

struct  ehea_qptemm
 
struct  ehea_mrmwmm
 
struct  ehea_qpedmm
 
struct  ehea_cqtemm
 
struct  ehea_eqtemm
 

Macros

#define QPX_SQA_VALUE   EHEA_BMASK_IBM(48, 63)
 
#define QPX_RQ1A_VALUE   EHEA_BMASK_IBM(48, 63)
 
#define QPX_RQ2A_VALUE   EHEA_BMASK_IBM(48, 63)
 
#define QPX_RQ3A_VALUE   EHEA_BMASK_IBM(48, 63)
 
#define QPTEMM_OFFSET(x)   offsetof(struct ehea_qptemm, x)
 
#define MRx_HCR_LPARID_VALID   EHEA_BMASK_IBM(0, 0)
 
#define MRMWMM_OFFSET(x)   offsetof(struct ehea_mrmwmm, x)
 
#define QPEDMM_OFFSET(x)   offsetof(struct ehea_qpedmm, x)
 
#define CQX_FECADDER   EHEA_BMASK_IBM(32, 63)
 
#define CQX_FEC_CQE_CNT   EHEA_BMASK_IBM(32, 63)
 
#define CQX_N1_GENERATE_COMP_EVENT   EHEA_BMASK_IBM(0, 0)
 
#define CQX_EP_EVENT_PENDING   EHEA_BMASK_IBM(0, 0)
 
#define CQTEMM_OFFSET(x)   offsetof(struct ehea_cqtemm, x)
 
#define EQTEMM_OFFSET(x)   offsetof(struct ehea_eqtemm, x)
 
#define epa_store_cq(epa, offset, value)   epa_store(epa, CQTEMM_OFFSET(offset), value)
 
#define epa_load_cq(epa, offset)   epa_load(epa, CQTEMM_OFFSET(offset))
 

Macro Definition Documentation

#define CQTEMM_OFFSET (   x)    offsetof(struct ehea_cqtemm, x)

Definition at line 155 of file ehea_hw.h.

#define CQX_EP_EVENT_PENDING   EHEA_BMASK_IBM(0, 0)

Definition at line 153 of file ehea_hw.h.

#define CQX_FEC_CQE_CNT   EHEA_BMASK_IBM(32, 63)

Definition at line 151 of file ehea_hw.h.

#define CQX_FECADDER   EHEA_BMASK_IBM(32, 63)

Definition at line 150 of file ehea_hw.h.

#define CQX_N1_GENERATE_COMP_EVENT   EHEA_BMASK_IBM(0, 0)

Definition at line 152 of file ehea_hw.h.

#define epa_load_cq (   epa,
  offset 
)    epa_load(epa, CQTEMM_OFFSET(offset))

Definition at line 215 of file ehea_hw.h.

#define epa_store_cq (   epa,
  offset,
  value 
)    epa_store(epa, CQTEMM_OFFSET(offset), value)

Definition at line 213 of file ehea_hw.h.

#define EQTEMM_OFFSET (   x)    offsetof(struct ehea_eqtemm, x)

Definition at line 174 of file ehea_hw.h.

#define MRMWMM_OFFSET (   x)    offsetof(struct ehea_mrmwmm, x)

Definition at line 99 of file ehea_hw.h.

#define MRx_HCR_LPARID_VALID   EHEA_BMASK_IBM(0, 0)

Definition at line 97 of file ehea_hw.h.

#define QPEDMM_OFFSET (   x)    offsetof(struct ehea_qpedmm, x)

Definition at line 114 of file ehea_hw.h.

#define QPTEMM_OFFSET (   x)    offsetof(struct ehea_qptemm, x)

Definition at line 37 of file ehea_hw.h.

#define QPX_RQ1A_VALUE   EHEA_BMASK_IBM(48, 63)

Definition at line 33 of file ehea_hw.h.

#define QPX_RQ2A_VALUE   EHEA_BMASK_IBM(48, 63)

Definition at line 34 of file ehea_hw.h.

#define QPX_RQ3A_VALUE   EHEA_BMASK_IBM(48, 63)

Definition at line 35 of file ehea_hw.h.

#define QPX_SQA_VALUE   EHEA_BMASK_IBM(48, 63)

Definition at line 32 of file ehea_hw.h.