Lines Matching refs:prepad
2652 if (chip->ecc.prepad) { in nand_read_page_raw_syndrome()
2653 ret = nand_read_data_op(chip, oob, chip->ecc.prepad, in nand_read_page_raw_syndrome()
2658 oob += chip->ecc.prepad; in nand_read_page_raw_syndrome()
3001 int eccpadbytes = eccbytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_page_syndrome()
3019 if (chip->ecc.prepad) { in nand_read_page_syndrome()
3020 ret = nand_read_data_op(chip, oob, chip->ecc.prepad, in nand_read_page_syndrome()
3025 oob += chip->ecc.prepad; in nand_read_page_syndrome()
3339 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_oob_syndrome()
3406 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_write_oob_syndrome()
3416 if (!chip->ecc.prepad && !chip->ecc.postpad) { in nand_write_oob_syndrome()
3657 if (chip->ecc.prepad) { in nand_write_page_raw_syndrome()
3658 ret = nand_write_data_op(chip, oob, chip->ecc.prepad, in nand_write_page_raw_syndrome()
3663 oob += chip->ecc.prepad; in nand_write_page_raw_syndrome()
3866 if (chip->ecc.prepad) { in nand_write_page_syndrome()
3867 ret = nand_write_data_op(chip, oob, chip->ecc.prepad, in nand_write_page_syndrome()
3872 oob += chip->ecc.prepad; in nand_write_page_syndrome()