Lines Matching refs:eccbits
1221 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; in gpmi_count_bitflips() local
1229 offset += ((8 * nfc_geo->ecc_chunk_size) + eccbits) * (i + 1); in gpmi_count_bitflips()
1230 offset -= eccbits; in gpmi_count_bitflips()
1232 eccbytes = DIV_ROUND_UP(offset + eccbits, 8); in gpmi_count_bitflips()
1248 bitoffset = (bitoffset + eccbits) % 8; in gpmi_count_bitflips()
1595 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; in gpmi_ecc_read_page_raw() local
1638 (oob_bit_off + eccbits) % 8) in gpmi_ecc_read_page_raw()
1639 eccbits += 8 - ((oob_bit_off + eccbits) % 8); in gpmi_ecc_read_page_raw()
1643 src_bit_off, eccbits); in gpmi_ecc_read_page_raw()
1645 src_bit_off += eccbits; in gpmi_ecc_read_page_raw()
1646 oob_bit_off += eccbits; in gpmi_ecc_read_page_raw()
1680 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; in gpmi_ecc_write_page_raw() local
1713 (oob_bit_off + eccbits) % 8) in gpmi_ecc_write_page_raw()
1714 eccbits += 8 - ((oob_bit_off + eccbits) % 8); in gpmi_ecc_write_page_raw()
1718 oob_bit_off, eccbits); in gpmi_ecc_write_page_raw()
1720 dst_bit_off += eccbits; in gpmi_ecc_write_page_raw()
1721 oob_bit_off += eccbits; in gpmi_ecc_write_page_raw()