Searched refs:cl_pair (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | pnv-xive2-test.c | 273 uint8_t cl_pair[XIVE_REPORT_SIZE]; in test_pull_thread_ctx_to_odd_thread_cl() local 283 memset(cl_pair, 0, sizeof(cl_pair)); in test_pull_thread_ctx_to_odd_thread_cl() 285 set_cl_pair(qts, &nvp, cl_pair); in test_pull_thread_ctx_to_odd_thread_cl() 298 get_cl_pair(qts, &nvp, cl_pair); in test_pull_thread_ctx_to_odd_thread_cl() 299 memcpy(&cl_word, &cl_pair[XIVE_ODD_CL + TM_QW1_OS + TM_WORD0], 4); in test_pull_thread_ctx_to_odd_thread_cl() 301 memcpy(&cl_word, &cl_pair[XIVE_ODD_CL + TM_QW3_HV_PHYS + TM_WORD0], 4); in test_pull_thread_ctx_to_odd_thread_cl() 303 memcpy(&cl_word, &cl_pair[XIVE_ODD_CL + TM_QW1_OS + TM_WORD2], 4); in test_pull_thread_ctx_to_odd_thread_cl() 305 memcpy(&cl_word, &cl_pair[XIVE_ODD_CL + TM_QW2_HV_POOL + TM_WORD2], 4); in test_pull_thread_ctx_to_odd_thread_cl() 308 cl_pair[XIVE_ODD_CL + TM_QW3_HV_PHYS + TM_WORD2]); in test_pull_thread_ctx_to_odd_thread_cl()
|
H A D | pnv-xive2-common.c | 118 void get_cl_pair(QTestState *qts, Xive2Nvp *nvp, uint8_t *cl_pair) in get_cl_pair() argument 121 xive_get_struct(qts, addr, cl_pair, XIVE_REPORT_SIZE); in get_cl_pair() 124 void set_cl_pair(QTestState *qts, Xive2Nvp *nvp, uint8_t *cl_pair) in set_cl_pair() argument 127 xive_copy_struct(qts, cl_pair, addr, XIVE_REPORT_SIZE); in set_cl_pair()
|
H A D | pnv-xive2-common.h | 100 extern void get_cl_pair(QTestState *qts, Xive2Nvp *nvp, uint8_t *cl_pair); 101 extern void set_cl_pair(QTestState *qts, Xive2Nvp *nvp, uint8_t *cl_pair);
|