Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c1425 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; in gpmi_count_bitflips() local
1433 offset += ((8 * nfc_geo->eccn_chunk_size) + eccbits) * (i + 1); in gpmi_count_bitflips()
1434 offset -= eccbits; in gpmi_count_bitflips()
1436 eccbytes = DIV_ROUND_UP(offset + eccbits, 8); in gpmi_count_bitflips()
1452 bitoffset = (bitoffset + eccbits) % 8; in gpmi_count_bitflips()
1817 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; in gpmi_ecc_read_page_raw() local
1860 (oob_bit_off + eccbits) % 8) in gpmi_ecc_read_page_raw()
1861 eccbits += 8 - ((oob_bit_off + eccbits) % 8); in gpmi_ecc_read_page_raw()
1865 src_bit_off, eccbits); in gpmi_ecc_read_page_raw()
1867 src_bit_off += eccbits; in gpmi_ecc_read_page_raw()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Darasan_nfc.c163 u8 eccbits; member
1142 if (ecc_matrix[i].eccbits >= in arasan_nand_ecc_init()
1180 nand_chip->ecc.strength = ecc_matrix[found].eccbits; in arasan_nand_ecc_init()