Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
Dfsmc_nand.c197 u32 err_idx[8]; in fsmc_bch8_correct_data() local
238 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data()
239 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data()
240 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
241 err_idx[3] = (ecc2 >> 7) & 0x1FFF; in fsmc_bch8_correct_data()
242 err_idx[4] = (((ecc3 >> 0) & 0x1) << 12) | ((ecc2 >> 20) & 0xFFF); in fsmc_bch8_correct_data()
243 err_idx[5] = (ecc3 >> 1) & 0x1FFF; in fsmc_bch8_correct_data()
244 err_idx[6] = (ecc3 >> 14) & 0x1FFF; in fsmc_bch8_correct_data()
245 err_idx[7] = (((ecc4 >> 16) & 0xFF) << 5) | ((ecc3 >> 27) & 0x1F); in fsmc_bch8_correct_data()
249 err_idx[i] ^= 3; in fsmc_bch8_correct_data()
[all …]