Searched refs:eccstrength (Results 1 – 3 of 3) 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()191 if (!eccstrength) in nand_bch_init()
727 int eccstrength = chip->ecc.strength; in stm32_fmc2_read_page() local760 eccstrength); in stm32_fmc2_read_page()1086 int eccstrength = chip->ecc.strength; in stm32_fmc2_sequencer_correct() local1095 if (eccstrength == FMC2_ECC_HAM) { in stm32_fmc2_sequencer_correct()1124 eccstrength); in stm32_fmc2_sequencer_correct()
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()