/openbmc/qemu/hw/intc/ |
H A D | xive.c | 204 static void xive_tm_set_hv_cppr(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_hv_cppr() argument 210 static uint64_t xive_tm_ack_hv_reg(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_ack_hv_reg() argument 216 static uint64_t xive_tm_pull_pool_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_pull_pool_ctx() argument 227 static uint64_t xive_tm_pull_phys_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_pull_phys_ctx() argument 238 static void xive_tm_vt_push(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset, in xive_tm_vt_push() argument 244 static uint64_t xive_tm_vt_poll(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_vt_poll() argument 388 static uint64_t xive_tm_ack_os_reg(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_ack_os_reg() argument 394 static void xive_tm_set_os_cppr(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_os_cppr() argument 407 static void xive_tm_set_os_lgs(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_os_lgs() argument 417 static void xive_tm_set_os_pending(XivePresenter *xptr, XiveTCTX *tctx, in xive_tm_set_os_pending() argument [all …]
|
H A D | xive2.c | 341 static uint32_t xive2_tctx_hw_cam_line(XivePresenter *xptr, XiveTCTX *tctx) in xive2_tctx_hw_cam_line() argument 343 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_tctx_hw_cam_line() 354 static uint64_t xive2_tm_pull_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive2_tm_pull_ctx() argument 357 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_tm_pull_ctx() 396 uint64_t xive2_tm_pull_os_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive2_tm_pull_os_ctx() argument 399 return xive2_tm_pull_ctx(xptr, tctx, offset, size, TM_QW1_OS); in xive2_tm_pull_os_ctx() 444 static void xive2_tm_pull_ctx_ol(XivePresenter *xptr, XiveTCTX *tctx, in xive2_tm_pull_ctx_ol() argument 448 Xive2Router *xrtr = XIVE2_ROUTER(xptr); in xive2_tm_pull_ctx_ol() 455 hw_cam = xive2_tctx_hw_cam_line(xptr, tctx); in xive2_tm_pull_ctx_ol() 495 xive2_tm_pull_ctx(xptr, tctx, offset, size, ring); in xive2_tm_pull_ctx_ol() [all …]
|
H A D | pnv_xive2.c | 626 static int pnv_xive2_match_nvt(XivePresenter *xptr, uint8_t format, in pnv_xive2_match_nvt() argument 631 PnvXive2 *xive = PNV_XIVE2(xptr); in pnv_xive2_match_nvt() 654 ring = xive_presenter_tctx_match(xptr, tctx, format, nvt_blk, in pnv_xive2_match_nvt() 658 ring = xive2_presenter_tctx_match(xptr, tctx, format, nvt_blk, in pnv_xive2_match_nvt() 685 static uint32_t pnv_xive2_presenter_get_config(XivePresenter *xptr) in pnv_xive2_presenter_get_config() argument 687 PnvXive2 *xive = PNV_XIVE2(xptr); in pnv_xive2_presenter_get_config() 709 XivePresenter *xptr = XIVE_TCTX(pnv_cpu_state(cpu)->intc)->xptr; in pnv_xive2_tm_get_xive() local 710 PnvXive2 *xive = PNV_XIVE2(xptr); in pnv_xive2_tm_get_xive() 2067 XivePresenter *xptr = XIVE_PRESENTER(xive); in pnv_xive2_ic_tm_indirect_read() local 2077 val = xive_tctx_tm_read(xptr, tctx, hw_page_offset, size); in pnv_xive2_ic_tm_indirect_read() [all …]
|
H A D | spapr_xive_kvm.c | 79 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 D | pnv_xive.c | 474 static int pnv_xive_match_nvt(XivePresenter *xptr, uint8_t format, in pnv_xive_match_nvt() argument 479 PnvXive *xive = PNV_XIVE(xptr); in pnv_xive_match_nvt() 502 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 D | spapr_xive.c | 432 static int spapr_xive_match_nvt(XivePresenter *xptr, uint8_t format, in spapr_xive_match_nvt() argument 456 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 808 static bool spapr_xive_in_kernel_xptr(const XivePresenter *xptr) in spapr_xive_in_kernel_xptr() argument 810 return spapr_xive_in_kernel(SPAPR_XIVE(xptr)); in spapr_xive_in_kernel_xptr()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | xive2.h | 90 int xive2_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx, 118 void xive2_tm_push_os_ctx(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset, 120 uint64_t xive2_tm_pull_os_ctx(XivePresenter *xptr, XiveTCTX *tctx, 122 void xive2_tm_pull_os_ctx_ol(XivePresenter *xptr, XiveTCTX *tctx, 124 void xive2_tm_set_hv_target(XivePresenter *xptr, XiveTCTX *tctx, 126 void xive2_tm_pull_phys_ctx_ol(XivePresenter *xptr, XiveTCTX *tctx,
|
H A D | xive.h | 362 XivePresenter *xptr; member 440 int (*match_nvt)(XivePresenter *xptr, uint8_t format, 444 bool (*in_kernel)(const XivePresenter *xptr); 445 uint32_t (*get_config)(XivePresenter *xptr); 448 int xive_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx, 526 void xive_tctx_tm_write(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset, 528 uint64_t xive_tctx_tm_read(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset, 532 Object *xive_tctx_create(Object *cpu, XivePresenter *xptr, Error **errp);
|
/openbmc/linux/drivers/usb/storage/ |
H A D | alauda.c | 815 unsigned char *bptr, *cptr, *xptr; in alauda_write_lba() local 881 xptr = ptr; in alauda_write_lba() 885 memcpy(bptr, xptr, pagesize); in alauda_write_lba() 886 xptr += pagesize; in alauda_write_lba()
|
H A D | sddr09.c | 859 unsigned char *bptr, *cptr, *xptr; in sddr09_write_lba() local 918 xptr = ptr; in sddr09_write_lba() 922 memcpy(bptr, xptr, info->pagesize); in sddr09_write_lba() 923 xptr += info->pagesize; in sddr09_write_lba()
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv.c | 2596 XivePresenter *xptr = XIVE_PRESENTER(&chip9->xive); in pnv_match_nvt() local 2597 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr); in pnv_match_nvt() 2600 count = xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, cam_ignore, in pnv_match_nvt() 2625 XivePresenter *xptr = XIVE_PRESENTER(&chip10->xive); in pnv10_xive_match_nvt() local 2626 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr); in pnv10_xive_match_nvt() 2629 count = xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, cam_ignore, in pnv10_xive_match_nvt()
|
H A D | spapr.c | 4444 XivePresenter *xptr = XIVE_PRESENTER(spapr->active_intc); in spapr_match_nvt() local 4445 XivePresenterClass *xpc = XIVE_PRESENTER_GET_CLASS(xptr); in spapr_match_nvt() 4448 count = xpc->match_nvt(xptr, format, nvt_blk, nvt_idx, cam_ignore, in spapr_match_nvt()
|