Home
last modified time | relevance | path

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

/drivers/mtd/nand/raw/
Domap2.c660 u8 ecc_bit[24]; in omap_compare_ecc() local
707 ecc_bit[i] = tmp2_bit[i + 2] ^ comp2_bit[i + 2]; in omap_compare_ecc()
710 ecc_bit[i + 6] = tmp0_bit[i] ^ comp0_bit[i]; in omap_compare_ecc()
713 ecc_bit[i + 14] = tmp1_bit[i] ^ comp1_bit[i]; in omap_compare_ecc()
715 ecc_bit[22] = tmp2_bit[0] ^ comp2_bit[0]; in omap_compare_ecc()
716 ecc_bit[23] = tmp2_bit[1] ^ comp2_bit[1]; in omap_compare_ecc()
719 ecc_sum += ecc_bit[i]; in omap_compare_ecc()
740 find_byte = (ecc_bit[23] << 8) + in omap_compare_ecc()
741 (ecc_bit[21] << 7) + in omap_compare_ecc()
742 (ecc_bit[19] << 6) + in omap_compare_ecc()
[all …]
/drivers/mtd/nand/
Decc-mtk.c167 u32 ecc_bit, dec_sz, enc_sz; in mtk_ecc_config() local
181 ecc_bit = i; in mtk_ecc_config()
187 reg = ecc_bit | (config->mode << ecc->caps->ecc_mode_shift); in mtk_ecc_config()
200 reg = ecc_bit | (config->mode << ecc->caps->ecc_mode_shift); in mtk_ecc_config()
/drivers/staging/rts5208/
Dxd.c246 u8 ecc_bit, ecc_byte; in xd_read_cis() local
249 &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() local
277 &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()