Home
last modified time | relevance | path

Searched refs:ecc_chunk_count (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c233 geo->ecc_chunk_count, in gpmi_dump_info()
346 geo->ecc_chunk_count = mtd->writesize / geo->eccn_chunk_size; in set_geometry_by_ecc_info()
397 (geo->gf_len * geo->ecc_strength * geo->ecc_chunk_count) / 8; in set_geometry_by_ecc_info()
403 + ALIGN(geo->ecc_chunk_count, 4); in set_geometry_by_ecc_info()
410 (geo->ecc_strength * geo->gf_len * (geo->ecc_chunk_count - 1) in set_geometry_by_ecc_info()
443 / (geo->gf_len * geo->ecc_chunk_count); in get_ecc_strength()
480 geo->ecc_chunk_count = mtd->writesize / geo->eccn_chunk_size; in set_geometry_for_large_oob()
500 geo->ecc_chunk_count = (mtd->writesize / geo->eccn_chunk_size) + 1; in set_geometry_for_large_oob()
504 geo->gf_len * geo->ecc_strength * geo->ecc_chunk_count) { in set_geometry_for_large_oob()
518 (geo->gf_len * geo->ecc_strength * geo->ecc_chunk_count) / 8; in set_geometry_for_large_oob()
[all …]
H A Dgpmi-nand.h55 unsigned int ecc_chunk_count; member
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.h32 unsigned int ecc_chunk_count; member
H A Dmxs_nand.c192 geo->ecc_chunk_count = mtd->writesize / geo->ecc_chunk_size; in mxs_nand_calc_ecc_layout_by_info()
220 geo->ecc_chunk_count = mtd->writesize / geo->ecc_chunk_size; in mxs_nand_calc_ecc_layout()
231 / (geo->gf_len * geo->ecc_chunk_count); in mxs_nand_calc_ecc_layout()
661 for (i = 0; i < geo->ecc_chunk_count; i++) { in mxs_nand_ecc_read_page()
1016 tmp = (geo->ecc_chunk_count - 1) << BCH_FLASHLAYOUT0_NBLOCKS_OFFSET; in mxs_nand_setup_ecc()