Searched refs:spr_cb (Results 1 – 14 of 14) sorted by relevance
308 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()
157 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()
199 ppc_spr_t *spr_cb; /* Needed to check rights for mfspr/mtspr */ member4090 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()
406 ppc_spr_t *spr = &env->spr_cb[num]; in _spr_register()
294 env->spr[SPR_PVR] = env->spr_cb[SPR_PVR].default_value; in cpu_post_load()
1285 ppc_spr_t spr_cb[1024]; member2985 return cpu->env.spr_cb[spr].name != NULL; in ppc_has_spr()
973 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()
7330 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()
275 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()
298 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()
1518 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()
969 env->spr_cb[SPR_BOOKE_PIR].default_value = cs->cpu_index = i; in ppce500_init()
217 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()
1540 uint32_t pir = env->spr_cb[SPR_PIR].default_value; in xive_tctx_hw_cam_line()