Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/nand/
Decc.c426 nand->ecc.user_conf.engine_type = of_get_nand_ecc_engine_type(dn); in of_get_nand_ecc_user_config()
427 nand->ecc.user_conf.algo = of_get_nand_ecc_algo(dn); in of_get_nand_ecc_user_config()
428 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn); in of_get_nand_ecc_user_config()
432 nand->ecc.user_conf.strength = strength; in of_get_nand_ecc_user_config()
436 nand->ecc.user_conf.step_size = size; in of_get_nand_ecc_user_config()
439 nand->ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH; in of_get_nand_ecc_user_config()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Ddenali_pci.c102 dchip->chip.base.ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH; in denali_pci_probe()
Dnand_base.c4960 struct nand_ecc_props *user_conf = &chip->base.ecc.user_conf; in of_get_nand_ecc_legacy_user_config() local
4962 if (user_conf->engine_type == NAND_ECC_ENGINE_TYPE_INVALID) in of_get_nand_ecc_legacy_user_config()
4963 user_conf->engine_type = of_get_rawnand_ecc_engine_type_legacy(dn); in of_get_nand_ecc_legacy_user_config()
4965 if (user_conf->algo == NAND_ECC_ALGO_UNKNOWN) in of_get_nand_ecc_legacy_user_config()
4966 user_conf->algo = of_get_rawnand_ecc_algo_legacy(dn); in of_get_nand_ecc_legacy_user_config()
4968 if (user_conf->placement == NAND_ECC_PLACEMENT_UNKNOWN) in of_get_nand_ecc_legacy_user_config()
4969 user_conf->placement = of_get_rawnand_ecc_placement_legacy(dn); in of_get_nand_ecc_legacy_user_config()
5024 if (nand->ecc.user_conf.engine_type != NAND_ECC_ENGINE_TYPE_INVALID) in rawnand_dt_init()
5025 chip->ecc.engine_type = nand->ecc.user_conf.engine_type; in rawnand_dt_init()
5029 chip->ecc.placement = nand->ecc.user_conf.placement; in rawnand_dt_init()
[all …]
Dtegra_nand.c846 bool maximize = base->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH; in tegra_nand_get_strength()
Dsunxi_nand.c1618 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) { in sunxi_nand_hw_ecc_ctrl_init()
/kernel/linux/linux-5.10/include/linux/mtd/
Dnand.h294 struct nand_ecc_props user_conf; member
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1140 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in atmel_nand_pmecc_init()