Home
last modified time | relevance | path

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

/linux/arch/mips/kernel/
H A Dtraps.c1694 ulong gcr_ectl, cp0_ectl; in parity_protection_init() local
1714 gcr_ectl = read_gcr_err_control(); in parity_protection_init()
1716 if (!(gcr_ectl & CM_GCR_ERR_CONTROL_L2_ECC_SUPPORT) || in parity_protection_init()
1736 gcr_ectl |= CM_GCR_ERR_CONTROL_L2_ECC_EN; in parity_protection_init()
1738 gcr_ectl &= ~CM_GCR_ERR_CONTROL_L2_ECC_EN; in parity_protection_init()
1739 write_gcr_err_control(gcr_ectl); in parity_protection_init()
1740 gcr_ectl = read_gcr_err_control(); in parity_protection_init()
1741 gcr_ectl &= CM_GCR_ERR_CONTROL_L2_ECC_EN; in parity_protection_init()
1742 WARN_ON(!!gcr_ectl != l2parity); in parity_protection_init()