Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/
A Decc.c427 nand->ecc.user_conf.engine_type = of_get_nand_ecc_engine_type(dn); in of_get_nand_ecc_user_config()
428 nand->ecc.user_conf.algo = of_get_nand_ecc_algo(dn); in of_get_nand_ecc_user_config()
429 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn); in of_get_nand_ecc_user_config()
433 nand->ecc.user_conf.strength = strength; in of_get_nand_ecc_user_config()
437 nand->ecc.user_conf.step_size = size; in of_get_nand_ecc_user_config()
440 nand->ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH; in of_get_nand_ecc_user_config()
590 unsigned int algo = nand->ecc.user_conf.algo; in nand_ecc_get_sw_engine()
A Decc-sw-bch.c189 conf->step_size = nand->ecc.user_conf.step_size; in nand_ecc_sw_bch_init_ctx()
190 conf->strength = nand->ecc.user_conf.strength; in nand_ecc_sw_bch_init_ctx()
210 if (nand->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) { in nand_ecc_sw_bch_init_ctx()
A Dcore.c221 engine_type = nand->ecc.user_conf.engine_type; in nanddev_get_ecc_engine()
A Decc-sw-hamming.c492 conf->step_size = nand->ecc.user_conf.step_size; in nand_ecc_sw_hamming_init_ctx()
/linux/drivers/mtd/nand/raw/
A Dnand_base.c5195 struct nand_ecc_props *user_conf = &chip->base.ecc.user_conf; in of_get_nand_ecc_legacy_user_config() local
5200 if (user_conf->algo == NAND_ECC_ALGO_UNKNOWN) in of_get_nand_ecc_legacy_user_config()
5334 chip->ecc.algo = nand->ecc.user_conf.algo; in rawnand_dt_init()
5335 chip->ecc.strength = nand->ecc.user_conf.strength; in rawnand_dt_init()
5336 chip->ecc.size = nand->ecc.user_conf.step_size; in rawnand_dt_init()
5448 base->ecc.user_conf.algo = NAND_ECC_ALGO_HAMMING; in rawnand_sw_hamming_init()
5449 base->ecc.user_conf.strength = chip->ecc.strength; in rawnand_sw_hamming_init()
5450 base->ecc.user_conf.step_size = chip->ecc.size; in rawnand_sw_hamming_init()
5507 base->ecc.user_conf.algo = NAND_ECC_ALGO_BCH; in rawnand_sw_bch_init()
5508 base->ecc.user_conf.step_size = chip->ecc.size; in rawnand_sw_bch_init()
[all …]
A Ddenali_pci.c103 dchip->chip.base.ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH; in denali_pci_probe()
A Dtegra_nand.c846 bool maximize = base->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH; in tegra_nand_get_strength()
A Dsunxi_nand.c1640 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) { in sunxi_nand_hw_ecc_ctrl_init()
/linux/include/linux/mtd/
A Dnand.h348 struct nand_ecc_props user_conf; member
/linux/drivers/mtd/nand/raw/atmel/
A Dnand-controller.c1139 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in atmel_nand_pmecc_init()

Completed in 33 milliseconds