Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_bch.c129 unsigned int eccstrength = nand->ecc.strength; in nand_bch_init() local
131 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()
/Linux-v4.19/drivers/mtd/nand/raw/atmel/
Dpmecc.c283 int i, max_eccbytes, eccbytes = 0, eccstrength = 0; in atmel_pmecc_prepare_user_req() local
326 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()