Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dsetup.c174 static int ps3_set_dabr(unsigned long dabr, unsigned long dabrx) in ps3_set_dabr() argument
177 if (dabrx == 0 && dabr == 0) in ps3_set_dabr()
178 dabrx = DABRX_USER; in ps3_set_dabr()
180 dabrx &= DABRX_BTI | DABRX_KERNEL | DABRX_USER; in ps3_set_dabr()
182 return lv1_set_dabr(dabr, dabrx) ? -1 : 0; in ps3_set_dabr()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dsetup.c849 static int pseries_set_dabr(unsigned long dabr, unsigned long dabrx) in pseries_set_dabr() argument
854 static int pseries_set_xdabr(unsigned long dabr, unsigned long dabrx) in pseries_set_xdabr() argument
857 if (dabrx == 0 && dabr == 0) in pseries_set_xdabr()
858 dabrx = DABRX_USER; in pseries_set_xdabr()
860 dabrx &= DABRX_KERNEL | DABRX_USER; in pseries_set_xdabr()
862 return plpar_hcall_norets(H_SET_XDABR, dabr, dabrx); in pseries_set_xdabr()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dprocess.c811 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument
819 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument
823 mtspr(SPRN_DABRX, dabrx); in __set_dabr()
827 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument
835 unsigned long dabr, dabrx; in set_dabr() local
838 dabrx = ((brk->type >> 3) & 0x7); in set_dabr()
841 return ppc_md.set_dabr(dabr, dabrx); in set_dabr()
843 return __set_dabr(dabr, dabrx); in set_dabr()
Dasm-offsets.c550 OFFSET(VCPU_DABRX, kvm_vcpu, arch.dabrx); in main()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dasm-prototypes.h178 unsigned long dabrx);
Dmachdep.h133 unsigned long dabrx);
Dkvm_host.h585 u32 dabrx; member
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv.c1675 *val = get_reg_val(id, vcpu->arch.dabrx); in kvmppc_get_one_reg_hv()
1914 vcpu->arch.dabrx = set_reg_val(id, *val) & ~DABRX_HYP; in kvmppc_set_one_reg_hv()