Searched refs:ecc_step (Results 1 – 3 of 3) sorted by relevance
1374 uint16_t ecc_strength, ecc_step; in pxa3xx_nand_scan() local1438 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan()1441 ecc_step = chip->ecc_step_ds; in pxa3xx_nand_scan()1445 if (ecc_strength < 1 && ecc_step < 1) { in pxa3xx_nand_scan()1447 ecc_step = 512; in pxa3xx_nand_scan()1451 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()
3937 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local3966 ecc_step = fdtdec_get_int(blob, node, "nand-ecc-step-size", -1); in nand_dt_init()3968 if ((ecc_step >= 0 && !(ecc_strength >= 0)) || in nand_dt_init()3969 (!(ecc_step >= 0) && ecc_strength >= 0)) { in nand_dt_init()3980 if (ecc_step > 0) in nand_dt_init()3981 chip->ecc.size = ecc_step; in nand_dt_init()