Searched refs:ecc_buf (Results 1 – 4 of 4) sorted by relevance
/u-boot/include/linux/ |
A D | bch.h | 47 uint32_t *ecc_buf; member
|
/u-boot/lib/ |
A D | bch.c | 249 load_ecc8(bch, bch->ecc_buf, ecc); in encode_bch() 251 memset(bch->ecc_buf, 0, sizeof(r)); in encode_bch() 268 memcpy(r, bch->ecc_buf, sizeof(r)); in encode_bch() 294 memcpy(bch->ecc_buf, r, sizeof(r)); in encode_bch() 302 store_ecc8(bch, ecc, bch->ecc_buf); in encode_bch() 1057 load_ecc8(bch, bch->ecc_buf, calc_ecc); in decode_bch() 1064 bch->ecc_buf[i] ^= bch->ecc_buf2[i]; in decode_bch() 1065 sum |= bch->ecc_buf[i]; in decode_bch() 1071 compute_syndromes(bch, bch->ecc_buf, bch->syn); in decode_bch() 1350 bch->ecc_buf = bch_alloc(words*sizeof(*bch->ecc_buf), &err); in init_bch() [all …]
|
/u-boot/drivers/mtd/nand/raw/ |
A D | omap_gpmc.c | 101 static uint32_t gen_true_ecc(uint8_t *ecc_buf) in gen_true_ecc() argument 103 return ecc_buf[0] | (ecc_buf[1] << 16) | ((ecc_buf[2] & 0xF0) << 20) | in gen_true_ecc() 104 ((ecc_buf[2] & 0x0F) << 8); in gen_true_ecc()
|
/u-boot/arch/arm/mach-imx/ |
A D | cmd_nandbcb.c | 342 u8 *ecc_buf = kzalloc(ecc_buf_size, GFP_KERNEL); in encode_bch_ecc() local 356 memset(ecc_buf, 0, ecc_buf_size); in encode_bch_ecc() 371 encode_bch(bch, psrc, blocksize, ecc_buf); in encode_bch_ecc() 375 ecc_buf[j] = reverse_bit(ecc_buf[j]); in encode_bch_ecc() 378 memcpy(pdst + blocksize, ecc_buf, ecc_buf_size); in encode_bch_ecc() 381 kfree(ecc_buf); in encode_bch_ecc()
|
Completed in 11 milliseconds