Searched refs:ecc16 (Results 1 – 2 of 2) sorted by relevance
563 unsigned short *ecc16; in nand_davinci_4bit_correct_data() local580 ecc16 = (unsigned short *)&read_ecc[0]; in nand_davinci_4bit_correct_data()589 __raw_writel(((ecc16[4]) >> 6) & 0x3FF, in nand_davinci_4bit_correct_data()593 __raw_writel((((ecc16[3]) >> 12) & 0xF) | ((((ecc16[4])) << 4) & 0x3F0), in nand_davinci_4bit_correct_data()597 __raw_writel((ecc16[3] >> 2) & 0x3FF, in nand_davinci_4bit_correct_data()601 __raw_writel(((ecc16[2]) >> 8) | ((((ecc16[3])) << 8) & 0x300), in nand_davinci_4bit_correct_data()605 __raw_writel((((ecc16[1]) >> 14) & 0x3) | ((((ecc16[2])) << 2) & 0x3FC), in nand_davinci_4bit_correct_data()609 __raw_writel(((ecc16[1]) >> 4) & 0x3FF, in nand_davinci_4bit_correct_data()613 __raw_writel((((ecc16[0]) >> 10) & 0x3F) | (((ecc16[1]) << 6) & 0x3C0), in nand_davinci_4bit_correct_data()617 __raw_writel((ecc16[0]) & 0x3FF, in nand_davinci_4bit_correct_data()
257 unsigned short *ecc16; in nand_davinci_correct_4bit() local268 ecc16 = (unsigned short *)ecc_code; in nand_davinci_correct_4bit()270 ecc10[0] = (ecc16[0] >> 0) & 0x3ff; in nand_davinci_correct_4bit()271 ecc10[1] = ((ecc16[0] >> 10) & 0x3f) | ((ecc16[1] << 6) & 0x3c0); in nand_davinci_correct_4bit()272 ecc10[2] = (ecc16[1] >> 4) & 0x3ff; in nand_davinci_correct_4bit()273 ecc10[3] = ((ecc16[1] >> 14) & 0x3) | ((ecc16[2] << 2) & 0x3fc); in nand_davinci_correct_4bit()274 ecc10[4] = (ecc16[2] >> 8) | ((ecc16[3] << 8) & 0x300); in nand_davinci_correct_4bit()275 ecc10[5] = (ecc16[3] >> 2) & 0x3ff; in nand_davinci_correct_4bit()276 ecc10[6] = ((ecc16[3] >> 12) & 0xf) | ((ecc16[4] << 4) & 0x3f0); in nand_davinci_correct_4bit()277 ecc10[7] = (ecc16[4] >> 6) & 0x3ff; in nand_davinci_correct_4bit()