Lines Matching refs:eccbytes

2887 	int eccbytes = chip->ecc.bytes;  in nand_read_page_raw_syndrome()  local
2911 ret = nand_read_data_op(chip, oob, eccbytes, false, false); in nand_read_page_raw_syndrome()
2915 oob += eccbytes; in nand_read_page_raw_syndrome()
2949 int eccbytes = chip->ecc.bytes; in nand_read_page_swecc() local
2958 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc()
2969 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_swecc()
3108 int eccbytes = chip->ecc.bytes; in nand_read_page_hwecc() local
3119 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
3142 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
3150 &ecc_code[i], eccbytes, in nand_read_page_hwecc()
3181 int eccbytes = chip->ecc.bytes; in nand_read_page_hwecc_oob_first() local
3202 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc_oob_first()
3217 eccbytes, NULL, 0, in nand_read_page_hwecc_oob_first()
3247 int eccbytes = chip->ecc.bytes; in nand_read_page_syndrome() local
3249 int eccpadbytes = eccbytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_page_syndrome()
3258 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_syndrome()
3278 ret = nand_read_data_op(chip, oob, eccbytes, false, false); in nand_read_page_syndrome()
3284 oob += eccbytes; in nand_read_page_syndrome()
3945 int eccbytes = chip->ecc.bytes; in nand_write_page_raw_syndrome() local
3969 ret = nand_write_data_op(chip, oob, eccbytes, false); in nand_write_page_raw_syndrome()
3973 oob += eccbytes; in nand_write_page_raw_syndrome()
4006 int eccbytes = chip->ecc.bytes; in nand_write_page_swecc() local
4012 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_write_page_swecc()
4035 int eccbytes = chip->ecc.bytes; in nand_write_page_hwecc() local
4044 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_hwecc()
4152 int eccbytes = chip->ecc.bytes; in nand_write_page_syndrome() local
4162 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_syndrome()
4180 ret = nand_write_data_op(chip, oob, eccbytes, false); in nand_write_page_syndrome()
4184 oob += eccbytes; in nand_write_page_syndrome()