Lines Matching refs:eccbits
1425 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()
1868 oob_bit_off += eccbits; in gpmi_ecc_read_page_raw()
1902 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; in gpmi_ecc_write_page_raw() local
1935 (oob_bit_off + eccbits) % 8) in gpmi_ecc_write_page_raw()
1936 eccbits += 8 - ((oob_bit_off + eccbits) % 8); in gpmi_ecc_write_page_raw()
1940 oob_bit_off, eccbits); in gpmi_ecc_write_page_raw()
1942 dst_bit_off += eccbits; in gpmi_ecc_write_page_raw()
1943 oob_bit_off += eccbits; in gpmi_ecc_write_page_raw()