Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/nand/
Dnand_ecc.c165 const uint32_t eccsize_mult = eccsize >> 8; in __nand_calculate_ecc() local
195 for (i = 0; i < eccsize_mult << 2; i++) { in __nand_calculate_ecc()
258 if (eccsize_mult == 2 && (i & 0x4) == 0) in __nand_calculate_ecc()
286 if (eccsize_mult == 2) { in __nand_calculate_ecc()
347 if (eccsize_mult == 2) in __nand_calculate_ecc()
395 if (eccsize_mult == 1) in __nand_calculate_ecc()
450 const uint32_t eccsize_mult = eccsize >> 8; in __nand_correct_data() local
476 ((eccsize_mult == 1 && ((b2 ^ (b2 >> 1)) & 0x54) == 0x54) || in __nand_correct_data()
477 (eccsize_mult == 2 && ((b2 ^ (b2 >> 1)) & 0x55) == 0x55))) { in __nand_correct_data()
495 if (eccsize_mult == 1) in __nand_correct_data()