Searched refs:ecc_bit (Results 1 – 4 of 4) sorted by relevance
144 u32 ecc_bit = ECC_CNFG_4BIT, dec_sz, enc_sz; in mtk_ecc_config() local149 ecc_bit = ECC_CNFG_4BIT; in mtk_ecc_config()152 ecc_bit = ECC_CNFG_6BIT; in mtk_ecc_config()155 ecc_bit = ECC_CNFG_8BIT; in mtk_ecc_config()158 ecc_bit = ECC_CNFG_10BIT; in mtk_ecc_config()161 ecc_bit = ECC_CNFG_12BIT; in mtk_ecc_config()164 ecc_bit = ECC_CNFG_14BIT; in mtk_ecc_config()167 ecc_bit = ECC_CNFG_16BIT; in mtk_ecc_config()170 ecc_bit = ECC_CNFG_18BIT; in mtk_ecc_config()173 ecc_bit = ECC_CNFG_20BIT; in mtk_ecc_config()[all …]
754 u8 ecc_bit[24]; in omap_compare_ecc() local801 ecc_bit[i] = tmp2_bit[i + 2] ^ comp2_bit[i + 2]; in omap_compare_ecc()804 ecc_bit[i + 6] = tmp0_bit[i] ^ comp0_bit[i]; in omap_compare_ecc()807 ecc_bit[i + 14] = tmp1_bit[i] ^ comp1_bit[i]; in omap_compare_ecc()809 ecc_bit[22] = tmp2_bit[0] ^ comp2_bit[0]; in omap_compare_ecc()810 ecc_bit[23] = tmp2_bit[1] ^ comp2_bit[1]; in omap_compare_ecc()813 ecc_sum += ecc_bit[i]; in omap_compare_ecc()834 find_byte = (ecc_bit[23] << 8) + in omap_compare_ecc()835 (ecc_bit[21] << 7) + in omap_compare_ecc()836 (ecc_bit[19] << 6) + in omap_compare_ecc()[all …]
1438 unsigned int ecc_word, ecc_bit; in atmel_nand_correct() local1448 ecc_bit = ecc_readl(host->ecc, PR) & ATMEL_ECC_BITADDR; in atmel_nand_correct()1457 if ((ecc_bit == ATMEL_ECC_BITADDR) in atmel_nand_correct()1483 ecc_word, ecc_bit); in atmel_nand_correct()1487 ((unsigned short *) dat)[ecc_word] ^= (1 << ecc_bit); in atmel_nand_correct()1490 dat[ecc_word] ^= (1 << ecc_bit); in atmel_nand_correct()
278 u8 ecc_bit, ecc_byte; in xd_read_cis() local281 &ecc_bit); in xd_read_cis()294 ecc_bit, ecc_byte); in xd_read_cis()298 buf[ecc_byte] ^= (1 << ecc_bit); in xd_read_cis()312 u8 ecc_bit, ecc_byte; in xd_read_cis() local315 &ecc_bit); in xd_read_cis()328 ecc_bit, ecc_byte); in xd_read_cis()332 buf[ecc_byte] ^= (1 << ecc_bit); in xd_read_cis()