Searched refs:dabrx (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/platforms/ps3/ |
D | setup.c | 182 static int ps3_set_dabr(unsigned long dabr, unsigned long dabrx) in ps3_set_dabr() argument 185 if (dabrx == 0 && dabr == 0) in ps3_set_dabr() 186 dabrx = DABRX_USER; in ps3_set_dabr() 188 dabrx &= DABRX_BTI | DABRX_KERNEL | DABRX_USER; in ps3_set_dabr() 190 return lv1_set_dabr(dabr, dabrx) ? -1 : 0; in ps3_set_dabr()
|
/arch/powerpc/platforms/pseries/ |
D | setup.c | 541 static int pseries_set_dabr(unsigned long dabr, unsigned long dabrx) in pseries_set_dabr() argument 546 static int pseries_set_xdabr(unsigned long dabr, unsigned long dabrx) in pseries_set_xdabr() argument 549 if (dabrx == 0 && dabr == 0) in pseries_set_xdabr() 550 dabrx = DABRX_USER; in pseries_set_xdabr() 552 dabrx &= DABRX_KERNEL | DABRX_USER; in pseries_set_xdabr() 554 return plpar_hcall_norets(H_SET_XDABR, dabr, dabrx); in pseries_set_xdabr()
|
/arch/powerpc/kernel/ |
D | process.c | 718 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument 727 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument 731 mtspr(SPRN_DABRX, dabrx); in __set_dabr() 735 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument 743 unsigned long dabr, dabrx; in set_dabr() local 746 dabrx = ((brk->type >> 3) & 0x7); in set_dabr() 749 return ppc_md.set_dabr(dabr, dabrx); in set_dabr() 751 return __set_dabr(dabr, dabrx); in set_dabr()
|
D | asm-offsets.c | 518 DEFINE(VCPU_DABRX, offsetof(struct kvm_vcpu, arch.dabrx)); in main()
|
/arch/powerpc/include/asm/ |
D | machdep.h | 142 unsigned long dabrx);
|
D | kvm_host.h | 483 u32 dabrx; member
|
/arch/powerpc/kvm/ |
D | book3s_hv.c | 1155 *val = get_reg_val(id, vcpu->arch.dabrx); in kvmppc_get_one_reg_hv() 1353 vcpu->arch.dabrx = set_reg_val(id, *val) & ~DABRX_HYP; in kvmppc_set_one_reg_hv()
|