Home
last modified time | relevance | path

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

/lib/
Dbch.c165 uint32_t *ecc) in bch_encode_unaligned() argument
174 p = bch->mod8_tab + (l+1)*(((ecc[0] >> 24)^(tmp)) & 0xff); in bch_encode_unaligned()
177 ecc[i] = ((ecc[i] << 8)|(ecc[i+1] >> 24))^(*p++); in bch_encode_unaligned()
179 ecc[l] = (ecc[l] << 8)^(*p); in bch_encode_unaligned()
242 unsigned int len, uint8_t *ecc) in bch_encode() argument
258 if (ecc) { in bch_encode()
260 load_ecc8(bch, bch->ecc_buf, ecc); in bch_encode()
318 if (ecc) in bch_encode()
319 store_ecc8(bch, ecc, bch->ecc_buf); in bch_encode()
404 static void compute_syndromes(struct bch_control *bch, uint32_t *ecc, in compute_syndromes() argument
[all …]