Searched refs:gf_len (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.c114 / (geo->gf_len * geo->ecc_chunk_count); get_ecc_strength()
127 if (geo->gf_len == 14) gpmi_check_ecc()
152 geo->gf_len = 13; set_geometry_by_ecc_info()
155 geo->gf_len = 14; set_geometry_by_ecc_info()
230 (geo->gf_len * geo->ecc_strength * geo->ecc_chunk_count) / 8; set_geometry_by_ecc_info()
249 (geo->ecc_strength * geo->gf_len * (geo->ecc_chunk_count - 1) set_geometry_by_ecc_info()
273 geo->gf_len = 13; legacy_set_geometry()
279 geo->gf_len = 14; legacy_set_geometry()
359 (geo->ecc_strength * geo->gf_len * (geo->ecc_chunk_count - 1) legacy_set_geometry()
1091 ecc_parity_size = geo->gf_len * geo->ecc_strength / 8; gpmi_ecc_read_subpage()
1365 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; gpmi_ecc_read_page_raw()
1454 int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; gpmi_ecc_write_page_raw()
1871 ((bch_geo->gf_len * bch_geo->ecc_strength) % 8) == 0) { gpmi_init_last()
H A Dgpmi-nand.h36 * @gf_len: The length of Galois Field. (e.g., 13 or 14)
56 unsigned int gf_len; member in struct:bch_geometry
H A Dgpmi-lib.c235 geo->gf_len, gpmi_dump_info()
258 unsigned int gf_len; bch_set_geometry() local
269 gf_len = bch_geo->gf_len; bch_set_geometry()
291 | BF_BCH_FLASH0LAYOUT0_GF(gf_len, this) bch_set_geometry()
297 | BF_BCH_FLASH0LAYOUT1_GF(gf_len, this) bch_set_geometry()

Completed in 157 milliseconds