Lines Matching defs:steps
508 * This function performs the generic NAND bad block marking steps (i.e., bad
2674 int steps, size, ret;
2680 for (steps = chip->ecc.steps; steps > 0; steps--) {
2735 int eccsteps = chip->ecc.steps;
2751 eccsteps = chip->ecc.steps;
2894 int eccsteps = chip->ecc.steps;
2924 eccsteps = chip->ecc.steps;
2966 int eccsteps = chip->ecc.steps;
3317 for (i = 0; i < chip->ecc.steps; i++) {
3377 int ret, i, len, pos, sndcmd = 0, steps = chip->ecc.steps;
3386 pos = steps * (eccsize + chunk);
3387 steps = 0;
3395 for (i = 0; i < steps; i++) {
3647 int steps, size, ret;
3653 for (steps = chip->ecc.steps; steps > 0; steps--) {
3707 int eccsteps = chip->ecc.steps;
3736 int eccsteps = chip->ecc.steps;
3785 int ecc_steps = chip->ecc.steps;
3853 int eccsteps = chip->ecc.steps;
5277 int steps, bytes;
5281 steps = mtd->writesize / ecc->size;
5284 bytes = (mtd->oobsize - 2) / steps;
5752 * Set the number of read / write steps for one page depending on ECC
5755 ecc->steps = mtd->writesize / ecc->size;
5756 if (ecc->steps * ecc->size != mtd->writesize) {
5762 ecc->total = ecc->steps * ecc->bytes;
5788 /* Allow subpage writes up to ecc.steps. Not possible for MLC flash */
5790 switch (ecc->steps) {