Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kernel/
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()
/linux-6.12.1/arch/powerpc/platforms/pseries/
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()
/linux-6.12.1/arch/powerpc/include/asm/
Dmachdep.h130 unsigned long dawrx);