Home
last modified time | relevance | path

Searched refs:dawrx (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Ddawr.c21 unsigned long dawr, dawrx, mrd; in set_dawr() local
25 dawrx = (brk->type & (HW_BRK_TYPE_READ | HW_BRK_TYPE_WRITE)) in set_dawr()
27 dawrx |= ((brk->type & (HW_BRK_TYPE_TRANSLATE)) >> 2) << (63 - 59); in set_dawr()
28 dawrx |= (brk->type & (HW_BRK_TYPE_PRIV_ALL)) >> 3; in set_dawr()
37 dawrx |= (mrd & 0x3f) << (63 - 53); in set_dawr()
40 return ppc_md.set_dawr(nr, dawr, dawrx); in set_dawr()
44 mtspr(SPRN_DAWRX0, dawrx); in set_dawr()
47 mtspr(SPRN_DAWRX1, dawrx); in set_dawr()
/openbmc/qemu/target/ppc/
H A Dcpu.c137 uint32_t dawrx = env->spr[SPR_DAWRX0]; in ppc_update_daw0() local
138 int mrd = extract32(dawrx, PPC_BIT_NR(48), 54 - 48); in ppc_update_daw0()
139 bool dw = extract32(dawrx, PPC_BIT_NR(57), 1); in ppc_update_daw0()
140 bool dr = extract32(dawrx, PPC_BIT_NR(58), 1); in ppc_update_daw0()
141 bool hv = extract32(dawrx, PPC_BIT_NR(61), 1); in ppc_update_daw0()
142 bool sv = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_update_daw0()
143 bool pr = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_update_daw0()
H A Dexcp_helper.c3285 uint32_t dawrx = env->spr[SPR_DAWRX0]; in ppc_cpu_debug_check_watchpoint() local
3286 bool wt = extract32(dawrx, PPC_BIT_NR(59), 1); in ppc_cpu_debug_check_watchpoint()
3287 bool wti = extract32(dawrx, PPC_BIT_NR(60), 1); in ppc_cpu_debug_check_watchpoint()
3288 bool hv = extract32(dawrx, PPC_BIT_NR(61), 1); in ppc_cpu_debug_check_watchpoint()
3289 bool sv = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_cpu_debug_check_watchpoint()
3290 bool pr = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_cpu_debug_check_watchpoint()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dsetup.c917 static int pseries_set_dawr(int nr, unsigned long dawr, unsigned long dawrx) in pseries_set_dawr() argument
920 dawrx &= ~DAWRX_HYP; in pseries_set_dawr()
923 return plpar_set_watchpoint0(dawr, dawrx); in pseries_set_dawr()
925 return plpar_set_watchpoint1(dawr, dawrx); in pseries_set_dawr()
/openbmc/linux/arch/powerpc/include/asm/
H A Dmachdep.h130 unsigned long dawrx);