Home
last modified time | relevance | path

Searched refs:ecc_step (Results 1 – 3 of 3) sorted by relevance

/u-boot/drivers/mtd/nand/raw/
A Dpxa3xx_nand.c1675 uint16_t ecc_strength, ecc_step; in pxa3xx_nand_scan() local
1720 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan()
1723 ecc_step = chip->ecc_step_ds; in pxa3xx_nand_scan()
1727 if (ecc_strength < 1 && ecc_step < 1) { in pxa3xx_nand_scan()
1729 ecc_step = 512; in pxa3xx_nand_scan()
1733 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
A Dmxs_nand.c151 unsigned int ecc_step) in mxs_nand_calc_ecc_layout_by_info() argument
157 switch (ecc_step) { in mxs_nand_calc_ecc_layout_by_info()
168 geo->ecc_chunk0_size = ecc_step; in mxs_nand_calc_ecc_layout_by_info()
169 geo->ecc_chunkn_size = ecc_step; in mxs_nand_calc_ecc_layout_by_info()
A Dnand_base.c4582 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local
4611 ecc_step = fdtdec_get_int(blob, node, "nand-ecc-step-size", -1); in nand_dt_init()
4613 if ((ecc_step >= 0 && !(ecc_strength >= 0)) || in nand_dt_init()
4614 (!(ecc_step >= 0) && ecc_strength >= 0)) { in nand_dt_init()
4625 if (ecc_step > 0) in nand_dt_init()
4626 chip->ecc.size = ecc_step; in nand_dt_init()

Completed in 16 milliseconds