Lines Matching refs:eccbytes
96 layout->eccbytes = ecc_len; in pmecc_config_ecc_layout()
488 int i, err_nbr, eccbytes; in pmecc_correction() local
495 eccbytes = nand_chip->ecc.bytes; in pmecc_correction()
496 for (i = 0; i < eccbytes; i++) in pmecc_correction()
675 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init()
964 .eccbytes = 4,
977 .eccbytes = 4,
1025 int eccbytes = chip->ecc.bytes; in atmel_nand_read_page() local
1049 chip->read_buf(mtd, ecc_pos, eccbytes); in atmel_nand_read_page()
1314 int eccbytes = CONFIG_SYS_NAND_ECCBYTES; in nand_read_page() local
1320 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
1334 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page()