Searched refs:eccstrength (Results 1 – 2 of 2) sorted by relevance
129 unsigned int eccstrength = nand->ecc.strength; in nand_bch_init() local131 if (!eccbytes && eccstrength) { in nand_bch_init()132 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init()207 if (!eccstrength) in nand_bch_init()
283 int i, max_eccbytes, eccbytes = 0, eccstrength = 0; in atmel_pmecc_prepare_user_req() local326 eccstrength = strength; in atmel_pmecc_prepare_user_req()333 if (!eccstrength) in atmel_pmecc_prepare_user_req()337 req->ecc.strength = eccstrength; in atmel_pmecc_prepare_user_req()