Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c100 unsigned int oob_step_sz; member
162 oobregion->offset = section * ctx->oob_step_sz; in mxic_ecc_ooblayout_free()
304 ctx->oob_step_sz = mtd->oobsize / steps; in mxic_ecc_init_ctx()
343 if (ctx->oob_step_sz != SPARE_SZ(spare_reg)) { in mxic_ecc_init_ctx()
345 ctx->oob_step_sz, SPARE_SZ(spare_reg)); in mxic_ecc_init_ctx()
488 next_stat_pos = ctx->oob_step_sz + in mxic_ecc_extract_status_bytes()
489 ((STAT_BYTES + ctx->oob_step_sz) * step); in mxic_ecc_extract_status_bytes()
502 memcpy(dst + (step * ctx->oob_step_sz), in mxic_ecc_reconstruct_oobbuf()
504 ctx->oob_step_sz); in mxic_ecc_reconstruct_oobbuf()
515 src + (step * ctx->oob_step_sz), in mxic_ecc_add_room_in_oobbuf()
[all …]