Home
last modified time | relevance | path

Searched refs:spr_cb (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dgdbstub.c308 for (i = 0; i < ARRAY_SIZE(env->spr_cb); i++) { in gdb_gen_spr_feature()
309 ppc_spr_t *spr = &env->spr_cb[i]; in gdb_gen_spr_feature()
335 for (i = 0; i < ARRAY_SIZE(env->spr_cb); i++) { in gdb_gen_spr_feature()
336 ppc_spr_t *spr = &env->spr_cb[i]; in gdb_gen_spr_feature()
356 for (i = 0; i < ARRAY_SIZE(env->spr_cb); i++) { in gdb_find_spr_idx()
357 ppc_spr_t *spr = &env->spr_cb[i]; in gdb_find_spr_idx()
H A Dppc-qmp-cmds.c157 for (i = 0; i < ARRAY_SIZE(env->spr_cb); ++i) { in target_get_monitor_def()
158 ppc_spr_t *spr = &env->spr_cb[i]; in target_get_monitor_def()
H A Dtranslate.c199 ppc_spr_t *spr_cb; /* Needed to check rights for mfspr/mtspr */ member
4090 read_cb = ctx->spr_cb[sprn].uea_read; in gen_op_mfspr()
4093 read_cb = ctx->spr_cb[sprn].uea_read; in gen_op_mfspr()
4095 read_cb = ctx->spr_cb[sprn].hea_read; in gen_op_mfspr()
4097 read_cb = ctx->spr_cb[sprn].oea_read; in gen_op_mfspr()
4274 write_cb = ctx->spr_cb[sprn].uea_write; in gen_mtspr()
4277 write_cb = ctx->spr_cb[sprn].uea_write; in gen_mtspr()
4279 write_cb = ctx->spr_cb[sprn].hea_write; in gen_mtspr()
4281 write_cb = ctx->spr_cb[sprn].oea_write; in gen_mtspr()
6484 ctx->spr_cb = env->spr_cb; in ppc_tr_init_disas_context()
H A Dhelper_regs.c406 ppc_spr_t *spr = &env->spr_cb[num]; in _spr_register()
H A Dmachine.c294 env->spr[SPR_PVR] = env->spr_cb[SPR_PVR].default_value; in cpu_post_load()
H A Dcpu.h1285 ppc_spr_t spr_cb[1024]; member
2985 return cpu->env.spr_cb[spr].name != NULL; in ppc_has_spr()
H A Dkvm.c973 uint64_t id = env->spr_cb[i].one_reg_id; in kvm_arch_put_registers()
1273 uint64_t id = env->spr_cb[i].one_reg_id; in kvm_arch_get_registers()
H A Dcpu_init.c7330 for (i = 0; i < ARRAY_SIZE(env->spr_cb); i++) { in ppc_cpu_reset_hold()
7331 ppc_spr_t *spr = &env->spr_cb[i]; in ppc_cpu_reset_hold()
7736 if (env->spr_cb[SPR_LPCR].name) { in ppc_cpu_dump_state()
7750 if (env->spr_cb[SPR_SDR1].name) { /* SDR1 Exists */ in ppc_cpu_dump_state()
7753 if (env->spr_cb[SPR_PTCR].name) { /* PTCR Exists */ in ppc_cpu_dump_state()
/openbmc/qemu/hw/ppc/
H A Dspapr_cpu_core.c275 env->spr_cb[SPR_PIR].default_value = cs->cpu_index; in spapr_realize_vcpu()
276 env->spr_cb[SPR_TIR].default_value = thread_index; in spapr_realize_vcpu()
H A Dpnv_core.c298 ppc_spr_t *pir_spr = &env->spr_cb[SPR_PIR]; in pnv_core_cpu_realize()
299 ppc_spr_t *tir_spr = &env->spr_cb[SPR_TIR]; in pnv_core_cpu_realize()
H A Dppc.c1518 return env->spr_cb[SPR_PIR].default_value; in ppc_cpu_pir()
1524 return env->spr_cb[SPR_TIR].default_value; in ppc_cpu_tir()
H A De500.c969 env->spr_cb[SPR_BOOKE_PIR].default_value = cs->cpu_index = i; in ppce500_init()
/openbmc/qemu/hw/intc/
H A Dxive2.c217 uint32_t pir = env->spr_cb[SPR_PIR].default_value; in xive2_tctx_save_os_ctx()
309 uint32_t pir = env->spr_cb[SPR_PIR].default_value; in xive2_tctx_restore_os_ctx()
492 uint32_t pir = env->spr_cb[SPR_PIR].default_value; in xive2_tctx_hw_cam_line()
H A Dxive.c1540 uint32_t pir = env->spr_cb[SPR_PIR].default_value; in xive_tctx_hw_cam_line()