Lines Matching refs:ecc_bytes
1513 int ecc_bytes = chip->ecc.bytes; in cadence_nand_write_page_raw() local
1536 pos = i * (ecc_size + ecc_bytes); in cadence_nand_write_page_raw()
1571 pos = ecc_size + i * (ecc_size + ecc_bytes); in cadence_nand_write_page_raw()
1575 len = ecc_bytes; in cadence_nand_write_page_raw()
1584 if (len < ecc_bytes) { in cadence_nand_write_page_raw()
1585 len = ecc_bytes - len; in cadence_nand_write_page_raw()
1706 int ecc_bytes = chip->ecc.bytes; in cadence_nand_read_page_raw() local
1737 pos = i * (ecc_size + ecc_bytes); in cadence_nand_read_page_raw()
1773 pos = ecc_size + i * (ecc_size + ecc_bytes); in cadence_nand_read_page_raw()
1774 len = ecc_bytes; in cadence_nand_read_page_raw()
1786 if (len < ecc_bytes) { in cadence_nand_read_page_raw()
1787 len = ecc_bytes - len; in cadence_nand_read_page_raw()