Home
last modified time | relevance | path

Searched refs:xptr (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/include/hw/ppc/
H A Dxive2.h91 int xive2_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx,
97 uint64_t xive2_presenter_nvp_backlog_op(XivePresenter *xptr,
101 uint64_t xive2_presenter_nvgc_backlog_op(XivePresenter *xptr,
129 void xive2_tm_set_hv_cppr(XivePresenter *xptr, XiveTCTX *tctx,
131 void xive2_tm_set_os_cppr(XivePresenter *xptr, XiveTCTX *tctx,
133 void xive2_tm_set_os_pending(XivePresenter *xptr, XiveTCTX *tctx,
135 void xive2_tm_push_os_ctx(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset,
137 uint64_t xive2_tm_pull_os_ctx(XivePresenter *xptr, XiveTCTX *tctx,
139 void xive2_tm_pull_os_ctx_ol(XivePresenter *xptr, XiveTCTX *tctx,
143 void xive2_tm_set_hv_target(XivePresenter *xptr, XiveTCTX *tctx,
[all …]
H A Dxive.h360 XivePresenter *xptr; member
445 bool (*match_nvt)(XivePresenter *xptr, uint8_t format,
449 bool (*in_kernel)(const XivePresenter *xptr);
450 uint32_t (*get_config)(XivePresenter *xptr);
451 int (*broadcast)(XivePresenter *xptr,
456 int xive_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx,
579 void xive_tctx_tm_write(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset,
581 uint64_t xive_tctx_tm_read(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset,
585 Object *xive_tctx_create(Object *cpu, XivePresenter *xptr, Error **errp);
/openbmc/qemu/hw/intc/
H A Dxive2.c98 uint64_t xive2_presenter_nvgc_backlog_op(XivePresenter *xptr, in xive2_presenter_nvgc_backlog_op() argument
103 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_presenter_nvgc_backlog_op()
144 uint64_t xive2_presenter_nvp_backlog_op(XivePresenter *xptr, in xive2_presenter_nvp_backlog_op() argument
148 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_presenter_nvp_backlog_op()
423 static uint8_t xive2_presenter_backlog_scan(XivePresenter *xptr, in xive2_presenter_backlog_scan() argument
428 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_presenter_backlog_scan()
465 static void xive2_presenter_backlog_decr(XivePresenter *xptr, in xive2_presenter_backlog_decr() argument
470 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_presenter_backlog_decr()
603 static uint32_t xive2_tctx_hw_cam_line(XivePresenter *xptr, XiveTCTX *tctx) in xive2_tctx_hw_cam_line() argument
605 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_tctx_hw_cam_line()
[all …]
H A Dxive.c273 static void xive_tm_set_hv_cppr(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_hv_cppr() argument
279 static uint64_t xive_tm_ack_hv_reg(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_ack_hv_reg() argument
314 static uint64_t xive_tm_pull_pool_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_pull_pool_ctx() argument
342 static uint64_t xive_tm_pull_phys_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_pull_phys_ctx() argument
360 static void xive_tm_vt_push(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset, in xive_tm_vt_push() argument
366 static uint64_t xive_tm_vt_poll(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_vt_poll() argument
510 static uint64_t xive_tm_ack_os_reg(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_ack_os_reg() argument
516 static void xive_tm_set_os_cppr(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_os_cppr() argument
529 static void xive_tm_set_os_lgs(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_os_lgs() argument
535 static void xive_tm_set_pool_lgs(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_pool_lgs() argument
[all …]
H A Dpnv_xive2.c643 static bool pnv_xive2_match_nvt(XivePresenter *xptr, uint8_t format, in pnv_xive2_match_nvt() argument
648 PnvXive2 *xive = PNV_XIVE2(xptr); in pnv_xive2_match_nvt()
675 ring = xive_presenter_tctx_match(xptr, tctx, format, nvt_blk, in pnv_xive2_match_nvt()
679 ring = xive2_presenter_tctx_match(xptr, tctx, format, nvt_blk, in pnv_xive2_match_nvt()
729 static uint32_t pnv_xive2_presenter_get_config(XivePresenter *xptr) in pnv_xive2_presenter_get_config() argument
731 PnvXive2 *xive = PNV_XIVE2(xptr); in pnv_xive2_presenter_get_config()
740 static int pnv_xive2_broadcast(XivePresenter *xptr, in pnv_xive2_broadcast() argument
744 PnvXive2 *xive = PNV_XIVE2(xptr); in pnv_xive2_broadcast()
766 ring = xive_presenter_tctx_match(xptr, tctx, 0, nvt_blk, in pnv_xive2_broadcast()
769 ring = xive2_presenter_tctx_match(xptr, tctx, 0, nvt_blk, in pnv_xive2_broadcast()
[all …]
H A Dspapr_xive_kvm.c79 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_set_state()
101 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_get_state()
154 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_connect()
H A Dpnv_xive.c473 static bool pnv_xive_match_nvt(XivePresenter *xptr, uint8_t format, in pnv_xive_match_nvt() argument
478 PnvXive *xive = PNV_XIVE(xptr); in pnv_xive_match_nvt()
500 ring = xive_presenter_tctx_match(xptr, tctx, format, nvt_blk, in pnv_xive_match_nvt()
526 static uint32_t pnv_xive_presenter_get_config(XivePresenter *xptr) in pnv_xive_presenter_get_config() argument
549 XivePresenter *xptr = XIVE_TCTX(pnv_cpu_state(cpu)->intc)->xptr; in pnv_xive_tm_get_xive() local
550 PnvXive *xive = PNV_XIVE(xptr); in pnv_xive_tm_get_xive()
H A Dspapr_xive.c431 static bool spapr_xive_match_nvt(XivePresenter *xptr, uint8_t format, in spapr_xive_match_nvt() argument
455 ring = xive_presenter_tctx_match(xptr, tctx, format, nvt_blk, nvt_idx, in spapr_xive_match_nvt()
478 static uint32_t spapr_xive_presenter_get_config(XivePresenter *xptr) in spapr_xive_presenter_get_config() argument
807 static bool spapr_xive_in_kernel_xptr(const XivePresenter *xptr) in spapr_xive_in_kernel_xptr() argument
809 return spapr_xive_in_kernel(SPAPR_XIVE(xptr)); in spapr_xive_in_kernel_xptr()
/openbmc/qemu/hw/ppc/
H A Dpnv.c2708 XivePresenter *xptr = XIVE_PRESENTER(&chip9->xive); in pnv_match_nvt() local
2709 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr); in pnv_match_nvt()
2711 xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, crowd, in pnv_match_nvt()
2729 XivePresenter *xptr = XIVE_PRESENTER(&chip10->xive); in pnv10_xive_match_nvt() local
2730 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr); in pnv10_xive_match_nvt()
2732 xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, crowd, in pnv10_xive_match_nvt()
2749 XivePresenter *xptr = XIVE_PRESENTER(&chip10->xive); in pnv10_xive_broadcast() local
2750 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr); in pnv10_xive_broadcast()
2752 xpc->broadcast(xptr, nvt_blk, nvt_idx, crowd, cam_ignore, priority); in pnv10_xive_broadcast()
H A Dspapr.c4480 XivePresenter *xptr = XIVE_PRESENTER(spapr->active_intc); in spapr_match_nvt() local
4481 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr); in spapr_match_nvt()
4492 if (!xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, crowd, cam_ignore, in spapr_match_nvt()