ecc_bytes 261 drivers/mtd/nand/raw/marvell_nand.c int ecc_bytes; ecc_bytes 276 drivers/mtd/nand/raw/marvell_nand.c .ecc_bytes = eb, \ ecc_bytes 999 drivers/mtd/nand/raw/marvell_nand.c unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); ecc_bytes 1048 drivers/mtd/nand/raw/marvell_nand.c unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; ecc_bytes 1111 drivers/mtd/nand/raw/marvell_nand.c unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); ecc_bytes 1133 drivers/mtd/nand/raw/marvell_nand.c lt->ecc_bytes + lt->spare_bytes); ecc_bytes 1197 drivers/mtd/nand/raw/marvell_nand.c int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; ecc_bytes 1202 drivers/mtd/nand/raw/marvell_nand.c int ecc_len = lt->ecc_bytes; ecc_bytes 1231 drivers/mtd/nand/raw/marvell_nand.c (ALIGN(lt->ecc_bytes, 32) * chunk), ecc_bytes 1382 drivers/mtd/nand/raw/marvell_nand.c lt->ecc_bytes); ecc_bytes 1394 drivers/mtd/nand/raw/marvell_nand.c (chunk * (lt->ecc_bytes + 2)); ecc_bytes 1400 drivers/mtd/nand/raw/marvell_nand.c ecc_len = chunk < lt->full_chunk_cnt ? lt->ecc_bytes : ecc_bytes 1452 drivers/mtd/nand/raw/marvell_nand.c int full_chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; ecc_bytes 1455 drivers/mtd/nand/raw/marvell_nand.c int ecc_len = lt->ecc_bytes; ecc_bytes 2133 drivers/mtd/nand/raw/marvell_nand.c oobregion->length = (lt->full_chunk_cnt * lt->ecc_bytes) + ecc_bytes 201 drivers/mtd/nand/raw/meson_nand.c int ecc_bytes; ecc_bytes 206 drivers/mtd/nand/raw/meson_nand.c ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8); ecc_bytes 207 drivers/mtd/nand/raw/meson_nand.c ecc_bytes = ALIGN(ecc_bytes, 2); ecc_bytes 209 drivers/mtd/nand/raw/meson_nand.c return ecc_bytes; ecc_bytes 1162 drivers/mtd/nand/raw/mtk_nand.c u32 ecc_bytes; ecc_bytes 1164 drivers/mtd/nand/raw/mtk_nand.c ecc_bytes = DIV_ROUND_UP(nand->ecc.strength * ecc_bytes 1167 drivers/mtd/nand/raw/mtk_nand.c fdm->reg_size = chip->spare_per_sector - ecc_bytes; ecc_bytes 3785 drivers/mtd/nand/raw/nand_base.c int ecc_bytes = chip->ecc.bytes; ecc_bytes 3807 drivers/mtd/nand/raw/nand_base.c memset(ecc_calc, 0xff, ecc_bytes); ecc_bytes 3817 drivers/mtd/nand/raw/nand_base.c ecc_calc += ecc_bytes; ecc_bytes 5200 drivers/mtd/nand/raw/nand_base.c int ecc_bytes, nsteps = mtd->writesize / preset_step; ecc_bytes 5213 drivers/mtd/nand/raw/nand_base.c ecc_bytes = caps->calc_ecc_bytes(preset_step, ecc_bytes 5215 drivers/mtd/nand/raw/nand_base.c if (WARN_ON_ONCE(ecc_bytes < 0)) ecc_bytes 5216 drivers/mtd/nand/raw/nand_base.c return ecc_bytes; ecc_bytes 5218 drivers/mtd/nand/raw/nand_base.c if (ecc_bytes * nsteps > oobavail) { ecc_bytes 5224 drivers/mtd/nand/raw/nand_base.c chip->ecc.bytes = ecc_bytes; ecc_bytes 5254 drivers/mtd/nand/raw/nand_base.c int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; ecc_bytes 5286 drivers/mtd/nand/raw/nand_base.c ecc_bytes = caps->calc_ecc_bytes(step_size, strength); ecc_bytes 5287 drivers/mtd/nand/raw/nand_base.c if (WARN_ON_ONCE(ecc_bytes < 0)) ecc_bytes 5289 drivers/mtd/nand/raw/nand_base.c ecc_bytes_total = ecc_bytes * nsteps; ecc_bytes 5303 drivers/mtd/nand/raw/nand_base.c best_ecc_bytes = ecc_bytes; ecc_bytes 5333 drivers/mtd/nand/raw/nand_base.c int step_size, strength, nsteps, ecc_bytes, corr; ecc_bytes 5355 drivers/mtd/nand/raw/nand_base.c ecc_bytes = caps->calc_ecc_bytes(step_size, strength); ecc_bytes 5356 drivers/mtd/nand/raw/nand_base.c if (WARN_ON_ONCE(ecc_bytes < 0)) ecc_bytes 5359 drivers/mtd/nand/raw/nand_base.c if (ecc_bytes * nsteps > oobavail) ecc_bytes 5373 drivers/mtd/nand/raw/nand_base.c best_ecc_bytes = ecc_bytes; ecc_bytes 138 drivers/mtd/nand/raw/nand_bch.c if (nbc->bch->ecc_bytes != eccbytes) { ecc_bytes 140 drivers/mtd/nand/raw/nand_bch.c eccbytes, nbc->bch->ecc_bytes); ecc_bytes 1570 drivers/mtd/nand/raw/omap2.c int ecc_bytes = chip->ecc.bytes; ecc_bytes 1593 drivers/mtd/nand/raw/omap2.c memset(ecc_calc, 0xff, ecc_bytes); ecc_bytes 1601 drivers/mtd/nand/raw/omap2.c ecc_calc += ecc_bytes; ecc_bytes 42 include/linux/bch.h unsigned int ecc_bytes; ecc_bytes 415 include/uapi/linux/hdreg.h unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */ ecc_bytes 1314 lib/bch.c bch->ecc_bytes = DIV_ROUND_UP(m*t, 8);