Searched refs:qw1w2 (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/intc/ |
H A D | xive.c | 440 uint32_t qw1w2 = xive_tctx_word2(&tctx->regs[TM_QW1_OS]); in xive_tctx_get_os_cam() local 441 uint32_t cam = be32_to_cpu(qw1w2); in xive_tctx_get_os_cam() 444 return qw1w2; in xive_tctx_get_os_cam() 447 static void xive_tctx_set_os_cam(XiveTCTX *tctx, uint32_t qw1w2) in xive_tctx_set_os_cam() argument 449 memcpy(&tctx->regs[TM_QW1_OS + TM_WORD2], &qw1w2, 4); in xive_tctx_set_os_cam() 455 uint32_t qw1w2; in xive_tm_pull_os_ctx() local 461 qw1w2 = xive_tctx_get_os_cam(tctx, &nvt_blk, &nvt_idx, &vo); in xive_tm_pull_os_ctx() 469 qw1w2_new = xive_set_field32(TM_QW1W2_VO, qw1w2, 0); in xive_tm_pull_os_ctx() 473 return qw1w2; in xive_tm_pull_os_ctx() 517 uint32_t qw1w2 = cpu_to_be32(cam); in xive_tm_push_os_ctx() local [all …]
|
H A D | xive2.c | 601 uint32_t qw1w2; in xive2_tm_push_os_ctx() local 612 qw1w2 = cpu_to_be32(cam); in xive2_tm_push_os_ctx() 613 memcpy(&tctx->regs[TM_QW1_OS + TM_WORD2], &qw1w2, 4); in xive2_tm_push_os_ctx() 737 uint32_t qw1w2 = xive_tctx_word2(&tctx->regs[TM_QW1_OS]); in xive2_presenter_tctx_match() local 771 if ((be32_to_cpu(qw1w2) & TM2_QW1W2_VO) && in xive2_presenter_tctx_match() 772 cam == xive_get_field32(TM2_QW1W2_OS_CAM, qw1w2)) { in xive2_presenter_tctx_match() 779 if ((be32_to_cpu(qw1w2) & TM2_QW1W2_VO) && in xive2_presenter_tctx_match() 780 (cam == xive_get_field32(TM2_QW1W2_OS_CAM, qw1w2)) && in xive2_presenter_tctx_match()
|
H A D | spapr_xive.c | 657 uint32_t qw1w2 = cpu_to_be32(TM_QW1W2_VO | os_cam); in xive_tctx_set_os_cam() local 658 memcpy(&tctx->regs[TM_QW1_OS + TM_WORD2], &qw1w2, 4); in xive_tctx_set_os_cam()
|
/openbmc/qemu/tests/qtest/ |
H A D | pnv-xive2-test.c | 274 uint32_t qw1w0, qw3w0, qw1w2, qw2w2; in test_pull_thread_ctx_to_odd_thread_cl() local 290 qw1w2 = get_tima32(qts, target_pir, TM_QW1_OS + TM_WORD2); in test_pull_thread_ctx_to_odd_thread_cl() 304 g_assert_cmphex(qw1w2, ==, be32_to_cpu(cl_word)); in test_pull_thread_ctx_to_odd_thread_cl()
|