/linux-4.1.27/arch/nios2/kernel/ |
H A D | misaligned.c | 53 static inline u32 get_reg_val(struct pt_regs *fp, int reg) get_reg_val() function 97 addr = get_reg_val(fp, a) + imm16; handle_unaligned_c() 109 val = get_reg_val(fp, b); handle_unaligned_c() 114 a, get_reg_val(fp, a), handle_unaligned_c() 115 b, get_reg_val(fp, b), handle_unaligned_c() 135 val = get_reg_val(fp, b); handle_unaligned_c()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | book3s.c | 542 *val = get_reg_val(id, kvmppc_get_dar(vcpu)); kvmppc_get_one_reg() 545 *val = get_reg_val(id, kvmppc_get_dsisr(vcpu)); kvmppc_get_one_reg() 549 *val = get_reg_val(id, VCPU_FPR(vcpu, i)); kvmppc_get_one_reg() 552 *val = get_reg_val(id, vcpu->arch.fp.fpscr); kvmppc_get_one_reg() 566 *val = get_reg_val(id, INS_TW); kvmppc_get_one_reg() 574 *val = get_reg_val(id, kvmppc_xics_get_icp(vcpu)); kvmppc_get_one_reg() 578 *val = get_reg_val(id, vcpu->arch.fscr); kvmppc_get_one_reg() 581 *val = get_reg_val(id, vcpu->arch.tar); kvmppc_get_one_reg() 584 *val = get_reg_val(id, vcpu->arch.ebbhr); kvmppc_get_one_reg() 587 *val = get_reg_val(id, vcpu->arch.ebbrr); kvmppc_get_one_reg() 590 *val = get_reg_val(id, vcpu->arch.bescr); kvmppc_get_one_reg() 593 *val = get_reg_val(id, vcpu->arch.vtb); kvmppc_get_one_reg() 596 *val = get_reg_val(id, vcpu->arch.ic); kvmppc_get_one_reg()
|
H A D | book3s_hv.c | 1032 *val = get_reg_val(id, KVMPPC_INST_SW_BREAKPOINT); kvmppc_get_one_reg_hv() 1035 *val = get_reg_val(id, 0); kvmppc_get_one_reg_hv() 1038 *val = get_reg_val(id, vcpu->arch.dabr); kvmppc_get_one_reg_hv() 1041 *val = get_reg_val(id, vcpu->arch.dabrx); kvmppc_get_one_reg_hv() 1044 *val = get_reg_val(id, vcpu->arch.dscr); kvmppc_get_one_reg_hv() 1047 *val = get_reg_val(id, vcpu->arch.purr); kvmppc_get_one_reg_hv() 1050 *val = get_reg_val(id, vcpu->arch.spurr); kvmppc_get_one_reg_hv() 1053 *val = get_reg_val(id, vcpu->arch.amr); kvmppc_get_one_reg_hv() 1056 *val = get_reg_val(id, vcpu->arch.uamor); kvmppc_get_one_reg_hv() 1060 *val = get_reg_val(id, vcpu->arch.mmcr[i]); kvmppc_get_one_reg_hv() 1064 *val = get_reg_val(id, vcpu->arch.pmc[i]); kvmppc_get_one_reg_hv() 1068 *val = get_reg_val(id, vcpu->arch.spmc[i]); kvmppc_get_one_reg_hv() 1071 *val = get_reg_val(id, vcpu->arch.siar); kvmppc_get_one_reg_hv() 1074 *val = get_reg_val(id, vcpu->arch.sdar); kvmppc_get_one_reg_hv() 1077 *val = get_reg_val(id, vcpu->arch.sier); kvmppc_get_one_reg_hv() 1080 *val = get_reg_val(id, vcpu->arch.iamr); kvmppc_get_one_reg_hv() 1083 *val = get_reg_val(id, vcpu->arch.pspb); kvmppc_get_one_reg_hv() 1086 *val = get_reg_val(id, vcpu->arch.vcore->dpdes); kvmppc_get_one_reg_hv() 1089 *val = get_reg_val(id, vcpu->arch.dawr); kvmppc_get_one_reg_hv() 1092 *val = get_reg_val(id, vcpu->arch.dawrx); kvmppc_get_one_reg_hv() 1095 *val = get_reg_val(id, vcpu->arch.ciabr); kvmppc_get_one_reg_hv() 1098 *val = get_reg_val(id, vcpu->arch.csigr); kvmppc_get_one_reg_hv() 1101 *val = get_reg_val(id, vcpu->arch.tacr); kvmppc_get_one_reg_hv() 1104 *val = get_reg_val(id, vcpu->arch.tcscr); kvmppc_get_one_reg_hv() 1107 *val = get_reg_val(id, vcpu->arch.pid); kvmppc_get_one_reg_hv() 1110 *val = get_reg_val(id, vcpu->arch.acop); kvmppc_get_one_reg_hv() 1113 *val = get_reg_val(id, vcpu->arch.wort); kvmppc_get_one_reg_hv() 1117 *val = get_reg_val(id, vcpu->arch.vpa.next_gpa); kvmppc_get_one_reg_hv() 1133 *val = get_reg_val(id, vcpu->arch.vcore->tb_offset); kvmppc_get_one_reg_hv() 1137 *val = get_reg_val(id, vcpu->arch.vcore->lpcr); kvmppc_get_one_reg_hv() 1140 *val = get_reg_val(id, vcpu->arch.ppr); kvmppc_get_one_reg_hv() 1144 *val = get_reg_val(id, vcpu->arch.tfhar); kvmppc_get_one_reg_hv() 1147 *val = get_reg_val(id, vcpu->arch.tfiar); kvmppc_get_one_reg_hv() 1150 *val = get_reg_val(id, vcpu->arch.texasr); kvmppc_get_one_reg_hv() 1154 *val = get_reg_val(id, vcpu->arch.gpr_tm[i]); kvmppc_get_one_reg_hv() 1172 *val = get_reg_val(id, vcpu->arch.cr_tm); kvmppc_get_one_reg_hv() 1175 *val = get_reg_val(id, vcpu->arch.lr_tm); kvmppc_get_one_reg_hv() 1178 *val = get_reg_val(id, vcpu->arch.ctr_tm); kvmppc_get_one_reg_hv() 1181 *val = get_reg_val(id, vcpu->arch.fp_tm.fpscr); kvmppc_get_one_reg_hv() 1184 *val = get_reg_val(id, vcpu->arch.amr_tm); kvmppc_get_one_reg_hv() 1187 *val = get_reg_val(id, vcpu->arch.ppr_tm); kvmppc_get_one_reg_hv() 1190 *val = get_reg_val(id, vcpu->arch.vrsave_tm); kvmppc_get_one_reg_hv() 1194 *val = get_reg_val(id, vcpu->arch.vr_tm.vscr.u[3]); kvmppc_get_one_reg_hv() 1199 *val = get_reg_val(id, vcpu->arch.dscr_tm); kvmppc_get_one_reg_hv() 1202 *val = get_reg_val(id, vcpu->arch.tar_tm); kvmppc_get_one_reg_hv() 1206 *val = get_reg_val(id, vcpu->arch.vcore->arch_compat); kvmppc_get_one_reg_hv()
|
H A D | e500_mmu.c | 612 *val = get_reg_val(id, vcpu->arch.shared->mas0); kvmppc_get_one_reg_e500_tlb() 615 *val = get_reg_val(id, vcpu->arch.shared->mas1); kvmppc_get_one_reg_e500_tlb() 618 *val = get_reg_val(id, vcpu->arch.shared->mas2); kvmppc_get_one_reg_e500_tlb() 621 *val = get_reg_val(id, vcpu->arch.shared->mas7_3); kvmppc_get_one_reg_e500_tlb() 624 *val = get_reg_val(id, vcpu->arch.shared->mas4); kvmppc_get_one_reg_e500_tlb() 627 *val = get_reg_val(id, vcpu->arch.shared->mas6); kvmppc_get_one_reg_e500_tlb() 630 *val = get_reg_val(id, vcpu->arch.mmucfg); kvmppc_get_one_reg_e500_tlb() 633 *val = get_reg_val(id, vcpu->arch.eptcfg); kvmppc_get_one_reg_e500_tlb() 640 *val = get_reg_val(id, vcpu->arch.tlbcfg[i]); kvmppc_get_one_reg_e500_tlb() 647 *val = get_reg_val(id, vcpu->arch.tlbps[i]); kvmppc_get_one_reg_e500_tlb()
|
H A D | booke.c | 1632 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac1); kvmppc_get_one_reg() 1635 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac2); kvmppc_get_one_reg() 1639 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac3); kvmppc_get_one_reg() 1642 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac4); kvmppc_get_one_reg() 1646 *val = get_reg_val(id, vcpu->arch.dbg_reg.dac1); kvmppc_get_one_reg() 1649 *val = get_reg_val(id, vcpu->arch.dbg_reg.dac2); kvmppc_get_one_reg() 1653 *val = get_reg_val(id, epr); kvmppc_get_one_reg() 1658 *val = get_reg_val(id, vcpu->arch.epcr); kvmppc_get_one_reg() 1662 *val = get_reg_val(id, vcpu->arch.tcr); kvmppc_get_one_reg() 1665 *val = get_reg_val(id, vcpu->arch.tsr); kvmppc_get_one_reg() 1668 *val = get_reg_val(id, KVMPPC_INST_SW_BREAKPOINT); kvmppc_get_one_reg() 1671 *val = get_reg_val(id, vcpu->arch.vrsave); kvmppc_get_one_reg()
|
H A D | book3s_pr.c | 1319 *val = get_reg_val(id, KVMPPC_INST_SW_BREAKPOINT); kvmppc_get_one_reg_pr() 1322 *val = get_reg_val(id, to_book3s(vcpu)->hior); kvmppc_get_one_reg_pr() 1330 *val = get_reg_val(id, LPCR_ILE); kvmppc_get_one_reg_pr() 1332 *val = get_reg_val(id, 0); kvmppc_get_one_reg_pr()
|
H A D | e500mc.c | 283 *val = get_reg_val(id, vcpu->arch.sprg9); kvmppc_get_one_reg_e500mc()
|
H A D | powerpc.c | 925 val = get_reg_val(reg->id, vcpu->arch.vr.vscr.u[3]); kvm_vcpu_ioctl_get_one_reg() 928 val = get_reg_val(reg->id, vcpu->arch.vrsave); kvm_vcpu_ioctl_get_one_reg()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | kvm_ppc.h | 343 #define get_reg_val(id, reg) ({ \ macro
|