Home
last modified time | relevance | path

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

/lib/
Dbch.c116 uint32_t *ecc) in encode_bch_unaligned() argument
123 p = bch->mod8_tab + (l+1)*(((ecc[0] >> 24)^(*data++)) & 0xff); in encode_bch_unaligned()
126 ecc[i] = ((ecc[i] << 8)|(ecc[i+1] >> 24))^(*p++); in encode_bch_unaligned()
128 ecc[l] = (ecc[l] << 8)^(*p); in encode_bch_unaligned()
185 unsigned int len, uint8_t *ecc) in encode_bch() argument
197 if (ecc) { in encode_bch()
199 load_ecc8(bch, bch->ecc_buf, ecc); in encode_bch()
251 if (ecc) in encode_bch()
252 store_ecc8(bch, ecc, bch->ecc_buf); in encode_bch()
337 static void compute_syndromes(struct bch_control *bch, uint32_t *ecc, in compute_syndromes() argument
[all …]