Home
last modified time | relevance | path

Searched refs:STAT_BYTES (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c81 #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()
[all …]