Searched refs:user_conf (Results 1 – 7 of 7) sorted by relevance
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()
492 conf->step_size = nand->ecc.user_conf.step_size; in nand_ecc_sw_hamming_init_ctx()
5395 struct nand_ecc_props *user_conf = &chip->base.ecc.user_conf; in of_get_nand_ecc_legacy_user_config() local5397 if (user_conf->engine_type == NAND_ECC_ENGINE_TYPE_INVALID) in of_get_nand_ecc_legacy_user_config()5398 user_conf->engine_type = of_get_rawnand_ecc_engine_type_legacy(dn); in of_get_nand_ecc_legacy_user_config()5400 if (user_conf->algo == NAND_ECC_ALGO_UNKNOWN) in of_get_nand_ecc_legacy_user_config()5401 user_conf->algo = of_get_rawnand_ecc_algo_legacy(dn); in of_get_nand_ecc_legacy_user_config()5403 if (user_conf->placement == NAND_ECC_PLACEMENT_UNKNOWN) in of_get_nand_ecc_legacy_user_config()5404 user_conf->placement = of_get_rawnand_ecc_placement_legacy(dn); in of_get_nand_ecc_legacy_user_config()5528 if (nand->ecc.user_conf.engine_type != NAND_ECC_ENGINE_TYPE_INVALID) in rawnand_dt_init()5529 chip->ecc.engine_type = nand->ecc.user_conf.engine_type; in rawnand_dt_init()5533 chip->ecc.placement = nand->ecc.user_conf.placement; in rawnand_dt_init()[all …]
849 bool maximize = base->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH; in tegra_nand_get_strength()
956 ecc_step_size = nand->ecc.user_conf.step_size; in aml_sfc_ecc_init_ctx()957 ecc_strength = nand->ecc.user_conf.strength; in aml_sfc_ecc_init_ctx()
665 struct nand_ecc_props *user = &nand->ecc.user_conf; in mtk_snand_ecc_init_ctx()
252 struct nand_ecc_props *user = &nand->ecc.user_conf; in qcom_spi_ecc_init_ctx_pipelined()