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.c127 uint64_t xive2_presenter_nvgc_backlog_op(XivePresenter *xptr, in xive2_presenter_nvgc_backlog_op()
132 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_presenter_nvgc_backlog_op()
173 uint64_t xive2_presenter_nvp_backlog_op(XivePresenter *xptr, in xive2_presenter_nvp_backlog_op()
177 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_presenter_nvp_backlog_op()
452 static uint8_t xive2_presenter_backlog_scan(XivePresenter *xptr, in xive2_presenter_backlog_scan()
457 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_presenter_backlog_scan()
494 static void xive2_presenter_backlog_decr(XivePresenter *xptr, in xive2_presenter_backlog_decr()
499 Xive2Router *xrtr = XIVE2_ROUTER(xptr);
632 static uint32_t xive2_tctx_hw_cam_line(XivePresenter *xptr, XiveTCTX *tctx) in xive2_redistribute()
634 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_redistribute()
98 xive2_presenter_nvgc_backlog_op(XivePresenter * xptr,bool crowd,uint8_t blk,uint32_t idx,uint16_t offset,uint16_t val) xive2_presenter_nvgc_backlog_op() argument
144 xive2_presenter_nvp_backlog_op(XivePresenter * xptr,uint8_t blk,uint32_t idx,uint16_t offset) xive2_presenter_nvp_backlog_op() argument
423 xive2_presenter_backlog_scan(XivePresenter * xptr,uint8_t nvx_blk,uint32_t nvx_idx,uint8_t first_group,uint8_t * out_level) xive2_presenter_backlog_scan() argument
465 xive2_presenter_backlog_decr(XivePresenter * xptr,uint8_t nvx_blk,uint32_t nvx_idx,uint8_t group_prio,uint8_t group_level) xive2_presenter_backlog_decr() argument
603 xive2_tctx_hw_cam_line(XivePresenter * xptr,XiveTCTX * tctx) xive2_tctx_hw_cam_line() argument
689 xive2_tm_pull_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,unsigned size,uint8_t ring) xive2_tm_pull_ctx() argument
764 xive2_tm_pull_os_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,unsigned size) xive2_tm_pull_os_ctx() argument
770 xive2_tm_pull_pool_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,unsigned size) xive2_tm_pull_pool_ctx() argument
776 xive2_tm_pull_phys_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,unsigned size) xive2_tm_pull_phys_ctx() argument
824 xive2_tm_pull_ctx_ol(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size,uint8_t ring) xive2_tm_pull_ctx_ol() argument
878 xive2_tm_pull_os_ctx_ol(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_pull_os_ctx_ol() argument
885 xive2_tm_pull_phys_ctx_ol(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_pull_phys_ctx_ol() argument
986 xive2_tm_push_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size,uint8_t ring) xive2_tm_push_ctx() argument
1059 xive2_tm_push_os_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_push_os_ctx() argument
1065 xive2_tm_push_pool_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_push_pool_ctx() argument
1071 xive2_tm_push_phys_ctx(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_push_phys_ctx() argument
1113 xive2_tctx_accept_el(XivePresenter * xptr,XiveTCTX * tctx,uint8_t ring,uint8_t cl_ring) xive2_tctx_accept_el() argument
1158 xive2_tm_ack_os_el(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_ack_os_el() argument
1349 xive2_tm_set_hv_cppr(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_set_hv_cppr() argument
1355 xive2_tm_set_os_cppr(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_set_os_cppr() argument
1365 xive2_tm_set_os_pending(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_set_os_pending() argument
1396 xive2_tm_set_hv_target(XivePresenter * xptr,XiveTCTX * tctx,hwaddr offset,uint64_t value,unsigned size) xive2_tm_set_hv_target() argument
1526 xive2_presenter_tctx_match(XivePresenter * xptr,XiveTCTX * tctx,uint8_t format,uint8_t nvt_blk,uint32_t nvt_idx,bool crowd,bool cam_ignore,uint32_t logic_serv) xive2_presenter_tctx_match() argument
[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, tct in pnv_xive2_broadcast()
794 XivePresenter *xptr = XIVE_TCTX(pnv_cpu_state(cpu)->intc)->xptr; pnv_xive2_tm_get_xive() local
2188 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_ic_tm_indirect_read() local
2208 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_ic_tm_indirect_write() local
2244 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_tm_write() local
2254 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_tm_read() local
2277 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_nvc_read() local
2295 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_nvc_write() local
2327 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_nvpg_read() local
2352 XivePresenter *xptr = XIVE_PRESENTER(xive); pnv_xive2_nvpg_write() local
[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.c3147 XivePresenter *xptr = XIVE_PRESENTER(&chip9->xive);
3148 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr);
3150 xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, crowd,
3168 XivePresenter *xptr = XIVE_PRESENTER(&chip10->xive);
3169 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr);
3171 xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, crowd,
3188 XivePresenter *xptr = XIVE_PRESENTER(&chip10->xive);
3189 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr);
3191 xpc->broadcast(xptr, nvt_blk, nvt_idx, crowd, cam_ignore, priority);
3207 XivePresenter *xptr
2708 XivePresenter *xptr = XIVE_PRESENTER(&chip9->xive); pnv_match_nvt() local
2729 XivePresenter *xptr = XIVE_PRESENTER(&chip10->xive); pnv10_xive_match_nvt() local
2749 XivePresenter *xptr = XIVE_PRESENTER(&chip10->xive); pnv10_xive_broadcast() local
[all...]
H A Dspapr.c4472 XivePresenter *xptr = XIVE_PRESENTER(spapr->active_intc);
4473 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr);
4484 if (!xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, crowd, cam_ignore, in spapr_match_nvt()
4480 XivePresenter *xptr = XIVE_PRESENTER(spapr->active_intc); spapr_match_nvt() local