Searched refs:ecc_chunk_count (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()
179 geo->ecc_chunk_count = mtd->writesize / geo->ecc_chunk_size; set_geometry_by_ecc_info()
230 (geo->gf_len * geo->ecc_strength * geo->ecc_chunk_count) / 8; set_geometry_by_ecc_info()
242 + ALIGN(geo->ecc_chunk_count, 4); set_geometry_by_ecc_info()
249 (geo->ecc_strength * geo->gf_len * (geo->ecc_chunk_count - 1) set_geometry_by_ecc_info()
282 geo->ecc_chunk_count = mtd->writesize / geo->ecc_chunk_size; legacy_set_geometry()
304 status_size = ALIGN(geo->ecc_chunk_count, 4); legacy_set_geometry()
359 (geo->ecc_strength * geo->gf_len * (geo->ecc_chunk_count - 1) legacy_set_geometry()
1038 for (i = 0; i < nfc_geo->ecc_chunk_count; i++, status++) { gpmi_ecc_read_page()
1141 geo->ecc_chunk_count = n; gpmi_ecc_read_subpage()
1401 for (step = 0; step < nfc_geo->ecc_chunk_count; step++) { gpmi_ecc_read_page_raw()
1409 if (step == nfc_geo->ecc_chunk_count - 1 && gpmi_ecc_read_page_raw()
1479 for (step = 0; step < nfc_geo->ecc_chunk_count; step++) { gpmi_ecc_write_page_raw()
1486 if (step == nfc_geo->ecc_chunk_count - 1 && gpmi_ecc_write_page_raw()
H A Dgpmi-nand.h45 * @ecc_chunk_count: The number of ECC chunks in the page,
61 unsigned int ecc_chunk_count; member in struct:bch_geometry
H A Dgpmi-lib.c240 geo->ecc_chunk_count, gpmi_dump_info()
264 block_count = bch_geo->ecc_chunk_count - 1; bch_set_geometry()

Completed in 194 milliseconds