Home
last modified time | relevance | path

Searched refs:nsteps (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/mtd/nand/
A Decc-sw-bch.c175 unsigned int code_size = 0, nsteps; in nand_ecc_sw_bch_init_ctx() local
207 nsteps = mtd->writesize / conf->step_size; in nand_ecc_sw_bch_init_ctx()
212 nsteps = mtd->writesize / conf->step_size; in nand_ecc_sw_bch_init_ctx()
214 code_size = (mtd->oobsize - 2) / nsteps; in nand_ecc_sw_bch_init_ctx()
247 nand->ecc.ctx.nsteps = nsteps; in nand_ecc_sw_bch_init_ctx()
248 nand->ecc.ctx.total = nsteps * code_size; in nand_ecc_sw_bch_init_ctx()
256 nand->ecc.ctx.nsteps * engine_conf->code_size) { in nand_ecc_sw_bch_init_ctx()
298 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_bch_prepare_io_req()
336 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_bch_finish_io_req()
368 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req()
A Decc-sw-hamming.c516 nand->ecc.ctx.nsteps = mtd->writesize / conf->step_size; in nand_ecc_sw_hamming_init_ctx()
517 nand->ecc.ctx.total = nand->ecc.ctx.nsteps * engine_conf->code_size; in nand_ecc_sw_hamming_init_ctx()
552 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_hamming_prepare_io_req()
590 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_hamming_finish_io_req()
622 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_hamming_finish_io_req()
/linux/include/linux/mtd/
A Dnand.h241 unsigned int nsteps; member
597 return nand->ecc.ctx.nsteps; in nanddev_get_ecc_nsteps()
607 return nand->ecc.ctx.total / nand->ecc.ctx.nsteps; in nanddev_get_ecc_bytes_per_step()
/linux/drivers/mtd/nand/raw/
A Dnand_base.c5705 int ecc_bytes, nsteps = mtd->writesize / preset_step; in nand_check_ecc_caps() local
5723 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps()
5761 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local
5791 nsteps = mtd->writesize / step_size; in nand_match_ecc_req()
5796 ecc_bytes_total = ecc_bytes * nsteps; in nand_match_ecc_req()
5799 strength * nsteps < req_corr) in nand_match_ecc_req()
5840 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
5860 nsteps = mtd->writesize / step_size; in nand_maximize_ecc()
5866 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc()
5869 corr = strength * nsteps; in nand_maximize_ecc()
A Domap2.c1921 unsigned int nsteps = nanddev_get_ecc_nsteps(nand); in omap_sw_ooblayout_ecc() local
1925 if (section >= nsteps) in omap_sw_ooblayout_ecc()
1942 unsigned int nsteps = nanddev_get_ecc_nsteps(nand); in omap_sw_ooblayout_free() local
1953 off += ((ecc_bytes + 1) * nsteps); in omap_sw_ooblayout_free()

Completed in 21 milliseconds