Lines Matching refs:tmp
138 u8 tmp = swap_bits(bch, *data++); in bch_encode_unaligned() local
140 p = bch->mod8_tab + (l+1)*(((ecc[0] >> 24)^(tmp)) & 0xff); in bch_encode_unaligned()
414 unsigned int i, j, tmp, l, pd = 1, d = syn[0]; in compute_error_locator_polynomial() local
434 tmp = a_log(bch, d)+n-a_log(bch, pd); in compute_error_locator_polynomial()
438 elp->c[j+k] ^= a_pow(bch, tmp+l); in compute_error_locator_polynomial()
442 tmp = pelp->deg+k; in compute_error_locator_polynomial()
443 if (tmp > elp->deg) { in compute_error_locator_polynomial()
444 elp->deg = tmp; in compute_error_locator_polynomial()
469 unsigned int tmp, mask; in solve_linear_system() local
490 tmp = rows[p]; in solve_linear_system()
493 rows[r] ^= tmp; in solve_linear_system()
524 tmp = 0; in solve_linear_system()
526 mask = rows[r] & (tmp|1); in solve_linear_system()
527 tmp |= parity(mask) << (m-r); in solve_linear_system()
529 sol[p] = tmp >> 1; in solve_linear_system()
636 unsigned int a, b, c, a2, b2, c2, e3, tmp[4]; in find_poly_deg3_roots() local
651 if (find_affine4_roots(bch, a, b, c, tmp) == 4) { in find_poly_deg3_roots()
654 if (tmp[i] != a2) in find_poly_deg3_roots()
655 roots[n++] = a_ilog(bch, tmp[i]); in find_poly_deg3_roots()