Lines Matching refs:sparectl
276 * - read sparectl register
278 * and write it back to sparectl; this *may* clobber the EccCnt
282 * combination to sparectl before reading the register back for
290 union mcreg_sparectl sparectl;
307 MCREG_VAL32(&sparectl) =
313 MCREG_FIELD_F_revFG(&sparectl, EccErrCntWrEn) = 0;
317 MCREG_FIELD_10_revAB(&sparectl, EccErrCntWrEn) = 0;
324 MCREG_FIELD_F_revFG(&sparectl, EccErrCntDramChan) =
329 MCREG_FIELD_10_revAB(&sparectl, EccErrCntDramChan) =
337 MCREG_FIELD_F_revFG(&sparectl,
342 MCREG_FIELD_10_revAB(&sparectl,
348 MC_CTL_REG_SPARECTL, MCREG_VAL32(&sparectl));
350 MCREG_VAL32(&sparectl) = authamd_pcicfg_read(procnodeid,
356 MCREG_FIELD_F_revFG(&sparectl, EccErrCnt);
360 MCREG_FIELD_10_revAB(&sparectl, EccErrCnt);
372 * - set EccErrCntWrEn in sparectl, if necessary
382 union mcreg_sparectl sparectl;
391 MCREG_VAL32(&sparectl) =
397 MCREG_FIELD_F_revFG(&sparectl, EccErrCntWrEn) = 1;
399 MCREG_FIELD_F_revFG(&sparectl, EccErrInt) = 0;
400 MCREG_FIELD_F_revFG(&sparectl, SwapDoneInt) = 0;
405 MCREG_FIELD_10_revAB(&sparectl, EccErrCntWrEn) = 1;
407 MCREG_FIELD_10_revAB(&sparectl, EccErrInt) = 0;
408 MCREG_FIELD_10_revAB(&sparectl, SwapDoneInt) = 0;
414 MC_CTL_REG_SPARECTL, MCREG_VAL32(&sparectl));
419 MCREG_FIELD_F_revFG(&sparectl, EccErrCntDramChan) =
424 MCREG_FIELD_10_revAB(&sparectl, EccErrCntDramChan) =
432 MCREG_FIELD_F_revFG(&sparectl,
434 MCREG_FIELD_F_revFG(&sparectl,
439 MCREG_FIELD_10_revAB(&sparectl,
441 MCREG_FIELD_10_revAB(&sparectl,
447 MC_CTL_REG_SPARECTL, MCREG_VAL32(&sparectl));