Lines Matching refs:fir
82 u64 fir, addreg, clear = 0; in cell_edac_check() local
84 fir = in_be64(&priv->regs->mic_fir); in cell_edac_check()
86 if (fir != priv->prev_fir) { in cell_edac_check()
87 dev_dbg(mci->pdev, "fir change : 0x%016lx\n", fir); in cell_edac_check()
88 priv->prev_fir = fir; in cell_edac_check()
91 if ((priv->chanmask & 0x1) && (fir & CBE_MIC_FIR_ECC_SINGLE_0_ERR)) { in cell_edac_check()
96 if ((priv->chanmask & 0x2) && (fir & CBE_MIC_FIR_ECC_SINGLE_1_ERR)) { in cell_edac_check()
101 if ((priv->chanmask & 0x1) && (fir & CBE_MIC_FIR_ECC_MULTI_0_ERR)) { in cell_edac_check()
106 if ((priv->chanmask & 0x2) && (fir & CBE_MIC_FIR_ECC_MULTI_1_ERR)) { in cell_edac_check()
114 fir &= ~(CBE_MIC_FIR_ECC_ERR_MASK | CBE_MIC_FIR_ECC_SET_MASK); in cell_edac_check()
115 fir |= CBE_MIC_FIR_ECC_RESET_MASK; in cell_edac_check()
116 fir &= ~clear; in cell_edac_check()
117 out_be64(&priv->regs->mic_fir, fir); in cell_edac_check()
122 fir = in_be64(&priv->regs->mic_fir); in cell_edac_check()
123 dev_dbg(mci->pdev, "fir clear : 0x%016lx\n", fir); in cell_edac_check()