Home
last modified time | relevance | path

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

/qemu/hw/intc/
H A Dxive2.c190 Xive2Nvp nvp; in xive2_tctx_save_os_ctx() local
225 nvp.w2 = xive_set_field32(NVP2_W2_IPB, nvp.w2, regs[TM_IPB]); in xive2_tctx_save_os_ctx()
230 nvp.w1 = xive_set_field32(NVP2_W1_CO, nvp.w1, 0); in xive2_tctx_save_os_ctx()
232 nvp.w1 = xive_set_field32(NVP2_W1_CO_THRID, nvp.w1, 0xFFFF); in xive2_tctx_save_os_ctx()
291 nvp->w2 = xive_set_field32(NVP2_W2_CPPR, nvp->w2, 0); in xive2_tctx_restore_os_ctx()
297 nvp->w1 = xive_set_field32(NVP2_W1_CO, nvp->w1, 1); in xive2_tctx_restore_os_ctx()
299 nvp->w1 = xive_set_field32(NVP2_W1_CO_THRID, nvp->w1, pir); in xive2_tctx_restore_os_ctx()
306 nvp->w1 = xive_set_field32(NVP2_W1_CO_PRIV, nvp->w1, 0); in xive2_tctx_restore_os_ctx()
318 Xive2Nvp nvp; in xive2_tctx_need_resend() local
345 nvp.w2 = xive_set_field32(NVP2_W2_IPB, nvp.w2, 0); in xive2_tctx_need_resend()
[all …]
H A Dpnv_xive2.c371 Xive2Nvp *nvp) in pnv_xive2_get_nvp() argument
373 return pnv_xive2_vst_read(PNV_XIVE2(xrtr), VST_NVP, blk, idx, nvp); in pnv_xive2_get_nvp()
377 Xive2Nvp *nvp, uint8_t word_number) in pnv_xive2_write_nvp() argument
2035 if (!xive2_nvp_is_valid(nvp)) { in type_init()
2041 xive_get_field32(NVP2_W2_IPB, nvp->w2)); in type_init()
2045 if (xive2_nvp_is_hw(nvp)) { in type_init()
2047 xive_get_field32(NVP2_W2_CPPR, nvp->w2)); in type_init()
2048 if (xive2_nvp_is_co(nvp)) { in type_init()
2116 Xive2Nvp nvp; in pnv_xive2_pic_print_info() local
2151 while (!xive2_router_get_nvp(xrtr, blk, i, &nvp)) { in pnv_xive2_pic_print_info()
[all …]
/qemu/include/hw/ppc/
H A Dxive2_regs.h170 #define xive2_nvp_is_valid(nvp) (be32_to_cpu((nvp)->w0) & NVP2_W0_VALID) argument
171 #define xive2_nvp_is_hw(nvp) (be32_to_cpu((nvp)->w0) & NVP2_W0_HW) argument
172 #define xive2_nvp_is_co(nvp) (be32_to_cpu((nvp)->w1) & NVP2_W1_CO) argument
H A Dxive2.h53 Xive2Nvp *nvp);
55 Xive2Nvp *nvp, uint8_t word_number);
67 Xive2Nvp *nvp);
69 Xive2Nvp *nvp, uint8_t word_number);