Lines Matching defs:errloc
1019 * @errloc: output array of error locations
1030 * bch_decode(@bch, @data, @len, @recv_ecc, NULL, NULL, @errloc)
1033 * bch_decode(@bch, NULL, @len, @recv_ecc, @calc_ecc, NULL, @errloc)
1036 * bch_decode(@bch, NULL, @len, NULL, ecc, NULL, @errloc)
1039 * bch_decode(@bch, NULL, @len, NULL, NULL, @syn, @errloc)
1042 * locations returned in array @errloc should be interpreted as follows -
1044 * if (errloc[n] >= 8*len), then n-th error is located in ecc (no need for
1047 * if (errloc[n] < 8*len), then n-th error is located in data and can be
1048 * corrected with statement data[errloc[n]/8] ^= 1 << (errloc[n] % 8);
1055 const unsigned int *syn, unsigned int *errloc)
1095 nroots = find_poly_roots(bch, 1, bch->elp, errloc);
1103 if (errloc[i] >= nbits) {
1107 errloc[i] = nbits-1-errloc[i];
1109 errloc[i] = (errloc[i] & ~7) |
1110 (7-(errloc[i] & 7));