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

/linux-4.4.14/drivers/mtd/nand/
H A Domap2.c762 u8 ecc_bit[24]; omap_compare_ecc() local
809 ecc_bit[i] = tmp2_bit[i + 2] ^ comp2_bit[i + 2]; omap_compare_ecc()
812 ecc_bit[i + 6] = tmp0_bit[i] ^ comp0_bit[i]; omap_compare_ecc()
815 ecc_bit[i + 14] = tmp1_bit[i] ^ comp1_bit[i]; omap_compare_ecc()
817 ecc_bit[22] = tmp2_bit[0] ^ comp2_bit[0]; omap_compare_ecc()
818 ecc_bit[23] = tmp2_bit[1] ^ comp2_bit[1]; omap_compare_ecc()
821 ecc_sum += ecc_bit[i]; omap_compare_ecc()
842 find_byte = (ecc_bit[23] << 8) + omap_compare_ecc()
843 (ecc_bit[21] << 7) + omap_compare_ecc()
844 (ecc_bit[19] << 6) + omap_compare_ecc()
845 (ecc_bit[17] << 5) + omap_compare_ecc()
846 (ecc_bit[15] << 4) + omap_compare_ecc()
847 (ecc_bit[13] << 3) + omap_compare_ecc()
848 (ecc_bit[11] << 2) + omap_compare_ecc()
849 (ecc_bit[9] << 1) + omap_compare_ecc()
850 ecc_bit[7]; omap_compare_ecc()
852 find_bit = (ecc_bit[5] << 2) + (ecc_bit[3] << 1) + ecc_bit[1]; omap_compare_ecc()
H A Datmel_nand.c1418 unsigned int ecc_word, ecc_bit; atmel_nand_correct() local
1428 ecc_bit = ecc_readl(host->ecc, PR) & ATMEL_ECC_BITADDR; atmel_nand_correct()
1437 if ((ecc_bit == ATMEL_ECC_BITADDR) atmel_nand_correct()
1463 ecc_word, ecc_bit); atmel_nand_correct()
1467 ((unsigned short *) dat)[ecc_word] ^= (1 << ecc_bit); atmel_nand_correct()
1470 dat[ecc_word] ^= (1 << ecc_bit); atmel_nand_correct()
/linux-4.4.14/drivers/staging/rts5208/
H A Dxd.c278 u8 ecc_bit, ecc_byte; xd_read_cis() local
281 &ecc_bit); xd_read_cis()
294 ecc_bit, ecc_byte); xd_read_cis() local
298 buf[ecc_byte] ^= (1 << ecc_bit); xd_read_cis()
312 u8 ecc_bit, ecc_byte; xd_read_cis() local
315 &ecc_bit); xd_read_cis()
328 ecc_bit, ecc_byte); xd_read_cis() local
332 buf[ecc_byte] ^= (1 << ecc_bit); xd_read_cis()

Completed in 156 milliseconds