Home
last modified time | relevance | path

Searched refs:dabr (Results 1 – 10 of 10) sorted by relevance

/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()
182 return lv1_set_dabr(dabr, dabrx) ? -1 : 0; in ps3_set_dabr()
/arch/powerpc/include/asm/
Dasm-prototypes.h176 long kvmppc_h_set_dabr(struct kvm_vcpu *vcpu, unsigned long dabr);
177 long kvmppc_h_set_xdabr(struct kvm_vcpu *vcpu, unsigned long dabr,
Dkvm_book3s_asm.h121 u64 dabr; member
Dmachdep.h132 int (*set_dabr)(unsigned long dabr,
Dkvm_host.h586 ulong dabr; member
/arch/powerpc/platforms/pseries/
Dsetup.c851 static int pseries_set_dabr(unsigned long dabr, unsigned long dabrx) in pseries_set_dabr() argument
853 return plpar_hcall_norets(H_SET_DABR, dabr); in pseries_set_dabr()
856 static int pseries_set_xdabr(unsigned long dabr, unsigned long dabrx) in pseries_set_xdabr() argument
859 if (dabrx == 0 && dabr == 0) in pseries_set_xdabr()
864 return plpar_hcall_norets(H_SET_XDABR, dabr, dabrx); in pseries_set_xdabr()
/arch/powerpc/xmon/
Dxmon.c115 static struct bpt dabr[HBP_NUM_MAX]; variable
799 if (dabr[i].enabled) in xmon_break_match()
969 if (dabr[i].enabled) { in insert_cpu_bpts()
970 brk.address = dabr[i].address; in insert_cpu_bpts()
971 brk.type = (dabr[i].enabled & HW_BRK_TYPE_DABR) | HW_BRK_TYPE_PRIV_ALL; in insert_cpu_bpts()
1392 if (!dabr[i].enabled) in find_free_data_bpt()
1404 if (!dabr[i].enabled) in print_data_bpts()
1407 printf(" data "REG" [", dabr[i].address); in print_data_bpts()
1408 if (dabr[i].enabled & 1) in print_data_bpts()
1410 if (dabr[i].enabled & 2) in print_data_bpts()
[all …]
/arch/powerpc/kernel/
Dprocess.c811 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument
813 mtspr(SPRN_DAC1, dabr); in __set_dabr()
819 static inline int __set_dabr(unsigned long dabr, unsigned long dabrx) in __set_dabr() argument
821 mtspr(SPRN_DABR, dabr); 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
837 dabr = brk->address | (brk->type & HW_BRK_TYPE_DABR); 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.c549 OFFSET(VCPU_DABR, kvm_vcpu, arch.dabr); in main()
714 HSTATE_FIELD(HSTATE_DABR, dabr); in main()
/arch/powerpc/kvm/
Dbook3s_hv.c1672 *val = get_reg_val(id, vcpu->arch.dabr); in kvmppc_get_one_reg_hv()
1911 vcpu->arch.dabr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()