Home
last modified time | relevance | path

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

/arch/powerpc/platforms/ps3/
Dsetup.c175 static int ps3_set_dabr(unsigned long dabr, unsigned long dabrx) in ps3_set_dabr() argument
178 if (dabrx == 0 && dabr == 0) in ps3_set_dabr()
179 dabrx = DABRX_USER; in ps3_set_dabr()
181 dabrx &= DABRX_BTI | DABRX_KERNEL | DABRX_USER; in ps3_set_dabr()
183 return lv1_set_dabr(dabr, dabrx) ? -1 : 0; in ps3_set_dabr()
/arch/powerpc/platforms/pseries/
Dsetup.c867 static int pseries_set_dabr(unsigned long dabr, unsigned long dabrx) in pseries_set_dabr() argument
872 static int pseries_set_xdabr(unsigned long dabr, unsigned long dabrx) in pseries_set_xdabr() argument
875 if (dabrx == 0 && dabr == 0) in pseries_set_xdabr()
876 dabrx = DABRX_USER; in pseries_set_xdabr()
878 dabrx &= DABRX_KERNEL | DABRX_USER; in pseries_set_xdabr()
880 return plpar_hcall_norets(H_SET_XDABR, dabr, dabrx); in pseries_set_xdabr()
/arch/powerpc/include/asm/
Dasm-prototypes.h153 unsigned long dabrx);
Dmachdep.h133 unsigned long dabrx);
Dkvm_host.h572 u32 dabrx; member
/arch/powerpc/kernel/
Dprocess.c812 unsigned long dabr, dabrx; in set_dabr() local
815 dabrx = ((brk->type >> 3) & 0x7); in set_dabr()
818 return ppc_md.set_dabr(dabr, dabrx); in set_dabr()
828 mtspr(SPRN_DABRX, dabrx); in set_dabr()
Dasm-offsets.c448 OFFSET(VCPU_DABRX, kvm_vcpu, arch.dabrx); in main()
/arch/powerpc/kvm/
Dbook3s_hv.c2029 *val = get_reg_val(id, vcpu->arch.dabrx); in kvmppc_get_one_reg_hv()
2274 vcpu->arch.dabrx = set_reg_val(id, *val) & ~DABRX_HYP; in kvmppc_set_one_reg_hv()