Lines Matching refs:cfg0
40 union cvmx_lmcx_mem_cfg0 cfg0; in octeon_lmc_edac_poll() local
44 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx)); in octeon_lmc_edac_poll()
45 if (cfg0.s.sec_err || cfg0.s.ded_err) { in octeon_lmc_edac_poll()
54 if (cfg0.s.sec_err) { in octeon_lmc_edac_poll()
57 cfg0.s.sec_err = -1; /* Done, re-arm */ in octeon_lmc_edac_poll()
61 if (cfg0.s.ded_err) { in octeon_lmc_edac_poll()
64 cfg0.s.ded_err = -1; /* Done, re-arm */ in octeon_lmc_edac_poll()
68 cvmx_write_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx), cfg0.u64); in octeon_lmc_edac_poll()
238 union cvmx_lmcx_mem_cfg0 cfg0; in octeon_lmc_edac_probe() local
240 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(0)); in octeon_lmc_edac_probe()
241 if (!cfg0.s.ecc_ena) { in octeon_lmc_edac_probe()
263 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mc)); in octeon_lmc_edac_probe()
264 cfg0.s.intr_ded_ena = 0; /* We poll */ in octeon_lmc_edac_probe()
265 cfg0.s.intr_sec_ena = 0; in octeon_lmc_edac_probe()
266 cvmx_write_csr(CVMX_LMCX_MEM_CFG0(mc), cfg0.u64); in octeon_lmc_edac_probe()