Searched refs:ecc_step (Results 1 – 4 of 4) 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()
166 unsigned int ecc_step) in mxs_nand_calc_ecc_layout_by_info() argument171 switch (ecc_step) { in mxs_nand_calc_ecc_layout_by_info()182 geo->ecc_chunk_size = ecc_step; in mxs_nand_calc_ecc_layout_by_info()
3885 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local3914 ecc_step = fdtdec_get_int(blob, node, "nand-ecc-step-size", -1); in nand_dt_init()3916 if ((ecc_step >= 0 && !(ecc_strength >= 0)) || in nand_dt_init()3917 (!(ecc_step >= 0) && ecc_strength >= 0)) { in nand_dt_init()3928 if (ecc_step > 0) in nand_dt_init()3929 chip->ecc.size = ecc_step; in nand_dt_init()
308 unsigned int ecc_step) in set_geometry_by_ecc_info() argument315 switch (ecc_step) { in set_geometry_by_ecc_info()329 geo->ecc0_chunk_size = ecc_step; in set_geometry_by_ecc_info()330 geo->eccn_chunk_size = ecc_step; in set_geometry_by_ecc_info()339 ecc_step, mtd->oobsize); in set_geometry_by_ecc_info()