Searched refs:oob_step_sz (Results 1 – 1 of 1) sorted by relevance
100 unsigned int oob_step_sz; member143 oobregion->offset = (section * ctx->oob_step_sz) + ctx->meta_sz; in mxic_ecc_ooblayout_ecc()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()503 src + (step * (ctx->oob_step_sz + STAT_BYTES)), in mxic_ecc_reconstruct_oobbuf()[all …]