Searched refs:eccstrength (Results 1 – 4 of 4) sorted by relevance
119 unsigned int eccstrength = nand->ecc.strength; in nand_bch_init() local121 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()
399 int fsmc_nand_switch_ecc(uint32_t eccstrength) in fsmc_nand_switch_ecc() argument415 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()
893 int __maybe_unused omap_nand_switch_ecc(uint32_t hardware, uint32_t eccstrength) in omap_nand_switch_ecc() argument909 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()
255 int fsmc_nand_switch_ecc(uint32_t eccstrength);