Home
last modified time | relevance | path

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

/external/u-boot/lib/
Dbch.c239 load_ecc8(bch, bch->ecc_buf, ecc); in encode_bch()
241 memset(bch->ecc_buf, 0, sizeof(r)); in encode_bch()
248 encode_bch_unaligned(bch, data, mlen, bch->ecc_buf); in encode_bch()
258 memcpy(r, bch->ecc_buf, sizeof(r)); in encode_bch()
284 memcpy(bch->ecc_buf, r, sizeof(r)); in encode_bch()
288 encode_bch_unaligned(bch, data, len, bch->ecc_buf); in encode_bch()
292 store_ecc8(bch, ecc, bch->ecc_buf); in encode_bch()
1047 load_ecc8(bch, bch->ecc_buf, calc_ecc); in decode_bch()
1054 bch->ecc_buf[i] ^= bch->ecc_buf2[i]; in decode_bch()
1055 sum |= bch->ecc_buf[i]; in decode_bch()
[all …]
/external/u-boot/include/linux/
Dbch.h47 uint32_t *ecc_buf; member
/external/u-boot/drivers/mtd/nand/
Domap_gpmc.c100 static uint32_t gen_true_ecc(uint8_t *ecc_buf) in gen_true_ecc() argument
102 return ecc_buf[0] | (ecc_buf[1] << 16) | ((ecc_buf[2] & 0xF0) << 20) | in gen_true_ecc()
103 ((ecc_buf[2] & 0x0F) << 8); in gen_true_ecc()