Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dpxa3xx_nand.c1646 uint16_t ecc_strength, ecc_step; in pxa3xx_nand_scan() local
1691 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()
H A Dmxs_nand.c166 unsigned int ecc_step) in mxs_nand_calc_ecc_layout_by_info() argument
171 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()
H A Dnand_base.c3885 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local
3914 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()
/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c308 unsigned int ecc_step) in set_geometry_by_ecc_info() argument
315 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()