Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_bch.c114 unsigned int eccstrength = nand->ecc.strength; in nand_bch_init() local
116 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()
Dstm32_fmc2_nand.c727 int eccstrength = chip->ecc.strength; in stm32_fmc2_read_page() local
760 eccstrength); in stm32_fmc2_read_page()
1086 int eccstrength = chip->ecc.strength; in stm32_fmc2_sequencer_correct() local
1095 if (eccstrength == FMC2_ECC_HAM) { in stm32_fmc2_sequencer_correct()
1124 eccstrength); in stm32_fmc2_sequencer_correct()
/Linux-v5.4/drivers/mtd/nand/raw/atmel/
Dpmecc.c280 int i, max_eccbytes, eccbytes = 0, eccstrength = 0; in atmel_pmecc_prepare_user_req() local
323 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()