Searched refs:eccsteps (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/mtd/nand/
H A Decc-sw-bch.c298 int eccsteps = nand->ecc.ctx.nsteps; local
320 eccsteps;
321 eccsteps--, i += eccbytes, data += eccsize)
336 int eccsteps = nand->ecc.ctx.nsteps; local
364 for (i = 0; eccsteps; eccsteps--, i += eccbytes, data += eccsize)
368 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in;
369 eccsteps;
370 eccsteps--, i += eccbytes, data += eccsize) {
H A Decc-sw-hamming.c552 int eccsteps = nand->ecc.ctx.nsteps; local
574 eccsteps;
575 eccsteps--, i += eccbytes, data += eccsize)
590 int eccsteps = nand->ecc.ctx.nsteps; local
618 for (i = 0; eccsteps; eccsteps--, i += eccbytes, data += eccsize)
622 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in;
623 eccsteps;
624 eccsteps--, i += eccbytes, data += eccsize) {
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c3073 int eccsteps = chip->ecc.steps; local
3081 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize)
3089 eccsteps = chip->ecc.steps;
3092 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
3232 int eccsteps = chip->ecc.steps; local
3242 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
3262 eccsteps
3305 int eccsteps = chip->ecc.steps; local
3371 int eccsteps = chip->ecc.steps; local
4183 int eccsteps = chip->ecc.steps; local
4212 int eccsteps = chip->ecc.steps; local
4329 int eccsteps = chip->ecc.steps; local
[all...]
H A Dstm32_fmc2_nand.c700 int eccsteps = chip->ecc.steps; local
711 for (i = mtd->writesize + FMC2_BBM_LEN, s = 0; s < eccsteps;
862 int eccsteps = chip->ecc.steps; local
875 for_each_sg(nfc->dma_data_sg.sgl, sg, eccsteps, s) {
881 eccsteps, dma_data_dir);
886 eccsteps, dma_transfer_dir,
906 for_each_sg(nfc->dma_ecc_sg.sgl, sg, eccsteps, s) {
912 eccsteps, dma_data_dir);
920 eccsteps, dma_transfer_dir,
975 eccsteps, dma_data_di
1050 int eccsteps = chip->ecc.steps; local
[all...]
H A Dmtk_nand.c1127 u32 eccsteps; local
1129 eccsteps = mtd->writesize / chip->ecc.size;
1131 if (section >= eccsteps)
1145 u32 eccsteps; local
1150 eccsteps = mtd->writesize / chip->ecc.size;
1151 oob_region->offset = mtk_nand->fdm.reg_size * eccsteps;
1199 u32 eccsteps, i, closest_spare = 0; local
1201 eccsteps = mtd->writesize / nand->ecc.size;
1202 *sps = mtd->oobsize / eccsteps;
H A Dfsmc_nand.c711 int eccsteps = chip->ecc.steps; local
725 for (i = 0, s = 0; s < eccsteps; s++, i += eccbytes, p += eccsize) {
H A Dnandsim.c2215 unsigned int eccsteps, eccbytes; local
2229 eccsteps = nsmtd->writesize / 512;
2233 if (nsmtd->oobsize < 64 || !eccsteps) {
2238 if (((eccbytes * eccsteps) + 2) > nsmtd->oobsize) {
H A Domap2.c1218 int eccsteps = info->nsteps_per_eccpg; local
1254 for (i = 0; i < eccsteps ; i++) {
1316 for (i = 0; i < eccsteps; i++) {

Completed in 183 milliseconds