Searched refs:ciabr (Results 1 – 7 of 7) sorted by relevance
308 static inline long plpar_set_ciabr(unsigned long ciabr) in plpar_set_ciabr() argument310 return plpar_set_mode(0, H_SET_MODE_RESOURCE_SET_CIABR, ciabr, 0); in plpar_set_ciabr()389 static inline long plpar_set_ciabr(unsigned long ciabr) in plpar_set_ciabr() argument
548 u64 ciabr; member
589 ulong ciabr; member
38 hr->ciabr = vcpu->arch.ciabr; in kvmhv_save_hv_regs()76 hr->ciabr = swab64(hr->ciabr); in byteswap_hv_regs()144 if ((hr->ciabr & CIABR_PRIV) == CIABR_PRIV_HYPER) in sanitise_hv_regs()145 hr->ciabr &= ~CIABR_PRIV; in sanitise_hv_regs()157 vcpu->arch.ciabr = hr->ciabr; in restore_hv_regs()
775 vcpu->arch.ciabr = value1; in kvmppc_h_set_mode()1757 *val = get_reg_val(id, vcpu->arch.ciabr); in kvmppc_get_one_reg_hv()1989 vcpu->arch.ciabr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()1991 if ((vcpu->arch.ciabr & CIABR_PRIV) == CIABR_PRIV_HYPER) in kvmppc_set_one_reg_hv()1992 vcpu->arch.ciabr &= ~CIABR_PRIV; /* disable */ in kvmppc_set_one_reg_hv()3487 mtspr(SPRN_CIABR, vcpu->arch.ciabr); in kvmhv_load_hv_regs_and_go()
349 static void write_ciabr(unsigned long ciabr) in write_ciabr() argument355 mtspr(SPRN_CIABR, ciabr); in write_ciabr()358 plpar_set_ciabr(ciabr); in write_ciabr()
553 OFFSET(VCPU_CIABR, kvm_vcpu, arch.ciabr); in main()