Searched refs:ecc_step (Results 1 – 3 of 3) sorted by relevance
1646 uint16_t ecc_strength, ecc_step; in pxa3xx_nand_scan() local1691 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan()1694 ecc_step = chip->ecc_step_ds; in pxa3xx_nand_scan()1698 if (ecc_strength < 1 && ecc_step < 1) { in pxa3xx_nand_scan()1700 ecc_step = 512; in pxa3xx_nand_scan()1704 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
167 unsigned int ecc_step) in mxs_nand_calc_ecc_layout_by_info() argument172 switch (ecc_step) { in mxs_nand_calc_ecc_layout_by_info()183 geo->ecc_chunk_size = ecc_step; in mxs_nand_calc_ecc_layout_by_info()
4576 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local4605 ecc_step = fdtdec_get_int(blob, node, "nand-ecc-step-size", -1); in nand_dt_init()4607 if ((ecc_step >= 0 && !(ecc_strength >= 0)) || in nand_dt_init()4608 (!(ecc_step >= 0) && ecc_strength >= 0)) { in nand_dt_init()4619 if (ecc_step > 0) in nand_dt_init()4620 chip->ecc.size = ecc_step; in nand_dt_init()