Searched refs:engine_conf (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/mtd/nand/
H A Decc-sw-bch.c26 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; local
29 memset(code, 0, engine_conf->code_size);
30 bch_encode(engine_conf->bch, buf, nand->ecc.ctx.conf.step_size, code);
33 for (i = 0; i < engine_conf->code_size; i++)
34 code[i] ^= engine_conf->eccmask[i];
52 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; local
54 unsigned int *errloc = engine_conf->errloc;
57 count = bch_decode(engine_conf->bch, NULL, step_size, read_ecc,
84 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; local
86 bch_free(engine_conf
110 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; local
174 struct nand_ecc_sw_bch_conf *engine_conf; local
279 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; local
294 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; local
331 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; local
[all...]
H A Decc-sw-hamming.c365 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx.priv; local
367 bool sm_order = engine_conf ? engine_conf->sm_order : false;
458 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx.priv; local
460 bool sm_order = engine_conf ? engine_conf->sm_order : false;
470 struct nand_ecc_sw_hamming_conf *engine_conf; local
499 engine_conf = kzalloc(sizeof(*engine_conf), GFP_KERNEL);
500 if (!engine_conf)
534 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx.priv; local
548 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx.priv; local
585 struct nand_ecc_sw_hamming_conf *engine_conf = nand->ecc.ctx.priv; local
[all...]
/linux-master/drivers/mtd/nand/spi/
H A Dcore.c260 struct spinand_ondie_ecc_conf *engine_conf; local
266 engine_conf = kzalloc(sizeof(*engine_conf), GFP_KERNEL);
267 if (!engine_conf)
270 nand->ecc.ctx.priv = engine_conf;
300 struct spinand_ondie_ecc_conf *engine_conf = nand->ecc.ctx.priv; local
313 ret = spinand_check_ecc_status(spinand, engine_conf->status);
335 struct spinand_ondie_ecc_conf *engine_conf = nand->ecc.ctx.priv; local
338 engine_conf)
339 engine_conf
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c5757 struct nand_ecc_sw_hamming_conf *engine_conf; local
5770 engine_conf = base->ecc.ctx.priv;
5773 engine_conf->sm_order = true;

Completed in 214 milliseconds