Home
last modified time | relevance | path

Searched refs:ecc_len (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dmarvell_nand.c955 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()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Datmel_nand.c91 int oobsize, int ecc_len) in pmecc_config_ecc_layout() argument
95 layout->eccbytes = ecc_len; in pmecc_config_ecc_layout()
98 for (i = 0; i < ecc_len; i++) in pmecc_config_ecc_layout()
99 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
103 oobsize - ecc_len - layout->oobfree[0].offset; in pmecc_config_ecc_layout()