Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/nand/
Dpxa3xx_nand.c1589 uint16_t ecc_strength, ecc_step; in pxa3xx_nand_scan() local
1658 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan()
1661 ecc_step = chip->ecc_step_ds; in pxa3xx_nand_scan()
1665 if (ecc_strength < 1 && ecc_step < 1) { in pxa3xx_nand_scan()
1667 ecc_step = 512; in pxa3xx_nand_scan()
1671 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
Dnand_base.c3943 int ecc_mode, ecc_strength, ecc_step; in nand_dt_init() local
3953 ecc_step = of_get_nand_ecc_step_size(dn); in nand_dt_init()
3955 if ((ecc_step >= 0 && !(ecc_strength >= 0)) || in nand_dt_init()
3956 (!(ecc_step >= 0) && ecc_strength >= 0)) { in nand_dt_init()
3967 if (ecc_step > 0) in nand_dt_init()
3968 chip->ecc.size = ecc_step; in nand_dt_init()