Go to the documentation of this file.
32 #define QPX_SQA_VALUE EHEA_BMASK_IBM(48, 63)
33 #define QPX_RQ1A_VALUE EHEA_BMASK_IBM(48, 63)
34 #define QPX_RQ2A_VALUE EHEA_BMASK_IBM(48, 63)
35 #define QPX_RQ3A_VALUE EHEA_BMASK_IBM(48, 63)
37 #define QPTEMM_OFFSET(x) offsetof(struct ehea_qptemm, x)
97 #define MRx_HCR_LPARID_VALID EHEA_BMASK_IBM(0, 0)
99 #define MRMWMM_OFFSET(x) offsetof(struct ehea_mrmwmm, x)
114 #define QPEDMM_OFFSET(x) offsetof(struct ehea_qpedmm, x)
150 #define CQX_FECADDER EHEA_BMASK_IBM(32, 63)
151 #define CQX_FEC_CQE_CNT EHEA_BMASK_IBM(32, 63)
152 #define CQX_N1_GENERATE_COMP_EVENT EHEA_BMASK_IBM(0, 0)
153 #define CQX_EP_EVENT_PENDING EHEA_BMASK_IBM(0, 0)
155 #define CQTEMM_OFFSET(x) offsetof(struct ehea_cqtemm, x)
174 #define EQTEMM_OFFSET(x) offsetof(struct ehea_eqtemm, x)
205 epa_load(epa, offset);
208 static inline void epa_store_acc(
struct h_epa epa,
u32 offset,
u64 value)
213 #define epa_store_cq(epa, offset, value)\
214 epa_store(epa, CQTEMM_OFFSET(offset), value)
215 #define epa_load_cq(epa, offset)\
216 epa_load(epa, CQTEMM_OFFSET(offset))
218 static inline void ehea_update_sqa(
struct ehea_qp *qp,
u16 nr_wqes)
225 static inline void ehea_update_rq3a(
struct ehea_qp *qp,
u16 nr_wqes)
232 static inline void ehea_update_rq2a(
struct ehea_qp *qp,
u16 nr_wqes)
239 static inline void ehea_update_rq1a(
struct ehea_qp *qp,
u16 nr_wqes)
246 static inline void ehea_update_feca(
struct ehea_cq *cq,
u32 nr_cqes)
253 static inline void ehea_reset_cq_n1(
struct ehea_cq *cq)
260 static inline void ehea_reset_cq_ep(
struct ehea_cq *my_cq)