Home
last modified time | relevance | path

Searched refs:ecc_strengths (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c132 u8 ecc_strengths[NFC_ECC_MAX_MODES]; member
244 if (strength == nfc->cfg->ecc_strengths[i]) { in rk_nfc_hw_ecc_setup()
975 const u8 *strengths = nfc->cfg->ecc_strengths; in rk_nfc_ecc_init()
979 nfc_max_strength = nfc->cfg->ecc_strengths[0]; in rk_nfc_ecc_init()
1238 .ecc_strengths = {60, 40, 24, 16},
1275 .ecc_strengths = {16, 16, 16, 16},
1312 .ecc_strengths = {70, 60, 40, 16},
H A Dcadence-nand-controller.c483 int ecc_strengths[BCH_MAX_NUM_CORR_CAPS]; member
624 if (cdns_ctrl->ecc_strengths[i] == strength) { in cadence_nand_get_ecc_strength_idx()
1092 cdns_ctrl->ecc_strengths[0] = FIELD_GET(BCH_CFG_0_CORR_CAP_0, reg); in cadence_nand_read_bch_caps()
1093 cdns_ctrl->ecc_strengths[1] = FIELD_GET(BCH_CFG_0_CORR_CAP_1, reg); in cadence_nand_read_bch_caps()
1094 cdns_ctrl->ecc_strengths[2] = FIELD_GET(BCH_CFG_0_CORR_CAP_2, reg); in cadence_nand_read_bch_caps()
1095 cdns_ctrl->ecc_strengths[3] = FIELD_GET(BCH_CFG_0_CORR_CAP_3, reg); in cadence_nand_read_bch_caps()
1098 cdns_ctrl->ecc_strengths[4] = FIELD_GET(BCH_CFG_1_CORR_CAP_4, reg); in cadence_nand_read_bch_caps()
1099 cdns_ctrl->ecc_strengths[5] = FIELD_GET(BCH_CFG_1_CORR_CAP_5, reg); in cadence_nand_read_bch_caps()
1100 cdns_ctrl->ecc_strengths[6] = FIELD_GET(BCH_CFG_1_CORR_CAP_6, reg); in cadence_nand_read_bch_caps()
1112 if (cdns_ctrl->ecc_strengths[i] != 0) in cadence_nand_read_bch_caps()
[all …]