Lines Matching refs:rows
465 static int solve_linear_system(struct bch_control *bch, unsigned int *rows, in solve_linear_system() argument
481 if (rows[r] & mask) { in solve_linear_system()
483 swap(rows[r], rows[p]); in solve_linear_system()
490 tmp = rows[p]; in solve_linear_system()
492 if (rows[r] & mask) in solve_linear_system()
493 rows[r] ^= tmp; in solve_linear_system()
505 if ((r > m-1-k) && rows[r]) in solve_linear_system()
509 rows[r] = (p && (r == param[p-1])) ? in solve_linear_system()
510 p--, 1u << (m-r) : rows[r-p]; in solve_linear_system()
521 rows[param[c]] = (rows[param[c]] & ~1)|((p >> c) & 1); in solve_linear_system()
526 mask = rows[r] & (tmp|1); in solve_linear_system()
544 unsigned int mask = 0xff, t, rows[16] = {0,}; in find_affine4_roots() local
548 rows[0] = c; in find_affine4_roots()
552 rows[i+1] = bch->a_pow_tab[4*i]^ in find_affine4_roots()
564 t = ((rows[k] >> j)^rows[k+j]) & mask; in find_affine4_roots()
565 rows[k] ^= (t << j); in find_affine4_roots()
566 rows[k+j] ^= t; in find_affine4_roots()
569 return solve_linear_system(bch, rows, roots, 4); in find_affine4_roots()