Lines Matching refs:ecc
185 for (eccbytes = chip->ecc.bytes; eccbytes > 0; eccbytes -= 3) { in txx9ndfmc_calculate_ecc()
203 for (eccsize = chip->ecc.size; eccsize > 0; eccsize -= 256) { in txx9ndfmc_correct_data()
267 chip->ecc.size = 512; in txx9ndfmc_nand_scan()
268 chip->ecc.bytes = 6; in txx9ndfmc_nand_scan()
335 chip->ecc.calculate = txx9ndfmc_calculate_ecc; in txx9ndfmc_probe()
336 chip->ecc.correct = txx9ndfmc_correct_data; in txx9ndfmc_probe()
337 chip->ecc.hwctl = txx9ndfmc_enable_hwecc; in txx9ndfmc_probe()
338 chip->ecc.mode = NAND_ECC_HW; in txx9ndfmc_probe()
340 chip->ecc.size = 256; in txx9ndfmc_probe()
341 chip->ecc.bytes = 3; in txx9ndfmc_probe()
342 chip->ecc.strength = 1; in txx9ndfmc_probe()