Searched refs:nsteps (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/mtd/nand/
H A Decc-sw-bch.c175 unsigned int code_size = 0, nsteps; local
207 nsteps = mtd->writesize / conf->step_size;
212 nsteps = mtd->writesize / conf->step_size;
214 code_size = (mtd->oobsize - 2) / nsteps;
247 nand->ecc.ctx.nsteps = nsteps;
248 nand->ecc.ctx.total = nsteps * code_size;
256 nand->ecc.ctx.nsteps * engine_conf->code_size) {
298 int eccsteps = nand->ecc.ctx.nsteps;
336 int eccsteps = nand->ecc.ctx.nsteps;
[all...]
H A Decc-sw-hamming.c516 nand->ecc.ctx.nsteps = mtd->writesize / conf->step_size;
517 nand->ecc.ctx.total = nand->ecc.ctx.nsteps * engine_conf->code_size;
552 int eccsteps = nand->ecc.ctx.nsteps;
590 int eccsteps = nand->ecc.ctx.nsteps;
622 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in;
/linux-master/include/linux/mtd/
H A Dnand.h234 * @nsteps: number of ECC steps
241 unsigned int nsteps; member in struct:nand_ecc_context
641 return nand->ecc.ctx.nsteps;
651 return nand->ecc.ctx.total / nand->ecc.ctx.nsteps;
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c6019 int ecc_bytes, nsteps = mtd->writesize / preset_step; local
6037 if (ecc_bytes * nsteps > oobavail) {
6075 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; local
6105 nsteps = mtd->writesize / step_size;
6110 ecc_bytes_total = ecc_bytes * nsteps;
6113 strength * nsteps < req_corr)
6154 int step_size, strength, nsteps, ecc_bytes, corr; local
6174 nsteps = mtd->writesize / step_size;
6180 if (ecc_bytes * nsteps > oobavail)
6183 corr = strength * nsteps;
[all...]
H A Domap2.c1777 unsigned int nsteps = nanddev_get_ecc_nsteps(nand); local
1781 if (section >= nsteps)
1798 unsigned int nsteps = nanddev_get_ecc_nsteps(nand); local
1809 off += ((ecc_bytes + 1) * nsteps);
/linux-master/sound/pci/hda/
H A Dpatch_realtek.c6999 u8 nsteps, offs; local
7005 nsteps = ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) - 10;
7008 caps |= (nsteps << AC_AMPCAP_NUM_STEPS_SHIFT) | (offs << AC_AMPCAP_OFFSET_SHIFT);

Completed in 201 milliseconds