Lines Matching refs:user_conf

5408 	struct nand_ecc_props *user_conf = &chip->base.ecc.user_conf;  in of_get_nand_ecc_legacy_user_config()  local
5410 if (user_conf->engine_type == NAND_ECC_ENGINE_TYPE_INVALID) in of_get_nand_ecc_legacy_user_config()
5411 user_conf->engine_type = of_get_rawnand_ecc_engine_type_legacy(dn); in of_get_nand_ecc_legacy_user_config()
5413 if (user_conf->algo == NAND_ECC_ALGO_UNKNOWN) in of_get_nand_ecc_legacy_user_config()
5414 user_conf->algo = of_get_rawnand_ecc_algo_legacy(dn); in of_get_nand_ecc_legacy_user_config()
5416 if (user_conf->placement == NAND_ECC_PLACEMENT_UNKNOWN) in of_get_nand_ecc_legacy_user_config()
5417 user_conf->placement = of_get_rawnand_ecc_placement_legacy(dn); in of_get_nand_ecc_legacy_user_config()
5541 if (nand->ecc.user_conf.engine_type != NAND_ECC_ENGINE_TYPE_INVALID) in rawnand_dt_init()
5542 chip->ecc.engine_type = nand->ecc.user_conf.engine_type; in rawnand_dt_init()
5546 chip->ecc.placement = nand->ecc.user_conf.placement; in rawnand_dt_init()
5547 chip->ecc.algo = nand->ecc.user_conf.algo; in rawnand_dt_init()
5548 chip->ecc.strength = nand->ecc.user_conf.strength; in rawnand_dt_init()
5549 chip->ecc.size = nand->ecc.user_conf.step_size; in rawnand_dt_init()
5661 base->ecc.user_conf.engine_type = NAND_ECC_ENGINE_TYPE_SOFT; in rawnand_sw_hamming_init()
5662 base->ecc.user_conf.algo = NAND_ECC_ALGO_HAMMING; in rawnand_sw_hamming_init()
5663 base->ecc.user_conf.strength = chip->ecc.strength; in rawnand_sw_hamming_init()
5664 base->ecc.user_conf.step_size = chip->ecc.size; in rawnand_sw_hamming_init()
5720 base->ecc.user_conf.engine_type = NAND_ECC_ENGINE_TYPE_SOFT; in rawnand_sw_bch_init()
5721 base->ecc.user_conf.algo = NAND_ECC_ALGO_BCH; in rawnand_sw_bch_init()
5722 base->ecc.user_conf.step_size = chip->ecc.size; in rawnand_sw_bch_init()
5723 base->ecc.user_conf.strength = chip->ecc.strength; in rawnand_sw_bch_init()
5884 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH && in nand_set_ecc_soft_ops()
5886 nanddev->ecc.user_conf.flags &= ~NAND_ECC_MAXIMIZE_STRENGTH; in nand_set_ecc_soft_ops()
6139 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in nand_ecc_choose_conf()