Home
last modified time | relevance | path

Searched refs:qw1w2 (Results 1 – 4 of 4) sorted by relevance

/qemu/hw/intc/
H A Dxive.c433 uint32_t qw1w2 = xive_tctx_word2(&tctx->regs[TM_QW1_OS]); in xive_tctx_get_os_cam() local
434 uint32_t cam = be32_to_cpu(qw1w2); in xive_tctx_get_os_cam()
437 return qw1w2; in xive_tctx_get_os_cam()
440 static void xive_tctx_set_os_cam(XiveTCTX *tctx, uint32_t qw1w2) in xive_tctx_set_os_cam() argument
442 memcpy(&tctx->regs[TM_QW1_OS + TM_WORD2], &qw1w2, 4); in xive_tctx_set_os_cam()
448 uint32_t qw1w2; in xive_tm_pull_os_ctx() local
454 qw1w2 = xive_tctx_get_os_cam(tctx, &nvt_blk, &nvt_idx, &vo); in xive_tm_pull_os_ctx()
462 qw1w2_new = xive_set_field32(TM_QW1W2_VO, qw1w2, 0); in xive_tm_pull_os_ctx()
466 return qw1w2; in xive_tm_pull_os_ctx()
514 uint32_t qw1w2 = cpu_to_be32(cam); in xive_tm_push_os_ctx() local
[all …]
H A Dxive2.c857 uint32_t qw1w2; in xive2_tm_push_os_ctx() local
868 qw1w2 = cpu_to_be32(cam); in xive2_tm_push_os_ctx()
869 memcpy(&tctx->regs[TM_QW1_OS + TM_WORD2], &qw1w2, 4); in xive2_tm_push_os_ctx()
1201 uint32_t qw1w2 = xive_tctx_word2(&tctx->regs[TM_QW1_OS]); in xive2_presenter_tctx_match() local
1238 if ((be32_to_cpu(qw1w2) & TM2_QW1W2_VO) && in xive2_presenter_tctx_match()
1241 xive_get_field32(TM2_QW1W2_OS_CAM, qw1w2), in xive2_presenter_tctx_match()
1250 if ((be32_to_cpu(qw1w2) & TM2_QW1W2_VO) && in xive2_presenter_tctx_match()
1251 (cam == xive_get_field32(TM2_QW1W2_OS_CAM, qw1w2)) && in xive2_presenter_tctx_match()
H A Dspapr_xive.c656 uint32_t qw1w2 = cpu_to_be32(TM_QW1W2_VO | os_cam); in xive_tctx_set_os_cam() local
657 memcpy(&tctx->regs[TM_QW1_OS + TM_WORD2], &qw1w2, 4); in xive_tctx_set_os_cam()
/qemu/tests/qtest/
H A Dpnv-xive2-test.c350 uint32_t qw1w0, qw3w0, qw1w2, qw2w2; in test_pull_thread_ctx_to_odd_thread_cl() local
367 qw1w2 = get_tima32(qts, target_pir, TM_QW1_OS + TM_WORD2); in test_pull_thread_ctx_to_odd_thread_cl()
381 g_assert_cmphex(qw1w2, ==, be32_to_cpu(cl_word)); in test_pull_thread_ctx_to_odd_thread_cl()