Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/
H A Decc.c433 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()
H A Decc-realtek.c320 if (nand->ecc.user_conf.algo != NAND_ECC_ALGO_BCH || in rtl_ecc_check_support()
321 nand->ecc.user_conf.strength != RTL_ECC_ALLOWED_STRENGTH || in rtl_ecc_check_support()
322 nand->ecc.user_conf.placement != NAND_ECC_PLACEMENT_OOB || in rtl_ecc_check_support()
323 nand->ecc.user_conf.step_size != RTL_ECC_BLOCK_SIZE) { in rtl_ecc_check_support()
337 int strength = nand->ecc.user_conf.strength; in rtl_ecc_init_ctx()
H 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()
H A Dcore.c354 engine_type = nand->ecc.user_conf.engine_type; in nanddev_get_ecc_engine()
H A Decc-sw-hamming.c492 conf->step_size = nand->ecc.user_conf.step_size; in nand_ecc_sw_hamming_init_ctx()
H A Decc-mxic.c224 struct nand_ecc_props *user = &nand->ecc.user_conf; in mxic_ecc_init_ctx()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c5394 struct nand_ecc_props *user_conf = &chip->base.ecc.user_conf; in of_get_nand_ecc_legacy_user_config() local
5396 if (user_conf->engine_type == NAND_ECC_ENGINE_TYPE_INVALID) in of_get_nand_ecc_legacy_user_config()
5397 user_conf->engine_type = of_get_rawnand_ecc_engine_type_legacy(dn); in of_get_nand_ecc_legacy_user_config()
5399 if (user_conf->algo == NAND_ECC_ALGO_UNKNOWN) in of_get_nand_ecc_legacy_user_config()
5400 user_conf->algo = of_get_rawnand_ecc_algo_legacy(dn); in of_get_nand_ecc_legacy_user_config()
5402 if (user_conf->placement == NAND_ECC_PLACEMENT_UNKNOWN) in of_get_nand_ecc_legacy_user_config()
5403 user_conf->placement = of_get_rawnand_ecc_placement_legacy(dn); in of_get_nand_ecc_legacy_user_config()
5527 if (nand->ecc.user_conf.engine_type != NAND_ECC_ENGINE_TYPE_INVALID) in rawnand_dt_init()
5528 chip->ecc.engine_type = nand->ecc.user_conf.engine_type; in rawnand_dt_init()
5532 chip->ecc.placement = nand->ecc.user_conf.placement; in rawnand_dt_init()
[all …]
H A Ddenali_pci.c102 dchip->chip.base.ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH; in denali_pci_probe()
H A Dtegra_nand.c849 bool maximize = base->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH; in tegra_nand_get_strength()
H A Dsunxi_nand.c1802 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) { in sunxi_nand_hw_ecc_ctrl_init()
/linux/drivers/spi/
H A Dspi-amlogic-spifc-a4.c956 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()
H A Dspi-mtk-snfi.c665 struct nand_ecc_props *user = &nand->ecc.user_conf; in mtk_snand_ecc_init_ctx()
H A Dspi-qpic-snand.c252 struct nand_ecc_props *user = &nand->ecc.user_conf; in qcom_spi_ecc_init_ctx_pipelined()
/linux/include/linux/mtd/
H A Dnand.h395 struct nand_ecc_props user_conf; member
/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1140 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in atmel_nand_pmecc_init()