Lines Matching refs:ecc_len
955 u8 *ecc, int ecc_len, in marvell_nfc_check_empty_chunk() argument
971 ecc_len = 0; in marvell_nfc_check_empty_chunk()
973 bf = nand_check_erased_ecc_chunk(data, data_len, ecc, ecc_len, in marvell_nfc_check_empty_chunk()
1267 int ecc_len = lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw() local
1282 ecc_len = lt->last_ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()
1297 ecc_len, false, false); in marvell_nfc_hw_ecc_bch_read_page_raw()
1439 int data_len, spare_len, ecc_len; in marvell_nfc_hw_ecc_bch_read_page() local
1464 ecc_len = chunk < lt->full_chunk_cnt ? lt->ecc_bytes : in marvell_nfc_hw_ecc_bch_read_page()
1483 chip->oob_poi + ecc_off, ecc_len, in marvell_nfc_hw_ecc_bch_read_page()
1489 chip->oob_poi + ecc_off, ecc_len, in marvell_nfc_hw_ecc_bch_read_page()
1519 int ecc_len = lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_write_page_raw() local
1533 ecc_len = lt->last_ecc_bytes; in marvell_nfc_hw_ecc_bch_write_page_raw()
1553 if (ecc_len) in marvell_nfc_hw_ecc_bch_write_page_raw()
1555 ecc_len, false); in marvell_nfc_hw_ecc_bch_write_page_raw()
1558 ecc_offset += ALIGN(ecc_len, 32); in marvell_nfc_hw_ecc_bch_write_page_raw()