Searched refs:ecctype (Results 1 – 2 of 2) sorted by relevance
734 u32 ecctype; in zynq_get_ecc_state() local740 ecctype = readl(base + SCRUB_OFST) & SCRUB_MODE_MASK; in zynq_get_ecc_state()741 if ((ecctype == SCRUB_MODE_SECDED) && (dt == DEV_X2)) in zynq_get_ecc_state()758 u32 ecctype; in zynqmp_get_ecc_state() local764 ecctype = readl(base + ECC_CFG0_OFST) & SCRUB_MODE_MASK; in zynqmp_get_ecc_state()765 if ((ecctype == SCRUB_MODE_SECDED) && in zynqmp_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()