Lines Matching refs:eccbytes
2637 int eccbytes = chip->ecc.bytes; in nand_read_page_raw_syndrome() local
2661 ret = nand_read_data_op(chip, oob, eccbytes, false); in nand_read_page_raw_syndrome()
2665 oob += eccbytes; in nand_read_page_raw_syndrome()
2699 int eccbytes = chip->ecc.bytes; in nand_read_page_swecc() local
2708 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc()
2719 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_swecc()
2858 int eccbytes = chip->ecc.bytes; in nand_read_page_hwecc() local
2869 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
2891 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
2899 &ecc_code[i], eccbytes, in nand_read_page_hwecc()
2932 int eccbytes = chip->ecc.bytes; in nand_read_page_hwecc_oob_first() local
2953 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc_oob_first()
2969 &ecc_code[i], eccbytes, in nand_read_page_hwecc_oob_first()
2999 int eccbytes = chip->ecc.bytes; in nand_read_page_syndrome() local
3001 int eccpadbytes = eccbytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_page_syndrome()
3010 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_syndrome()
3030 ret = nand_read_data_op(chip, oob, eccbytes, false); in nand_read_page_syndrome()
3036 oob += eccbytes; in nand_read_page_syndrome()
3642 int eccbytes = chip->ecc.bytes; in nand_write_page_raw_syndrome() local
3666 ret = nand_write_data_op(chip, oob, eccbytes, false); in nand_write_page_raw_syndrome()
3670 oob += eccbytes; in nand_write_page_raw_syndrome()
3703 int eccbytes = chip->ecc.bytes; in nand_write_page_swecc() local
3709 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_write_page_swecc()
3732 int eccbytes = chip->ecc.bytes; in nand_write_page_hwecc() local
3741 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_hwecc()
3849 int eccbytes = chip->ecc.bytes; in nand_write_page_syndrome() local
3859 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_syndrome()
3877 ret = nand_write_data_op(chip, oob, eccbytes, false); in nand_write_page_syndrome()
3881 oob += eccbytes; in nand_write_page_syndrome()