/openbmc/linux/arch/nios2/kernel/ |
H A D | misaligned.c | 51 static inline u32 get_reg_val(struct pt_regs *fp, int reg) in get_reg_val() function 93 addr = get_reg_val(fp, a) + imm16; in handle_unaligned_c() 104 val = get_reg_val(fp, b); in handle_unaligned_c() 122 val = get_reg_val(fp, b); in handle_unaligned_c()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s.c | 632 *val = get_reg_val(id, kvmppc_get_dar(vcpu)); in kvmppc_get_one_reg() 635 *val = get_reg_val(id, kvmppc_get_dsisr(vcpu)); in kvmppc_get_one_reg() 639 *val = get_reg_val(id, VCPU_FPR(vcpu, i)); in kvmppc_get_one_reg() 642 *val = get_reg_val(id, vcpu->arch.fp.fpscr); in kvmppc_get_one_reg() 656 *val = get_reg_val(id, INS_TW); in kvmppc_get_one_reg() 665 *val = get_reg_val(id, kvmppc_xive_get_icp(vcpu)); in kvmppc_get_one_reg() 667 *val = get_reg_val(id, kvmppc_xics_get_icp(vcpu)); in kvmppc_get_one_reg() 683 *val = get_reg_val(id, vcpu->arch.fscr); in kvmppc_get_one_reg() 686 *val = get_reg_val(id, vcpu->arch.tar); in kvmppc_get_one_reg() 689 *val = get_reg_val(id, vcpu->arch.ebbhr); in kvmppc_get_one_reg() [all …]
|
H A D | book3s_hv.c | 2198 *val = get_reg_val(id, KVMPPC_INST_SW_BREAKPOINT); in kvmppc_get_one_reg_hv() 2201 *val = get_reg_val(id, 0); in kvmppc_get_one_reg_hv() 2204 *val = get_reg_val(id, vcpu->arch.dabr); in kvmppc_get_one_reg_hv() 2207 *val = get_reg_val(id, vcpu->arch.dabrx); in kvmppc_get_one_reg_hv() 2210 *val = get_reg_val(id, kvmppc_get_dscr_hv(vcpu)); in kvmppc_get_one_reg_hv() 2213 *val = get_reg_val(id, kvmppc_get_purr_hv(vcpu)); in kvmppc_get_one_reg_hv() 2216 *val = get_reg_val(id, kvmppc_get_spurr_hv(vcpu)); in kvmppc_get_one_reg_hv() 2219 *val = get_reg_val(id, kvmppc_get_amr_hv(vcpu)); in kvmppc_get_one_reg_hv() 2222 *val = get_reg_val(id, kvmppc_get_uamor_hv(vcpu)); in kvmppc_get_one_reg_hv() 2226 *val = get_reg_val(id, kvmppc_get_mmcr_hv(vcpu, i)); in kvmppc_get_one_reg_hv() [all …]
|
H A D | book3s_pr.c | 1542 *val = get_reg_val(id, KVMPPC_INST_SW_BREAKPOINT); in kvmppc_get_one_reg_pr() 1545 *val = get_reg_val(id, to_book3s(vcpu)->hior); in kvmppc_get_one_reg_pr() 1548 *val = get_reg_val(id, to_book3s(vcpu)->vtb); in kvmppc_get_one_reg_pr() 1556 *val = get_reg_val(id, LPCR_ILE); in kvmppc_get_one_reg_pr() 1558 *val = get_reg_val(id, 0); in kvmppc_get_one_reg_pr() 1562 *val = get_reg_val(id, vcpu->arch.tfhar); in kvmppc_get_one_reg_pr() 1565 *val = get_reg_val(id, vcpu->arch.tfiar); in kvmppc_get_one_reg_pr() 1568 *val = get_reg_val(id, vcpu->arch.texasr); in kvmppc_get_one_reg_pr() 1571 *val = get_reg_val(id, in kvmppc_get_one_reg_pr() 1591 *val = get_reg_val(id, vcpu->arch.cr_tm); in kvmppc_get_one_reg_pr() [all …]
|
H A D | e500_mmu.c | 605 *val = get_reg_val(id, vcpu->arch.shared->mas0); in kvmppc_get_one_reg_e500_tlb() 608 *val = get_reg_val(id, vcpu->arch.shared->mas1); in kvmppc_get_one_reg_e500_tlb() 611 *val = get_reg_val(id, vcpu->arch.shared->mas2); in kvmppc_get_one_reg_e500_tlb() 614 *val = get_reg_val(id, vcpu->arch.shared->mas7_3); in kvmppc_get_one_reg_e500_tlb() 617 *val = get_reg_val(id, vcpu->arch.shared->mas4); in kvmppc_get_one_reg_e500_tlb() 620 *val = get_reg_val(id, vcpu->arch.shared->mas6); in kvmppc_get_one_reg_e500_tlb() 623 *val = get_reg_val(id, vcpu->arch.mmucfg); in kvmppc_get_one_reg_e500_tlb() 626 *val = get_reg_val(id, vcpu->arch.eptcfg); in kvmppc_get_one_reg_e500_tlb() 633 *val = get_reg_val(id, vcpu->arch.tlbcfg[i]); in kvmppc_get_one_reg_e500_tlb() 640 *val = get_reg_val(id, vcpu->arch.tlbps[i]); in kvmppc_get_one_reg_e500_tlb()
|
H A D | booke.c | 1678 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac1); in kvmppc_get_one_reg() 1681 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac2); in kvmppc_get_one_reg() 1685 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac3); in kvmppc_get_one_reg() 1688 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac4); in kvmppc_get_one_reg() 1692 *val = get_reg_val(id, vcpu->arch.dbg_reg.dac1); in kvmppc_get_one_reg() 1695 *val = get_reg_val(id, vcpu->arch.dbg_reg.dac2); in kvmppc_get_one_reg() 1699 *val = get_reg_val(id, epr); in kvmppc_get_one_reg() 1704 *val = get_reg_val(id, vcpu->arch.epcr); in kvmppc_get_one_reg() 1708 *val = get_reg_val(id, vcpu->arch.tcr); in kvmppc_get_one_reg() 1711 *val = get_reg_val(id, vcpu->arch.tsr); in kvmppc_get_one_reg() [all …]
|
H A D | e500mc.c | 284 *val = get_reg_val(id, vcpu->arch.sprg9); in kvmppc_get_one_reg_e500mc()
|
H A D | powerpc.c | 1729 val = get_reg_val(reg->id, vcpu->arch.vr.vscr.u[3]); in kvm_vcpu_ioctl_get_one_reg() 1732 val = get_reg_val(reg->id, vcpu->arch.vrsave); in kvm_vcpu_ioctl_get_one_reg()
|
/openbmc/qemu/target/i386/hvf/ |
H A D | x86_decode.h | 308 target_ulong get_reg_val(CPUX86State *env, int reg, int rex_present,
|
H A D | x86_decode.c | 1711 target_ulong get_reg_val(CPUX86State *env, int reg, int rex_present, in get_reg_val() function 1739 base = get_reg_val(env, decode->sib.base, decode->rex.rex, in get_sib_val() 1748 scaled_index = get_reg_val(env, index_reg, decode->rex.rex, in get_sib_val() 1778 ptr += get_reg_val(env, decode->modrm.rm, decode->rex.rex, in calc_modrm_operand32() 1808 ptr = get_reg_val(env, src, decode->rex.rex, decode->rex.b, 8) + in calc_modrm_operand64()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_ppc.h | 409 #define get_reg_val(id, reg) ({ \ macro
|