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()
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
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()
[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()