Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/raw/
Drockchip-nand-controller.c133 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()
1237 .ecc_strengths = {60, 40, 24, 16},
1274 .ecc_strengths = {16, 16, 16, 16},
1311 .ecc_strengths = {70, 60, 40, 16},
Dcadence-nand-controller.c485 int ecc_strengths[BCH_MAX_NUM_CORR_CAPS]; member
621 if (cdns_ctrl->ecc_strengths[i] == strength) { in cadence_nand_get_ecc_strength_idx()
1089 cdns_ctrl->ecc_strengths[0] = FIELD_GET(BCH_CFG_0_CORR_CAP_0, reg); in cadence_nand_read_bch_caps()
1090 cdns_ctrl->ecc_strengths[1] = FIELD_GET(BCH_CFG_0_CORR_CAP_1, reg); in cadence_nand_read_bch_caps()
1091 cdns_ctrl->ecc_strengths[2] = FIELD_GET(BCH_CFG_0_CORR_CAP_2, reg); in cadence_nand_read_bch_caps()
1092 cdns_ctrl->ecc_strengths[3] = FIELD_GET(BCH_CFG_0_CORR_CAP_3, reg); in cadence_nand_read_bch_caps()
1095 cdns_ctrl->ecc_strengths[4] = FIELD_GET(BCH_CFG_1_CORR_CAP_4, reg); in cadence_nand_read_bch_caps()
1096 cdns_ctrl->ecc_strengths[5] = FIELD_GET(BCH_CFG_1_CORR_CAP_5, reg); in cadence_nand_read_bch_caps()
1097 cdns_ctrl->ecc_strengths[6] = FIELD_GET(BCH_CFG_1_CORR_CAP_6, reg); in cadence_nand_read_bch_caps()
1098 cdns_ctrl->ecc_strengths[7] = FIELD_GET(BCH_CFG_1_CORR_CAP_7, reg); in cadence_nand_read_bch_caps()
[all …]