Lines Matching refs:ecc
332 iowrite32(mtd->writesize + chip->ecc.layout->eccpos[0],
856 ath79_priv->nand.ecc.layout = &ath79_nand_oob_64;
857 ath79_priv->nand.ecc.mode = NAND_ECC_HW;
858 ath79_priv->nand.ecc.size = mtd->writesize;
859 ath79_priv->nand.ecc.bytes = 28;
860 ath79_priv->nand.ecc.hwctl = (void *)ath79_null;
861 ath79_priv->nand.ecc.calculate = (void *)ath79_null;
862 ath79_priv->nand.ecc.correct = (void *)ath79_null;
864 ath79_priv->nand.ecc.write_oob = ath79_write_oob;
865 ath79_priv->nand.ecc.read_page = ath79_read_page;
866 ath79_priv->nand.ecc.read_page_raw = ath79_read_page_raw;
867 ath79_priv->nand.ecc.read_oob = ath79_read_oob;