Lines Matching defs:parity
32 * - syndrome : ECC/parity bytes
54 * and parity (either 16 bytes for BCH6 or 26 bytes for BCH12). Start and length of each must be
194 char *parity, int operation)
206 memcpy(buf_parity, parity, ctx->parity_size);
216 memcpy(parity, buf_parity, ctx->parity_size);
228 char *data, *free, *parity;
241 parity = req->oobbuf.in + ctx->steps * RTL_ECC_FREE_SIZE;
244 ret |= rtl_ecc_run_engine(ctx, data, free, parity, RTL_ECC_OP_ENCODE);
248 parity += ctx->parity_size;
262 char *data, *free, *parity;
276 parity = req->oobbuf.in + ctx->steps * RTL_ECC_FREE_SIZE;
279 int ret = rtl_ecc_run_engine(ctx, data, free, parity, RTL_ECC_OP_DECODE);
284 parity, ctx->parity_size,
297 parity += ctx->parity_size;
370 dev_dbg(dev, "using bch%d with geometry data=%dx%d, free=%dx6, parity=%dx%d",