Searched refs:ecc10 (Results 1 - 1 of 1) sorted by relevance

/drivers/mtd/nand/
H A Ddavinci_nand.c310 unsigned short ecc10[8]; local
332 ecc10[0] = (ecc16[0] >> 0) & 0x3ff;
333 ecc10[1] = ((ecc16[0] >> 10) & 0x3f) | ((ecc16[1] << 6) & 0x3c0);
334 ecc10[2] = (ecc16[1] >> 4) & 0x3ff;
335 ecc10[3] = ((ecc16[1] >> 14) & 0x3) | ((ecc16[2] << 2) & 0x3fc);
336 ecc10[4] = (ecc16[2] >> 8) | ((ecc16[3] << 8) & 0x300);
337 ecc10[5] = (ecc16[3] >> 2) & 0x3ff;
338 ecc10[6] = ((ecc16[3] >> 12) & 0xf) | ((ecc16[4] << 4) & 0x3f0);
339 ecc10[7] = (ecc16[4] >> 6) & 0x3ff;
343 davinci_nand_writel(info, NAND_4BIT_ECC_LOAD_OFFSET, ecc10[
[all...]

Completed in 27 milliseconds