Searched refs:ecctype (Results 1 – 2 of 2) sorted by relevance
731 u32 ecctype, clearval; in get_ecc_state() local739 ecctype = readl(priv->baseaddr + SCRUB_OFST) & SCRUB_MODE_MASK; in get_ecc_state()740 if (ecctype == SCRUB_MODE_SECDED && dt == DEV_X2) { in get_ecc_state()751 ecctype = readl(priv->baseaddr + ECC_CFG0_OFST) & SCRUB_MODE_MASK; in get_ecc_state()752 if (ecctype == SCRUB_MODE_SECDED && in get_ecc_state()
535 u32 ecctype; in get_ecc_state() local541 ecctype = readl(base + XDDR_REG_PINOUT_OFFSET); in get_ecc_state()542 ecctype &= XDDR_REG_PINOUT_ECC_EN_MASK; in get_ecc_state()544 return !!ecctype; in get_ecc_state()