Searched refs:ecc (Results 1 – 1 of 1) sorted by relevance
122 uint32_t *ecc) in encode_bch_unaligned() argument129 p = bch->mod8_tab + (l+1)*(((ecc[0] >> 24)^(*data++)) & 0xff); in encode_bch_unaligned()132 ecc[i] = ((ecc[i] << 8)|(ecc[i+1] >> 24))^(*p++); in encode_bch_unaligned()134 ecc[l] = (ecc[l] << 8)^(*p); in encode_bch_unaligned()191 unsigned int len, uint8_t *ecc) in encode_bch() argument207 if (ecc) { in encode_bch()209 load_ecc8(bch, bch->ecc_buf, ecc); in encode_bch()261 if (ecc) in encode_bch()262 store_ecc8(bch, ecc, bch->ecc_buf); in encode_bch()347 static void compute_syndromes(struct bch_control *bch, uint32_t *ecc, in compute_syndromes() argument[all …]