Lines Matching refs:epa
183 static inline u64 epa_load(struct h_epa epa, u32 offset) in epa_load() argument
185 return __raw_readq((void __iomem *)(epa.addr + offset)); in epa_load()
188 static inline void epa_store(struct h_epa epa, u32 offset, u64 value) in epa_store() argument
190 __raw_writeq(value, (void __iomem *)(epa.addr + offset)); in epa_store()
191 epa_load(epa, offset); /* synchronize explicitly to eHEA */ in epa_store()
194 static inline void epa_store_acc(struct h_epa epa, u32 offset, u64 value) in epa_store_acc() argument
196 __raw_writeq(value, (void __iomem *)(epa.addr + offset)); in epa_store_acc()
199 #define epa_store_cq(epa, offset, value)\ argument
200 epa_store(epa, CQTEMM_OFFSET(offset), value)
201 #define epa_load_cq(epa, offset)\ argument
202 epa_load(epa, CQTEMM_OFFSET(offset))
206 struct h_epa epa = qp->epas.kernel; in ehea_update_sqa() local
207 epa_store_acc(epa, QPTEMM_OFFSET(qpx_sqa), in ehea_update_sqa()
213 struct h_epa epa = qp->epas.kernel; in ehea_update_rq3a() local
214 epa_store_acc(epa, QPTEMM_OFFSET(qpx_rq3a), in ehea_update_rq3a()
220 struct h_epa epa = qp->epas.kernel; in ehea_update_rq2a() local
221 epa_store_acc(epa, QPTEMM_OFFSET(qpx_rq2a), in ehea_update_rq2a()
227 struct h_epa epa = qp->epas.kernel; in ehea_update_rq1a() local
228 epa_store_acc(epa, QPTEMM_OFFSET(qpx_rq1a), in ehea_update_rq1a()
234 struct h_epa epa = cq->epas.kernel; in ehea_update_feca() local
235 epa_store_acc(epa, CQTEMM_OFFSET(cqx_feca), in ehea_update_feca()
241 struct h_epa epa = cq->epas.kernel; in ehea_reset_cq_n1() local
242 epa_store_cq(epa, cqx_n1, in ehea_reset_cq_n1()
248 struct h_epa epa = my_cq->epas.kernel; in ehea_reset_cq_ep() local
249 epa_store_acc(epa, CQTEMM_OFFSET(cqx_ep), in ehea_reset_cq_ep()