Searched refs:set_reg_val (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_hv.c | 2522 if (set_reg_val(id, *val)) in kvmppc_set_one_reg_hv() 2526 vcpu->arch.dabr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv() 2529 vcpu->arch.dabrx = set_reg_val(id, *val) & ~DABRX_HYP; in kvmppc_set_one_reg_hv() 2532 kvmppc_set_dscr_hv(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg_hv() 2535 kvmppc_set_purr_hv(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg_hv() 2538 kvmppc_set_spurr_hv(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg_hv() 2541 kvmppc_set_amr_hv(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg_hv() 2544 kvmppc_set_uamor_hv(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg_hv() 2548 kvmppc_set_mmcr_hv(vcpu, i, set_reg_val(id, *val)); in kvmppc_set_one_reg_hv() 2551 kvmppc_set_mmcr_hv(vcpu, 2, set_reg_val(id, *val)); in kvmppc_set_one_reg_hv() [all …]
|
D | book3s.c | 716 kvmppc_set_dar(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() 719 kvmppc_set_dsisr(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() 723 kvmppc_set_fpr(vcpu, i, set_reg_val(id, *val)); in kvmppc_set_one_reg() 726 vcpu->arch.fp.fpscr = set_reg_val(id, *val); in kvmppc_set_one_reg() 746 r = kvmppc_xive_set_icp(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() 748 r = kvmppc_xics_set_icp(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() 764 kvmppc_set_fpscr(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() 767 kvmppc_set_tar(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() 770 kvmppc_set_ebbhr(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() 773 kvmppc_set_ebbrr(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg() [all …]
|
D | book3s_pr.c | 1645 to_book3s(vcpu)->hior = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1649 to_book3s(vcpu)->vtb = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1653 kvmppc_set_lpcr_pr(vcpu, set_reg_val(id, *val)); in kvmppc_set_one_reg_pr() 1657 vcpu->arch.tfhar = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1660 vcpu->arch.tfiar = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1663 vcpu->arch.texasr = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1667 set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1685 vcpu->arch.cr_tm = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1688 vcpu->arch.xer_tm = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() 1691 vcpu->arch.lr_tm = set_reg_val(id, *val); in kvmppc_set_one_reg_pr() [all …]
|
D | e500_mmu.c | 658 vcpu->arch.shared->mas0 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 661 vcpu->arch.shared->mas1 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 664 vcpu->arch.shared->mas2 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 667 vcpu->arch.shared->mas7_3 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 670 vcpu->arch.shared->mas4 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 673 vcpu->arch.shared->mas6 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 677 u32 reg = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 683 u32 reg = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 693 u32 reg = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb() 703 u32 reg = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb()
|
D | booke.c | 1734 vcpu->arch.dbg_reg.iac1 = set_reg_val(id, *val); in kvmppc_set_one_reg() 1737 vcpu->arch.dbg_reg.iac2 = set_reg_val(id, *val); in kvmppc_set_one_reg() 1741 vcpu->arch.dbg_reg.iac3 = set_reg_val(id, *val); in kvmppc_set_one_reg() 1744 vcpu->arch.dbg_reg.iac4 = set_reg_val(id, *val); in kvmppc_set_one_reg() 1748 vcpu->arch.dbg_reg.dac1 = set_reg_val(id, *val); in kvmppc_set_one_reg() 1751 vcpu->arch.dbg_reg.dac2 = set_reg_val(id, *val); in kvmppc_set_one_reg() 1754 u32 new_epr = set_reg_val(id, *val); in kvmppc_set_one_reg() 1760 u32 new_epcr = set_reg_val(id, *val); in kvmppc_set_one_reg() 1766 u32 tsr_bits = set_reg_val(id, *val); in kvmppc_set_one_reg() 1771 u32 tsr_bits = set_reg_val(id, *val); in kvmppc_set_one_reg() [all …]
|
D | e500mc.c | 300 vcpu->arch.sprg9 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500mc()
|
D | powerpc.c | 1774 kvmppc_set_vscr(vcpu, set_reg_val(reg->id, val)); in kvm_vcpu_ioctl_set_one_reg() 1781 kvmppc_set_vrsave(vcpu, set_reg_val(reg->id, val)); in kvm_vcpu_ioctl_set_one_reg()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 419 #define set_reg_val(id, val) ({ \ macro
|