Searched refs:user_conf (Results 1 – 12 of 12) sorted by relevance
433 nand->ecc.user_conf.engine_type = of_get_nand_ecc_engine_type(dn); in of_get_nand_ecc_user_config()434 nand->ecc.user_conf.algo = of_get_nand_ecc_algo(dn); in of_get_nand_ecc_user_config()435 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn); in of_get_nand_ecc_user_config()439 nand->ecc.user_conf.strength = strength; in of_get_nand_ecc_user_config()443 nand->ecc.user_conf.step_size = size; in of_get_nand_ecc_user_config()446 nand->ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH; in of_get_nand_ecc_user_config()596 unsigned int algo = nand->ecc.user_conf.algo; in nand_ecc_get_sw_engine()
189 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()
224 engine_type = nand->ecc.user_conf.engine_type; in nanddev_get_ecc_engine()
492 conf->step_size = nand->ecc.user_conf.step_size; in nand_ecc_sw_hamming_init_ctx()
224 struct nand_ecc_props *user = &nand->ecc.user_conf; in mxic_ecc_init_ctx()
5269 struct nand_ecc_props *user_conf = &chip->base.ecc.user_conf; in of_get_nand_ecc_legacy_user_config() local5271 if (user_conf->engine_type == NAND_ECC_ENGINE_TYPE_INVALID) in of_get_nand_ecc_legacy_user_config()5272 user_conf->engine_type = of_get_rawnand_ecc_engine_type_legacy(dn); in of_get_nand_ecc_legacy_user_config()5274 if (user_conf->algo == NAND_ECC_ALGO_UNKNOWN) in of_get_nand_ecc_legacy_user_config()5275 user_conf->algo = of_get_rawnand_ecc_algo_legacy(dn); in of_get_nand_ecc_legacy_user_config()5277 if (user_conf->placement == NAND_ECC_PLACEMENT_UNKNOWN) in of_get_nand_ecc_legacy_user_config()5278 user_conf->placement = of_get_rawnand_ecc_placement_legacy(dn); in of_get_nand_ecc_legacy_user_config()5402 if (nand->ecc.user_conf.engine_type != NAND_ECC_ENGINE_TYPE_INVALID) in rawnand_dt_init()5403 chip->ecc.engine_type = nand->ecc.user_conf.engine_type; in rawnand_dt_init()5407 chip->ecc.placement = nand->ecc.user_conf.placement; in rawnand_dt_init()[all …]
102 dchip->chip.base.ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH; in denali_pci_probe()
849 bool maximize = base->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH; in tegra_nand_get_strength()
1640 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) { in sunxi_nand_hw_ecc_ctrl_init()
392 struct nand_ecc_props user_conf; member
634 struct nand_ecc_props *user = &nand->ecc.user_conf; in mtk_snand_ecc_init_ctx()
1140 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in atmel_nand_pmecc_init()