Lines Matching defs:ecc
97 uint32_t ecc;
98 uint8_t *p = (uint8_t *)&ecc;
101 ecc = __raw_readl(ndfc->ndfcbase + NDFC_ECC);
165 chip->ecc.correct = nand_correct_data;
166 chip->ecc.hwctl = ndfc_enable_hwecc;
167 chip->ecc.calculate = ndfc_calculate_ecc;
168 chip->ecc.mode = NAND_ECC_HW;
169 chip->ecc.size = 256;
170 chip->ecc.bytes = 3;
171 chip->ecclayout = chip->ecc.layout = mtd->pl_chip->ecclayout;