eccreq 1075 drivers/mtd/nand/raw/atmel/nand-controller.c else if (chip->base.eccreq.strength) eccreq 1076 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.strength = chip->base.eccreq.strength; eccreq 1082 drivers/mtd/nand/raw/atmel/nand-controller.c else if (chip->base.eccreq.step_size) eccreq 1083 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.sectorsize = chip->base.eccreq.step_size; eccreq 2263 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (chip->base.eccreq.step_size && chip->base.eccreq.strength) { eccreq 2265 drivers/mtd/nand/raw/brcmnand/brcmnand.c chip->ecc.size = chip->base.eccreq.step_size; eccreq 2266 drivers/mtd/nand/raw/brcmnand/brcmnand.c chip->ecc.strength = chip->base.eccreq.strength; eccreq 275 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->base.eccreq.strength, eccreq 276 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->base.eccreq.step_size); eccreq 520 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (!(chip->base.eccreq.strength > 0 && eccreq 521 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->base.eccreq.step_size > 0)) eccreq 525 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->base.eccreq.strength, eccreq 526 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->base.eccreq.step_size); eccreq 2251 drivers/mtd/nand/raw/marvell_nand.c if (chip->base.eccreq.step_size && chip->base.eccreq.strength) { eccreq 2252 drivers/mtd/nand/raw/marvell_nand.c ecc->size = chip->base.eccreq.step_size; eccreq 2253 drivers/mtd/nand/raw/marvell_nand.c ecc->strength = chip->base.eccreq.strength; eccreq 1237 drivers/mtd/nand/raw/mtk_nand.c nand->ecc.strength = nand->base.eccreq.strength; eccreq 1238 drivers/mtd/nand/raw/mtk_nand.c nand->ecc.size = nand->base.eccreq.step_size; eccreq 4571 drivers/mtd/nand/raw/nand_base.c chip->base.eccreq.strength = NAND_ECC_STRENGTH(type); eccreq 4572 drivers/mtd/nand/raw/nand_base.c chip->base.eccreq.step_size = NAND_ECC_STEP(type); eccreq 5252 drivers/mtd/nand/raw/nand_base.c int req_step = chip->base.eccreq.step_size; eccreq 5253 drivers/mtd/nand/raw/nand_base.c int req_strength = chip->base.eccreq.strength; eccreq 5446 drivers/mtd/nand/raw/nand_base.c if (ecc->size == 0 || chip->base.eccreq.step_size == 0) eccreq 5455 drivers/mtd/nand/raw/nand_base.c ds_corr = (mtd->writesize * chip->base.eccreq.strength) / eccreq 5456 drivers/mtd/nand/raw/nand_base.c chip->base.eccreq.step_size; eccreq 5458 drivers/mtd/nand/raw/nand_base.c return corr >= ds_corr && ecc->strength >= chip->base.eccreq.strength; eccreq 17 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.step_size = 512; eccreq 20 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.strength = 4; eccreq 23 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.strength = 2; eccreq 26 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.strength = 1; eccreq 30 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.step_size = 0; eccreq 502 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 1024; eccreq 506 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 0; eccreq 507 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 0; eccreq 510 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 4; eccreq 513 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 24; eccreq 516 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 32; eccreq 519 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 40; eccreq 522 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 50; eccreq 525 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 60; eccreq 546 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 512; eccreq 547 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 1 << ecc_level; eccreq 550 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 2048; eccreq 552 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 1024; eccreq 553 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 24; eccreq 566 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 0; eccreq 567 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 0; eccreq 569 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 512; eccreq 570 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 1 << (ecc_level - 1); eccreq 572 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.step_size = 1024; eccreq 573 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 24 + eccreq 113 drivers/mtd/nand/raw/nand_jedec.c chip->base.eccreq.strength = ecc->ecc_bits; eccreq 114 drivers/mtd/nand/raw/nand_jedec.c chip->base.eccreq.step_size = 1 << ecc->codeword_size; eccreq 385 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength != 4 && chip->base.eccreq.strength != 8) eccreq 426 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength != 4 && chip->base.eccreq.strength != 8) eccreq 483 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength == 4) { eccreq 493 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength == 4) eccreq 500 drivers/mtd/nand/raw/nand_micron.c chip->ecc.bytes = chip->base.eccreq.strength * 2; eccreq 502 drivers/mtd/nand/raw/nand_micron.c chip->ecc.strength = chip->base.eccreq.strength; eccreq 97 drivers/mtd/nand/raw/nand_onfi.c chip->base.eccreq.strength = ecc->ecc_bits; eccreq 98 drivers/mtd/nand/raw/nand_onfi.c chip->base.eccreq.step_size = 1 << ecc->codeword_size; eccreq 255 drivers/mtd/nand/raw/nand_onfi.c chip->base.eccreq.strength = p->ecc_bits; eccreq 256 drivers/mtd/nand/raw/nand_onfi.c chip->base.eccreq.step_size = 512; eccreq 74 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.step_size = 512; eccreq 75 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 1 << extid; eccreq 77 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.step_size = 1024; eccreq 80 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 24; eccreq 83 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 40; eccreq 86 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 60; eccreq 90 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.step_size = 0; eccreq 100 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.step_size = 512; eccreq 101 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 1; eccreq 124 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.step_size = 512; eccreq 127 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.strength = 1; eccreq 130 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.strength = 4; eccreq 133 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.strength = 8; eccreq 137 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.step_size = 0; eccreq 1748 drivers/mtd/nand/raw/sunxi_nand.c ecc->size = nand->base.eccreq.step_size; eccreq 1749 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength = nand->base.eccreq.strength; eccreq 856 drivers/mtd/nand/raw/tegra_nand.c if (strength_sel < chip->base.eccreq.strength) eccreq 920 drivers/mtd/nand/raw/tegra_nand.c if (chip->base.eccreq.step_size != 512) { eccreq 922 drivers/mtd/nand/raw/tegra_nand.c chip->base.eccreq.step_size); eccreq 953 drivers/mtd/nand/raw/tegra_nand.c chip->base.eccreq.strength); eccreq 420 drivers/mtd/nand/spi/core.c return nand->eccreq.strength; eccreq 860 drivers/mtd/nand/spi/core.c nand->eccreq = table[i].eccreq; eccreq 1053 drivers/mtd/nand/spi/core.c mtd->ecc_strength = nand->eccreq.strength; eccreq 1054 drivers/mtd/nand/spi/core.c mtd->ecc_step_size = nand->eccreq.step_size; eccreq 87 drivers/mtd/nand/spi/macronix.c return nand->eccreq.strength; eccreq 89 drivers/mtd/nand/spi/macronix.c if (WARN_ON(eccsr > nand->eccreq.strength || !eccsr)) eccreq 90 drivers/mtd/nand/spi/macronix.c return nand->eccreq.strength; eccreq 80 drivers/mtd/nand/spi/toshiba.c return nand->eccreq.strength; eccreq 84 drivers/mtd/nand/spi/toshiba.c if (WARN_ON(mbf > nand->eccreq.strength || !mbf)) eccreq 85 drivers/mtd/nand/spi/toshiba.c return nand->eccreq.strength; eccreq 182 include/linux/mtd/nand.h struct nand_ecc_req eccreq; eccreq 297 include/linux/mtd/spinand.h struct nand_ecc_req eccreq; eccreq 330 include/linux/mtd/spinand.h .eccreq = __eccreq, \