Searched refs:ecc_bit (Results 1 – 4 of 4) sorted by relevance
755 u8 ecc_bit[24]; in omap_compare_ecc() local802 ecc_bit[i] = tmp2_bit[i + 2] ^ comp2_bit[i + 2]; in omap_compare_ecc()805 ecc_bit[i + 6] = tmp0_bit[i] ^ comp0_bit[i]; in omap_compare_ecc()808 ecc_bit[i + 14] = tmp1_bit[i] ^ comp1_bit[i]; in omap_compare_ecc()810 ecc_bit[22] = tmp2_bit[0] ^ comp2_bit[0]; in omap_compare_ecc()811 ecc_bit[23] = tmp2_bit[1] ^ comp2_bit[1]; in omap_compare_ecc()814 ecc_sum += ecc_bit[i]; in omap_compare_ecc()835 find_byte = (ecc_bit[23] << 8) + in omap_compare_ecc()836 (ecc_bit[21] << 7) + in omap_compare_ecc()837 (ecc_bit[19] << 6) + in omap_compare_ecc()[all …]
168 u32 ecc_bit, dec_sz, enc_sz; in mtk_ecc_config() local182 ecc_bit = i; in mtk_ecc_config()188 reg = ecc_bit | (config->mode << ecc->caps->ecc_mode_shift); in mtk_ecc_config()201 reg = ecc_bit | (config->mode << ecc->caps->ecc_mode_shift); in mtk_ecc_config()
1085 unsigned int ecc_word, ecc_bit; in atmel_nand_correct() local1095 ecc_bit = ecc_readl(CONFIG_SYS_NAND_ECC_BASE, PR) & ATMEL_ECC_BITADDR; in atmel_nand_correct()1104 if ((ecc_bit == ATMEL_ECC_BITADDR) in atmel_nand_correct()1130 ecc_word, ecc_bit); in atmel_nand_correct()1134 ((unsigned short *) dat)[ecc_word] ^= (1 << ecc_bit); in atmel_nand_correct()1137 dat[ecc_word] ^= (1 << ecc_bit); in atmel_nand_correct()
246 u8 ecc_bit, ecc_byte; in xd_read_cis() local249 &ecc_bit); in xd_read_cis()258 ecc_bit, ecc_byte); in xd_read_cis()262 buf[ecc_byte] ^= (1 << ecc_bit); in xd_read_cis()274 u8 ecc_bit, ecc_byte; in xd_read_cis() local277 &ecc_bit); in xd_read_cis()286 ecc_bit, ecc_byte); in xd_read_cis()290 buf[ecc_byte] ^= (1 << ecc_bit); in xd_read_cis()