Searched refs:eccstrength (Results 1 – 8 of 8) sorted by relevance
114 unsigned int eccstrength = nand->ecc.strength; in nand_bch_init() local116 if (!eccbytes && eccstrength) { in nand_bch_init()117 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init()192 if (!eccstrength) in nand_bch_init()
680 int eccstrength = chip->ecc.strength; in stm32_fmc2_nfc_read_page() local713 eccstrength); in stm32_fmc2_nfc_read_page()1028 int eccstrength = chip->ecc.strength; in stm32_fmc2_nfc_seq_correct() local1037 if (eccstrength == FMC2_ECC_HAM) { in stm32_fmc2_nfc_seq_correct()1067 eccstrength); in stm32_fmc2_nfc_seq_correct()
119 unsigned int eccstrength = nand->ecc.strength; in nand_bch_init() local121 if (!eccbytes && eccstrength) { in nand_bch_init()122 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init()210 if (!eccstrength) in nand_bch_init()
400 int fsmc_nand_switch_ecc(uint32_t eccstrength) in fsmc_nand_switch_ecc() argument416 if (eccstrength == 1) { in fsmc_nand_switch_ecc()423 } else if (eccstrength == 4) { in fsmc_nand_switch_ecc()432 printf("Error: ECC strength %d not supported!\n", eccstrength); in fsmc_nand_switch_ecc()
894 int __maybe_unused omap_nand_switch_ecc(uint32_t hardware, uint32_t eccstrength) in omap_nand_switch_ecc() argument910 if (eccstrength == 1) { in omap_nand_switch_ecc()914 } else if (eccstrength == 8) { in omap_nand_switch_ecc()918 } else if (eccstrength == 16) { in omap_nand_switch_ecc()927 if (eccstrength == 1) { in omap_nand_switch_ecc()931 } else if (eccstrength == 8) { in omap_nand_switch_ecc()
534 int eccstrength = chip->ecc.strength; in stm32_fmc2_read_page() local559 eccstrength); in stm32_fmc2_read_page()
280 int i, max_eccbytes, eccbytes = 0, eccstrength = 0; in atmel_pmecc_prepare_user_req() local323 eccstrength = strength; in atmel_pmecc_prepare_user_req()330 if (!eccstrength) in atmel_pmecc_prepare_user_req()334 req->ecc.strength = eccstrength; in atmel_pmecc_prepare_user_req()
256 int fsmc_nand_switch_ecc(uint32_t eccstrength);