Home
last modified time | relevance | path

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

/Linux-v5.10/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()
192 if (!eccstrength) in nand_bch_init()
Dstm32_fmc2_nand.c680 int eccstrength = chip->ecc.strength; in stm32_fmc2_nfc_read_page() local
713 eccstrength); in stm32_fmc2_nfc_read_page()
1028 int eccstrength = chip->ecc.strength; in stm32_fmc2_nfc_seq_correct() local
1037 if (eccstrength == FMC2_ECC_HAM) { in stm32_fmc2_nfc_seq_correct()
1067 eccstrength); in stm32_fmc2_nfc_seq_correct()
/Linux-v5.10/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()