Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bch.c119 unsigned int eccstrength = nand->ecc.strength; in nand_bch_init() local
121 if (!eccbytes && eccstrength) { in nand_bch_init()
122 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init()
210 if (!eccstrength) in nand_bch_init()
H A Dfsmc_nand.c399 int fsmc_nand_switch_ecc(uint32_t eccstrength) in fsmc_nand_switch_ecc() argument
415 if (eccstrength == 1) { in fsmc_nand_switch_ecc()
422 } else if (eccstrength == 4) { in fsmc_nand_switch_ecc()
431 printf("Error: ECC strength %d not supported!\n", eccstrength); in fsmc_nand_switch_ecc()
H A Domap_gpmc.c893 int __maybe_unused omap_nand_switch_ecc(uint32_t hardware, uint32_t eccstrength) in omap_nand_switch_ecc() argument
909 if (eccstrength == 1) { in omap_nand_switch_ecc()
913 } else if (eccstrength == 8) { in omap_nand_switch_ecc()
917 } else if (eccstrength == 16) { in omap_nand_switch_ecc()
926 if (eccstrength == 1) { in omap_nand_switch_ecc()
930 } else if (eccstrength == 8) { in omap_nand_switch_ecc()
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A 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()
/openbmc/u-boot/arch/arm/include/asm/arch-spear/
H A Dspr_misc.h258 int fsmc_nand_switch_ecc(uint32_t eccstrength);
/openbmc/linux/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c684 int eccstrength = chip->ecc.strength; in stm32_fmc2_nfc_read_page() local
717 eccstrength); in stm32_fmc2_nfc_read_page()
1034 int eccstrength = chip->ecc.strength; in stm32_fmc2_nfc_seq_correct() local
1043 if (eccstrength == FMC2_ECC_HAM) { in stm32_fmc2_nfc_seq_correct()
1073 eccstrength); in stm32_fmc2_nfc_seq_correct()