Lines Matching defs:step
372 /* Trigger each step manually */
484 int step;
487 for (step = 0; step < ctx->steps; step++) {
489 ((STAT_BYTES + ctx->oob_step_sz) * step);
491 ctx->status[step] = buf[next_stat_pos];
498 int step;
501 for (step = 0; step < ctx->steps; step++)
502 memcpy(dst + (step * ctx->oob_step_sz),
503 src + (step * (ctx->oob_step_sz + STAT_BYTES)),
510 int step;
513 for (step = 0; step < ctx->steps; step++)
514 memcpy(dst + (step * (ctx->oob_step_sz + STAT_BYTES)),
515 src + (step * ctx->oob_step_sz),
527 int step;
529 for (step = 0; step < ctx->steps; step++) {
530 u8 stat = ctx->status[step];
533 dev_dbg(dev, "ECC step %d: no error\n", step);
535 dev_dbg(dev, "ECC step %d: erased\n", step);
537 dev_dbg(dev, "ECC step %d: uncorrectable\n", step);
541 dev_dbg(dev, "ECC step %d: %d bits corrected\n",
542 step, stat);
558 int offset, nents, step, ret;
582 for (step = 0; step < ctx->steps; step++) {
583 writel(sg_dma_address(&ctx->sg[0]) + (step * ctx->data_step_sz),
585 writel(sg_dma_address(&ctx->sg[1]) + (step * (ctx->oob_step_sz + STAT_BYTES)),
600 for (step = 0; step < ctx->steps; step++) {
601 offset = ctx->meta_sz + (step * ctx->oob_step_sz);
604 ctx->oobwithstat + (step * STAT_BYTES),
605 step * ctx->parity_sz,
617 int nents, step, ret;
639 for (step = 0; step < ctx->steps; step++) {
640 writel(sg_dma_address(&ctx->sg[0]) + (step * ctx->data_step_sz),
642 writel(sg_dma_address(&ctx->sg[1]) + (step * (ctx->oob_step_sz + STAT_BYTES)),