Home
last modified time | relevance | path

Searched refs:ecc_chunk_size (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Dmxs_nand.c117 uint32_t chunk_data_size_in_bits = geo->ecc_chunk_size * 8; in mxs_nand_calc_mark_offset()
182 geo->ecc_chunk_size = ecc_step; in mxs_nand_calc_ecc_layout_by_info()
186 if (geo->ecc_chunk_size < mtd->oobsize) in mxs_nand_calc_ecc_layout_by_info()
192 geo->ecc_chunk_count = mtd->writesize / geo->ecc_chunk_size; in mxs_nand_calc_ecc_layout_by_info()
207 geo->ecc_chunk_size = 512; in mxs_nand_calc_ecc_layout()
209 if (geo->ecc_chunk_size < mtd->oobsize) { in mxs_nand_calc_ecc_layout()
211 geo->ecc_chunk_size *= 2; in mxs_nand_calc_ecc_layout()
214 if (mtd->oobsize > geo->ecc_chunk_size) { in mxs_nand_calc_ecc_layout()
216 geo->ecc_chunk_size); in mxs_nand_calc_ecc_layout()
220 geo->ecc_chunk_count = mtd->writesize / geo->ecc_chunk_size; in mxs_nand_calc_ecc_layout()
[all …]
Dmxs_nand.h31 unsigned int ecc_chunk_size; member