Lines Matching refs:eccbytes
3017 int eccbytes = chip->ecc.bytes; in nand_read_page_raw_syndrome() local
3041 ret = nand_read_data_op(chip, oob, eccbytes, false, false); in nand_read_page_raw_syndrome()
3045 oob += eccbytes; in nand_read_page_raw_syndrome()
3079 int eccbytes = chip->ecc.bytes; in nand_read_page_swecc() local
3088 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc()
3099 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_swecc()
3238 int eccbytes = chip->ecc.bytes; in nand_read_page_hwecc() local
3249 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
3272 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
3280 &ecc_code[i], eccbytes, in nand_read_page_hwecc()
3311 int eccbytes = chip->ecc.bytes; in nand_read_page_hwecc_oob_first() local
3332 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc_oob_first()
3347 eccbytes, NULL, 0, in nand_read_page_hwecc_oob_first()
3377 int eccbytes = chip->ecc.bytes; in nand_read_page_syndrome() local
3379 int eccpadbytes = eccbytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_page_syndrome()
3388 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_syndrome()
3408 ret = nand_read_data_op(chip, oob, eccbytes, false, false); in nand_read_page_syndrome()
3414 oob += eccbytes; in nand_read_page_syndrome()
4128 int eccbytes = chip->ecc.bytes; in nand_write_page_raw_syndrome() local
4152 ret = nand_write_data_op(chip, oob, eccbytes, false); in nand_write_page_raw_syndrome()
4156 oob += eccbytes; in nand_write_page_raw_syndrome()
4189 int eccbytes = chip->ecc.bytes; in nand_write_page_swecc() local
4195 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_write_page_swecc()
4218 int eccbytes = chip->ecc.bytes; in nand_write_page_hwecc() local
4227 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_hwecc()
4335 int eccbytes = chip->ecc.bytes; in nand_write_page_syndrome() local
4345 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_syndrome()
4363 ret = nand_write_data_op(chip, oob, eccbytes, false); in nand_write_page_syndrome()
4367 oob += eccbytes; in nand_write_page_syndrome()