Searched refs:user_conf (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/mtd/nand/
H A Decc.c433 nand->ecc.user_conf.engine_type = of_get_nand_ecc_engine_type(dn);
434 nand->ecc.user_conf.algo = of_get_nand_ecc_algo(dn);
435 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn);
439 nand->ecc.user_conf.strength = strength;
443 nand->ecc.user_conf.step_size = size;
446 nand->ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH;
596 unsigned int algo = nand->ecc.user_conf.algo;
H A Decc-sw-bch.c189 conf->step_size = nand->ecc.user_conf.step_size;
190 conf->strength = nand->ecc.user_conf.strength;
210 if (nand->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) {
H A Dcore.c223 engine_type = nand->ecc.user_conf.engine_type;
H A Decc-sw-hamming.c492 conf->step_size = nand->ecc.user_conf.step_size;
H A Decc-mxic.c224 struct nand_ecc_props *user = &nand->ecc.user_conf;
/linux-master/drivers/mtd/nand/raw/
H A Ddenali_pci.c102 dchip->chip.base.ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH;
H A Dnand_base.c5508 struct nand_ecc_props *user_conf = &chip->base.ecc.user_conf; local
5510 if (user_conf->engine_type == NAND_ECC_ENGINE_TYPE_INVALID)
5511 user_conf->engine_type = of_get_rawnand_ecc_engine_type_legacy(dn);
5513 if (user_conf->algo == NAND_ECC_ALGO_UNKNOWN)
5514 user_conf->algo = of_get_rawnand_ecc_algo_legacy(dn);
5516 if (user_conf->placement == NAND_ECC_PLACEMENT_UNKNOWN)
5517 user_conf->placement = of_get_rawnand_ecc_placement_legacy(dn);
5641 if (nand->ecc.user_conf.engine_type != NAND_ECC_ENGINE_TYPE_INVALID)
5642 chip->ecc.engine_type = nand->ecc.user_conf
[all...]
H A Dtegra_nand.c849 bool maximize = base->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH;
H A Dsunxi_nand.c1629 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) {
/linux-master/include/linux/mtd/
H A Dnand.h383 * @user_conf: User desires in terms of ECC parameters
385 * the @user_conf and the @defaults
392 struct nand_ecc_props user_conf; member in struct:nand_ecc
/linux-master/drivers/spi/
H A Dspi-mtk-snfi.c665 struct nand_ecc_props *user = &nand->ecc.user_conf;
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1140 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH)

Completed in 219 milliseconds