Lines Matching refs:STAT_BYTES
81 #define STAT_BYTES 4 macro
310 (ctx->steps * STAT_BYTES); in mxic_ecc_init_ctx()
315 ctx->oobwithstat = kmalloc(mtd->oobsize + (ctx->steps * STAT_BYTES), in mxic_ecc_init_ctx()
489 ((STAT_BYTES + ctx->oob_step_sz) * step); in mxic_ecc_extract_status_bytes()
503 src + (step * (ctx->oob_step_sz + STAT_BYTES)), in mxic_ecc_reconstruct_oobbuf()
514 memcpy(dst + (step * (ctx->oob_step_sz + STAT_BYTES)), in mxic_ecc_add_room_in_oobbuf()
574 req->ooblen + (ctx->steps * STAT_BYTES)); in mxic_ecc_prepare_io_req_external()
585 writel(sg_dma_address(&ctx->sg[1]) + (step * (ctx->oob_step_sz + STAT_BYTES)), in mxic_ecc_prepare_io_req_external()
604 ctx->oobwithstat + (step * STAT_BYTES), in mxic_ecc_prepare_io_req_external()
632 req->ooblen + (ctx->steps * STAT_BYTES)); in mxic_ecc_finish_io_req_external()
642 writel(sg_dma_address(&ctx->sg[1]) + (step * (ctx->oob_step_sz + STAT_BYTES)), in mxic_ecc_finish_io_req_external()
686 req->ooblen + (ctx->steps * STAT_BYTES)); in mxic_ecc_prepare_io_req_pipelined()