Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/mm/
H A Dsc-mips.c57 unsigned long pftctl; in mips_sc_prefetch_enable() local
66 pftctl = read_gcr_l2_pft_control(); in mips_sc_prefetch_enable()
67 if (pftctl & CM_GCR_L2_PFT_CONTROL_NPFT) { in mips_sc_prefetch_enable()
68 pftctl &= ~CM_GCR_L2_PFT_CONTROL_PAGEMASK; in mips_sc_prefetch_enable()
69 pftctl |= PAGE_MASK & CM_GCR_L2_PFT_CONTROL_PAGEMASK; in mips_sc_prefetch_enable()
70 pftctl |= CM_GCR_L2_PFT_CONTROL_PFTEN; in mips_sc_prefetch_enable()
71 write_gcr_l2_pft_control(pftctl); in mips_sc_prefetch_enable()
90 unsigned long pftctl; in mips_sc_prefetch_is_enabled() local
95 pftctl = read_gcr_l2_pft_control(); in mips_sc_prefetch_is_enabled()
96 if (!(pftctl & CM_GCR_L2_PFT_CONTROL_NPFT)) in mips_sc_prefetch_is_enabled()
[all …]