Home
last modified time | relevance | path

Searched refs:dabrx (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/platforms/ps3/
Dsetup.c182 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/
Dsetup.c541 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/
Dprocess.c718 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()
Dasm-offsets.c518 DEFINE(VCPU_DABRX, offsetof(struct kvm_vcpu, arch.dabrx)); in main()
/arch/powerpc/include/asm/
Dmachdep.h142 unsigned long dabrx);
Dkvm_host.h483 u32 dabrx; member
/arch/powerpc/kvm/
Dbook3s_hv.c1155 *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()