Lines Matching refs:ecc_buf
199 load_ecc8(bch, bch->ecc_buf, ecc); in encode_bch()
201 memset(bch->ecc_buf, 0, sizeof(r)); in encode_bch()
208 encode_bch_unaligned(bch, data, mlen, bch->ecc_buf); in encode_bch()
218 memcpy(r, bch->ecc_buf, sizeof(r)); in encode_bch()
244 memcpy(bch->ecc_buf, r, sizeof(r)); in encode_bch()
248 encode_bch_unaligned(bch, data, len, bch->ecc_buf); in encode_bch()
252 store_ecc8(bch, ecc, bch->ecc_buf); in encode_bch()
1008 load_ecc8(bch, bch->ecc_buf, calc_ecc); in decode_bch()
1015 bch->ecc_buf[i] ^= bch->ecc_buf2[i]; in decode_bch()
1016 sum |= bch->ecc_buf[i]; in decode_bch()
1022 compute_syndromes(bch, bch->ecc_buf, bch->syn); in decode_bch()
1302 bch->ecc_buf = bch_alloc(words*sizeof(*bch->ecc_buf), &err); in init_bch()
1351 kfree(bch->ecc_buf); in free_bch()