Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Domap2.c755 u8 ecc_bit[24]; in omap_compare_ecc() local
802 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 …]
Dmtk_ecc.c168 u32 ecc_bit, dec_sz, enc_sz; in mtk_ecc_config() local
182 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()
/kernel/linux/linux-5.10/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()